Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/modules/5.15.0-152-generic/build/include/linux/mtd/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-only */ /* linux/include/linux/mtd/plat-ram.h * * (c) 2004 Simtec Electronics * http://www.simtec.co.uk/products/SWLINUX/ * Ben Dooks <ben@simtec.co.uk> * * Generic platform device based RAM map */ #ifndef __LINUX_MTD_PLATRAM_H #define __LINUX_MTD_PLATRAM_H __FILE__ #define PLATRAM_RO (0) #define PLATRAM_RW (1) struct platdata_mtd_ram { const char *mapname; const char * const *map_probes; const char * const *probes; struct mtd_partition *partitions; int nr_partitions; int bankwidth; /* control callbacks */ void (*set_rw)(struct device *dev, int to); }; #endif /* __LINUX_MTD_PLATRAM_H */