Searched refs:mtd_info (Results 1 - 25 of 45) sorted by relevance

12

/openwrt/target/linux/generic/files/fs/yaffs2/
H A Dyaffs_mtdif.h22 struct mtd_info * yaffs_get_mtd_device(dev_t sdev);
23 void yaffs_put_mtd_device(struct mtd_info *mtd);
24 int yaffs_verify_mtd(struct mtd_info *mtd, int yaffs_version, int inband_tags);
H A Dyaffs_mtdif.c50 struct mtd_info *mtd = yaffs_dev_to_mtd(dev);
78 struct mtd_info *mtd = yaffs_dev_to_mtd(dev);
119 struct mtd_info *mtd = yaffs_dev_to_mtd(dev);
175 struct mtd_info *mtd = yaffs_dev_to_mtd(dev);
204 struct mtd_info *mtd = yaffs_dev_to_mtd(dev);
216 struct mtd_info *mtd = yaffs_dev_to_mtd(dev);
251 struct mtd_info * yaffs_get_mtd_device(dev_t sdev)
253 struct mtd_info *mtd;
281 int yaffs_verify_mtd(struct mtd_info *mtd, int yaffs_version, int inband_tags)
306 void yaffs_put_mtd_device(struct mtd_info *mt
[all...]
H A Dyaffs_linux.h38 #define yaffs_dev_to_mtd(dev) ((struct mtd_info *)((dev)->driver_context))
/openwrt/target/linux/generic/files/drivers/mtd/mtdsplit/
H A Dmtdsplit.h30 int mtd_get_squashfs_len(struct mtd_info *master,
34 int mtd_check_rootfs_magic(struct mtd_info *mtd, size_t offset,
37 int mtd_find_rootfs_from(struct mtd_info *mtd,
44 static inline int mtd_get_squashfs_len(struct mtd_info *master,
51 static inline int mtd_check_rootfs_magic(struct mtd_info *mtd, size_t offset,
57 static inline int mtd_find_rootfs_from(struct mtd_info *mtd,
H A Dmtdsplit.c33 int mtd_get_squashfs_len(struct mtd_info *master,
70 static ssize_t mtd_next_eb(struct mtd_info *mtd, size_t offset)
75 int mtd_check_rootfs_magic(struct mtd_info *mtd, size_t offset,
108 int mtd_find_rootfs_from(struct mtd_info *mtd,
H A Dmtdsplit_squashfs.c25 mtdsplit_parse_squashfs(struct mtd_info *master,
30 struct mtd_info *parent_mtd;
H A Dmtdsplit_uimage.c57 read_uimage_header(struct mtd_info *mtd, size_t offset, u_char *buf,
83 static int __mtdsplit_parse_uimage(struct mtd_info *master,
234 mtdsplit_uimage_parse_generic(struct mtd_info *master,
289 mtdsplit_uimage_parse_netgear(struct mtd_info *master,
337 mtdsplit_uimage_parse_edimax(struct mtd_info *master,
H A Dmtdsplit_trx.c34 read_trx_header(struct mtd_info *mtd, size_t offset,
58 mtdsplit_parse_trx(struct mtd_info *master,
H A Dmtdsplit_brnimage.c29 static int mtdsplit_parse_brnimage(struct mtd_info *master,
H A Dmtdsplit_eva.c31 static int mtdsplit_parse_eva(struct mtd_info *master,
H A Dmtdsplit_seama.c32 static int mtdsplit_parse_seama(struct mtd_info *master,
/openwrt/target/linux/ar71xx/files/include/linux/platform/
H A Dar934x_nfc.h17 struct mtd_info;
36 int (*scan_fixup)(struct mtd_info *mtd);
/openwrt/package/system/mtd/src/
H A Dlinksys_bootcount.c49 struct mtd_info_user mtd_info; local
59 if (ioctl(fd, MEMGETINFO, &mtd_info) < 0) {
64 num_bc = mtd_info.size / mtd_info.writesize;
67 pread(fd, curr, sizeof(*curr), i * mtd_info.writesize);
88 erase_info.length = mtd_info.size;
100 memset(curr, 0xff, mtd_info.writesize);
106 ret = pwrite(fd, curr, mtd_info.writesize, i * mtd_info.writesize);
/openwrt/target/linux/ar71xx/files/arch/mips/ath79/
H A Ddev-nfc.h20 void ath79_nfc_set_scan_fixup(int (*f)(struct mtd_info *mtd));
28 static inline void ath79_nfc_set_scan_fixup(int (*f)(struct mtd_info *mtd)) {}
H A Ddev-m25p80.c61 static struct mtd_info *concat_devs[2] = { NULL, NULL };
66 struct mtd_info *mtd;
73 static void mtd_concat_add(struct mtd_info *mtd)
95 static void mtd_concat_remove(struct mtd_info *mtd)
/openwrt/target/linux/adm5120/files-3.18/drivers/mtd/
H A Dtrxsplit.c45 static struct mtd_info *trx_mtd;
49 static int trxsplit_refresh_partitions(struct mtd_info *mtd);
51 static int trxsplit_checktrx(struct mtd_info *mtd, unsigned long offset)
90 static void trxsplit_findtrx(struct mtd_info *mtd)
113 static void trxsplit_create_partitions(struct mtd_info *mtd)
155 static int trxsplit_refresh_partitions(struct mtd_info *mtd)
174 static void __init trxsplit_add_mtd(struct mtd_info *mtd)
186 static void __init trxsplit_remove_mtd(struct mtd_info *mtd)
/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/
H A Drb750_nand.c43 struct mtd_info mtd;
47 static inline struct rb750_nand_info *mtd_to_rbinfo(struct mtd_info *mtd)
137 static void rb750_nand_select_chip(struct mtd_info *mtd, int chip)
175 static int rb750_nand_dev_ready(struct mtd_info *mtd)
182 static void rb750_nand_cmd_ctrl(struct mtd_info *mtd, int cmd,
206 static u8 rb750_nand_read_byte(struct mtd_info *mtd)
213 static void rb750_nand_read_buf(struct mtd_info *mtd, u8 *buf, int len)
218 static void rb750_nand_write_buf(struct mtd_info *mtd, const u8 *buf, int len)
H A Drb4xx_nand.c41 struct mtd_info mtd;
74 static int rb4xx_nand_dev_ready(struct mtd_info *mtd)
89 static void rb4xx_nand_cmd_ctrl(struct mtd_info *mtd, int cmd,
105 static unsigned char rb4xx_nand_read_byte(struct mtd_info *mtd)
119 static void rb4xx_nand_write_buf(struct mtd_info *mtd, const unsigned char *buf,
129 static void rb4xx_nand_read_buf(struct mtd_info *mtd, unsigned char *buf,
H A Drb91x_nand.c42 struct mtd_info mtd;
54 static inline struct rb91x_nand_info *mtd_to_rbinfo(struct mtd_info *mtd)
192 static int rb91x_nand_dev_ready(struct mtd_info *mtd)
199 static void rb91x_nand_cmd_ctrl(struct mtd_info *mtd, int cmd,
220 static u8 rb91x_nand_read_byte(struct mtd_info *mtd)
230 static void rb91x_nand_read_buf(struct mtd_info *mtd, u8 *buf, int len)
237 static void rb91x_nand_write_buf(struct mtd_info *mtd, const u8 *buf, int len)
H A Dar934x_nfc.c190 struct mtd_info mtd;
260 ar934x_nfc *mtd_to_ar934x_nfc(struct mtd_info *mtd)
647 ar934x_nfc_cmdfunc(struct mtd_info *mtd, unsigned int command, int column,
757 ar934x_nfc_dev_ready(struct mtd_info *mtd)
765 ar934x_nfc_select_chip(struct mtd_info *mtd, int chip_no)
774 ar934x_nfc_read_byte(struct mtd_info *mtd)
792 ar934x_nfc_write_buf(struct mtd_info *mtd, const u8 *buf, int len)
813 ar934x_nfc_read_buf(struct mtd_info *mtd, u8 *buf, int len)
853 ar934x_nfc_read_oob(struct mtd_info *mtd, struct nand_chip *chip,
872 ar934x_nfc_write_oob(struct mtd_info *mt
[all...]
/openwrt/target/linux/ar71xx/files/drivers/mtd/
H A Dtplinkpart.c52 tplink_read_header(struct mtd_info *mtd, size_t offset)
90 static int tplink_check_rootfs_magic(struct mtd_info *mtd, size_t offset)
111 static int tplink_parse_partitions_offset(struct mtd_info *master,
183 static int tplink_parse_partitions(struct mtd_info *master,
191 static int tplink_parse_64k_partitions(struct mtd_info *master,
/openwrt/target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/
H A Drb-150.c54 static int rb150_nand_dev_ready(struct mtd_info *mtd)
59 static void rb150_nand_cmd_ctrl(struct mtd_info *mtd, int cmd,
H A Drb-1xx.c70 static int rb1xx_nand_fixup(struct mtd_info *mtd)
/openwrt/target/linux/oxnas/files/drivers/mtd/nand/
H A Doxnas_nand.c27 static void oxnas_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl)
/openwrt/target/linux/ar7/files/drivers/mtd/
H A Dac49xpart.c64 int detect_parttype(struct mtd_info *master, struct mtd_partition part)
125 static int create_mtd_partitions(struct mtd_info *master,

Completed in 123 milliseconds

12