Searched refs:mtd (Results 1 - 25 of 423) sorted by relevance

1234567891011>>

/linux-master/include/linux/mtd/
H A Dmtdram.h5 #include <linux/mtd/mtd.h>
6 int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
H A Dmtd.h17 #include <mtd/mtd-abi.h>
107 int (*ecc)(struct mtd_info *mtd, int section,
109 int (*free)(struct mtd_info *mtd, int section,
183 int (*get_info)(struct mtd_info *mtd, int wunit,
185 int (*get_wunit)(struct mtd_info *mtd,
205 * @size: partition size. Should be equal to mtd->size unless
286 * see Documentation/ABI/testing/sysfs-class-mtd for more detail.
316 int (*_erase) (struct mtd_info *mtd, struct erase_info *instr);
317 int (*_point) (struct mtd_info *mtd, loff_
403 mtd_get_master(struct mtd_info *mtd) argument
411 mtd_get_master_ofs(struct mtd_info *mtd, u64 ofs) argument
421 mtd_is_partition(const struct mtd_info *mtd) argument
426 mtd_has_partitions(const struct mtd_info *mtd) argument
449 mtd_set_ooblayout(struct mtd_info *mtd, const struct mtd_ooblayout_ops *ooblayout) argument
455 mtd_set_pairing_scheme(struct mtd_info *mtd, const struct mtd_pairing_scheme *pairing) argument
461 mtd_set_of_node(struct mtd_info *mtd, struct device_node *np) argument
469 mtd_get_of_node(struct mtd_info *mtd) argument
474 mtd_oobavail(struct mtd_info *mtd, struct mtd_oob_ops *ops) argument
479 mtd_max_bad_blocks(struct mtd_info *mtd, loff_t ofs, size_t len) argument
531 mtd_sync(struct mtd_info *mtd) argument
546 mtd_suspend(struct mtd_info *mtd) argument
562 mtd_resume(struct mtd_info *mtd) argument
575 mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd) argument
583 mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd) argument
599 mtd_align_erase_req(struct mtd_info *mtd, struct erase_info *req) argument
618 mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd) argument
626 mtd_mod_by_ws(uint64_t sz, struct mtd_info *mtd) argument
633 mtd_wunit_per_eb(struct mtd_info *mtd) argument
640 mtd_offset_to_wunit(struct mtd_info *mtd, loff_t offs) argument
645 mtd_wunit_to_offset(struct mtd_info *mtd, loff_t base, int wunit) argument
652 mtd_has_oob(const struct mtd_info *mtd) argument
659 mtd_type_is_nand(const struct mtd_info *mtd) argument
664 mtd_can_have_bb(const struct mtd_info *mtd) argument
[all...]
H A Dsharpsl.h11 #include <linux/mtd/rawnand.h>
12 #include <linux/mtd/partitions.h>
H A Dphysmap.h4 * drivers/mtd/maps/physmap.c mapping driver.
13 #include <linux/mtd/mtd.h>
14 #include <linux/mtd/partitions.h>
/linux-master/drivers/mtd/chips/
H A Dmap_absent.c27 #include <linux/mtd/mtd.h>
28 #include <linux/mtd/map.h>
47 struct mtd_info *mtd; local
49 mtd = kzalloc(sizeof(*mtd), GFP_KERNEL);
50 if (!mtd) {
55 mtd->priv = map;
56 mtd->name = map->name;
57 mtd
72 map_absent_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument
77 map_absent_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
82 map_absent_erase(struct mtd_info *mtd, struct erase_info *instr) argument
87 map_absent_sync(struct mtd_info *mtd) argument
92 map_absent_destroy(struct mtd_info *mtd) argument
[all...]
H A Dmap_ram.c15 #include <linux/mtd/mtd.h>
16 #include <linux/mtd/map.h>
24 static int mapram_point (struct mtd_info *mtd, loff_t from, size_t len,
26 static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
37 struct mtd_info *mtd; local
60 mtd = kzalloc(sizeof(*mtd), GFP_KERNEL);
61 if (!mtd)
65 mtd
91 mapram_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, void **virt, resource_size_t *phys) argument
105 mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) argument
110 mapram_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument
119 mapram_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
128 mapram_erase(struct mtd_info *mtd, struct erase_info *instr) argument
142 mapram_nop(struct mtd_info *mtd) argument
[all...]
H A Dmap_rom.c16 #include <linux/mtd/mtd.h>
17 #include <linux/mtd/map.h>
23 static int maprom_erase (struct mtd_info *mtd, struct erase_info *info);
24 static int maprom_point (struct mtd_info *mtd, loff_t from, size_t len,
26 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
46 struct mtd_info *mtd; local
48 mtd = kzalloc(sizeof(*mtd), GFP_KERNEL);
49 if (!mtd)
73 maprom_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, void **virt, resource_size_t *phys) argument
87 maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len) argument
92 maprom_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument
101 maprom_nop(struct mtd_info *mtd) argument
106 maprom_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
111 maprom_erase(struct mtd_info *mtd, struct erase_info *info) argument
[all...]
/linux-master/drivers/mtd/
H A Dmtdcore.h11 int __must_check add_mtd_device(struct mtd_info *mtd);
12 int del_mtd_device(struct mtd_info *mtd);
15 void release_mtd_partition(struct mtd_info *mtd);
27 #define mtd_for_each_device(mtd) \
28 for ((mtd) = __mtd_next_device(0); \
29 (mtd) != NULL; \
30 (mtd) = __mtd_next_device(mtd->index + 1))
H A Dmtdblock_ro.c10 #include <linux/mtd/mtd.h>
11 #include <linux/mtd/blktrans.h>
21 err = mtd_read(dev->mtd, (block * 512), 512, &retlen, buf);
32 if (mtd_write(dev->mtd, (block * 512), 512, &retlen, buf))
37 static void mtdblock_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) argument
44 dev->mtd = mtd;
45 dev->devnum = mtd->index;
47 dev->size = mtd
[all...]
H A Dmtdpstore.c8 #include <linux/mtd/mtd.h>
16 struct mtd_info *mtd; member in struct:mtdpstore_context
30 struct mtd_info *mtd = cxt->mtd; local
33 off = ALIGN_DOWN(off, mtd->erasesize);
34 blknum = div_u64(off, mtd->erasesize);
38 ret = mtd_block_isbad(mtd, off);
40 dev_err(&mtd->dev, "mtd_block_isbad failed, aborting\n");
52 struct mtd_info *mtd local
63 struct mtd_info *mtd = cxt->mtd; local
73 struct mtd_info *mtd = cxt->mtd; local
83 struct mtd_info *mtd = cxt->mtd; local
110 struct mtd_info *mtd = cxt->mtd; local
128 struct mtd_info *mtd = cxt->mtd; local
142 struct mtd_info *mtd = cxt->mtd; local
152 struct mtd_info *mtd = cxt->mtd; local
168 struct mtd_info *mtd = cxt->mtd; local
185 struct mtd_info *mtd = cxt->mtd; local
240 struct mtd_info *mtd = cxt->mtd; local
277 struct mtd_info *mtd = cxt->mtd; local
313 struct mtd_info *mtd = cxt->mtd; local
359 struct mtd_info *mtd = cxt->mtd; local
381 mtdpstore_notify_add(struct mtd_info *mtd) argument
447 struct mtd_info *mtd = cxt->mtd; local
499 struct mtd_info *mtd = cxt->mtd; local
520 mtdpstore_notify_remove(struct mtd_info *mtd) argument
[all...]
H A Dmtdcore.c35 #include <linux/mtd/mtd.h>
36 #include <linux/mtd/partitions.h>
46 struct mtd_info *mtd = dev_get_drvdata(dev); local
48 return mtd ? mtd_suspend(mtd) : 0;
53 struct mtd_info *mtd = dev_get_drvdata(dev); local
55 if (mtd)
56 mtd_resume(mtd);
67 .name = "mtd",
94 struct mtd_info *mtd = dev_get_drvdata(dev); local
109 struct mtd_info *mtd = container_of(kref, struct mtd_info, refcnt); local
139 struct mtd_info *mtd = dev_get_drvdata(dev); local
178 struct mtd_info *mtd = dev_get_drvdata(dev); local
187 struct mtd_info *mtd = dev_get_drvdata(dev); local
196 struct mtd_info *mtd = dev_get_drvdata(dev); local
205 struct mtd_info *mtd = dev_get_drvdata(dev); local
214 struct mtd_info *mtd = dev_get_drvdata(dev); local
224 struct mtd_info *mtd = dev_get_drvdata(dev); local
233 struct mtd_info *mtd = dev_get_drvdata(dev); local
242 struct mtd_info *mtd = dev_get_drvdata(dev); local
251 struct mtd_info *mtd = dev_get_drvdata(dev); local
260 struct mtd_info *mtd = dev_get_drvdata(dev); local
270 struct mtd_info *mtd = dev_get_drvdata(dev); local
279 struct mtd_info *mtd = dev_get_drvdata(dev); local
295 struct mtd_info *mtd = dev_get_drvdata(dev); local
305 struct mtd_info *mtd = dev_get_drvdata(dev); local
315 struct mtd_info *mtd = dev_get_drvdata(dev); local
325 struct mtd_info *mtd = dev_get_drvdata(dev); local
335 struct mtd_info *mtd = dev_get_drvdata(dev); local
362 ATTRIBUTE_GROUPS(mtd); variable
387 mtd_debugfs_populate(struct mtd_info *mtd) argument
398 mtd_mmap_capabilities(struct mtd_info *mtd) argument
417 struct mtd_info *mtd; local
451 mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit, struct mtd_pairing_info *info) argument
494 mtd_pairing_info_to_wunit(struct mtd_info *mtd, const struct mtd_pairing_info *info) argument
522 mtd_pairing_groups(struct mtd_info *mtd) argument
536 struct mtd_info *mtd = priv; local
547 mtd_nvmem_add(struct mtd_info *mtd) argument
579 mtd_check_of_node(struct mtd_info *mtd) argument
643 add_mtd_device(struct mtd_info *mtd) argument
809 del_mtd_device(struct mtd_info *mtd) argument
838 mtd_set_dev_defaults(struct mtd_info *mtd) argument
854 mtd_otp_size(struct mtd_info *mtd, bool is_user) argument
886 mtd_otp_nvmem_register(struct mtd_info *mtd, const char *compatible, int size, nvmem_reg_read_t reg_read) argument
925 struct mtd_info *mtd = priv; local
939 struct mtd_info *mtd = priv; local
950 mtd_otp_nvmem_add(struct mtd_info *mtd) argument
1046 mtd_device_parse_register(struct mtd_info *mtd, const char * const *types, struct mtd_part_parser_data *parser_data, const struct mtd_partition *parts, int nr_parts) argument
1149 struct mtd_info *mtd; local
1175 struct mtd_info *mtd; local
1201 get_mtd_device(struct mtd_info *mtd, int num) argument
1236 __get_mtd_device(struct mtd_info *mtd) argument
1273 struct mtd_info *mtd = NULL; local
1305 struct mtd_info *mtd = NULL, *other; local
1332 put_mtd_device(struct mtd_info *mtd) argument
1341 __put_mtd_device(struct mtd_info *mtd) argument
1370 mtd_erase(struct mtd_info *mtd, struct erase_info *instr) argument
1422 mtd_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, void **virt, resource_size_t *phys) argument
1444 mtd_unpoint(struct mtd_info *mtd, loff_t from, size_t len) argument
1463 mtd_get_unmapped_area(struct mtd_info *mtd, unsigned long len, unsigned long offset, unsigned long flags) argument
1481 mtd_update_ecc_stats(struct mtd_info *mtd, struct mtd_info *master, const struct mtd_ecc_stats *old_stats) argument
1500 mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument
1519 mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
1543 mtd_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
1565 mtd_check_oob_ops(struct mtd_info *mtd, loff_t offs, struct mtd_oob_ops *ops) argument
1598 mtd_read_oob_std(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) argument
1614 mtd_write_oob_std(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
1630 mtd_io_emulated_slc(struct mtd_info *mtd, loff_t start, bool read, struct mtd_oob_ops *ops) argument
1693 mtd_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) argument
1737 mtd_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
1781 mtd_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobecc) argument
1815 mtd_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobfree) argument
1849 mtd_ooblayout_find_region(struct mtd_info *mtd, int byte, int *sectionp, struct mtd_oob_region *oobregion, int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion)) argument
1895 mtd_ooblayout_find_eccregion(struct mtd_info *mtd, int eccbyte, int *section, struct mtd_oob_region *oobregion) argument
1918 mtd_ooblayout_get_bytes(struct mtd_info *mtd, u8 *buf, const u8 *oobbuf, int start, int nbytes, int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion)) argument
1961 mtd_ooblayout_set_bytes(struct mtd_info *mtd, const u8 *buf, u8 *oobbuf, int start, int nbytes, int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion)) argument
1999 mtd_ooblayout_count_bytes(struct mtd_info *mtd, int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion)) argument
2033 mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, const u8 *oobbuf, int start, int nbytes) argument
2053 mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, u8 *oobbuf, int start, int nbytes) argument
2073 mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, const u8 *oobbuf, int start, int nbytes) argument
2093 mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf, u8 *oobbuf, int start, int nbytes) argument
2109 mtd_ooblayout_count_freebytes(struct mtd_info *mtd) argument
2123 mtd_ooblayout_count_eccbytes(struct mtd_info *mtd) argument
2134 mtd_get_fact_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen, struct otp_info *buf) argument
2147 mtd_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument
2161 mtd_get_user_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen, struct otp_info *buf) argument
2174 mtd_read_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument
2188 mtd_write_user_prot_reg(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
2211 mtd_lock_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len) argument
2223 mtd_erase_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len) argument
2236 mtd_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument
2256 mtd_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument
2276 mtd_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument
2296 mtd_block_isreserved(struct mtd_info *mtd, loff_t ofs) argument
2312 mtd_block_isbad(struct mtd_info *mtd, loff_t ofs) argument
2328 mtd_block_markbad(struct mtd_info *mtd, loff_t ofs) argument
2368 default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument
2400 mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument
2441 mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size) argument
2473 struct mtd_info *mtd; local
[all...]
/linux-master/arch/arm/include/asm/
H A Dmtd-xip.h5 * Do not include this file directly. It's included from linux/mtd/xip.h
15 #include <mach/mtd-xip.h>
/linux-master/drivers/mtd/tests/
H A Dmtd_test.h2 #include <linux/mtd/mtd.h>
16 int mtdtest_erase_eraseblock(struct mtd_info *mtd, unsigned int ebnum);
17 int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
19 int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
22 int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf);
23 int mtdtest_write(struct mtd_info *mtd, loff_t addr, size_t size,
/linux-master/drivers/net/ethernet/sfc/
H A Dmtd.c9 #include <linux/mtd/mtd.h>
16 #define to_efx_mtd_partition(mtd) \
17 container_of(mtd, struct efx_mtd_partition, mtd)
21 static int efx_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) argument
23 struct efx_nic *efx = mtd->priv;
25 return efx->type->mtd_erase(mtd, erase->addr, erase->len);
28 static void efx_mtd_sync(struct mtd_info *mtd) argument
30 struct efx_mtd_partition *part = to_efx_mtd_partition(mtd);
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dmtd.c9 #include <linux/mtd/mtd.h>
16 #define to_efx_mtd_partition(mtd) \
17 container_of(mtd, struct efx_mtd_partition, mtd)
21 static int efx_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) argument
23 struct efx_nic *efx = mtd->priv;
25 return efx->type->mtd_erase(mtd, erase->addr, erase->len);
28 static void efx_mtd_sync(struct mtd_info *mtd) argument
30 struct efx_mtd_partition *part = to_efx_mtd_partition(mtd);
[all...]
/linux-master/drivers/mtd/devices/
H A Dmtdram.c2 * mtdram - a test mtd device
18 #include <linux/mtd/mtd.h>
19 #include <linux/mtd/mtdram.h>
34 // We could store these in the mtd structure, but we only support 1 device..
37 static int check_offs_len(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument
42 if (mtd_mod_by_eb(ofs, mtd)) {
48 if (mtd_mod_by_eb(len, mtd)) {
56 static int ram_erase(struct mtd_info *mtd, struct erase_info *instr) argument
58 if (check_offs_len(mtd, inst
65 ram_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, void **virt, resource_size_t *phys) argument
94 ram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) argument
99 ram_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument
107 ram_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
124 mtdram_init_device(struct mtd_info *mtd, void *mapped_address, unsigned long size, const char *name) argument
[all...]
/linux-master/include/uapi/mtd/
H A Dmtd-user.h25 #include <mtd/mtd-abi.h>
/linux-master/drivers/mtd/parsers/
H A Dofpart_bcm4908.h6 int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts);
8 static inline int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, argument
H A Dofpart_linksys_ns.h6 int linksys_ns_partitions_post_parse(struct mtd_info *mtd,
10 static inline int linksys_ns_partitions_post_parse(struct mtd_info *mtd, argument
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dmtd.c9 #include <linux/mtd/mtd.h>
16 #define to_ef4_mtd_partition(mtd) \
17 container_of(mtd, struct ef4_mtd_partition, mtd)
21 static int ef4_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) argument
23 struct ef4_nic *efx = mtd->priv;
25 return efx->type->mtd_erase(mtd, erase->addr, erase->len);
28 static void ef4_mtd_sync(struct mtd_info *mtd) argument
30 struct ef4_mtd_partition *part = to_ef4_mtd_partition(mtd);
[all...]
/linux-master/drivers/mtd/ubi/
H A Dgluebi.c15 * size (@mtd->writesize) is equivalent to the UBI minimal I/O unit. The
26 #include <linux/mtd/ubi.h>
27 #include <linux/mtd/mtd.h>
36 * @mtd: emulated MTD device description object
44 struct mtd_info mtd; member in struct:gluebi_device
78 * @mtd: the MTD device description object
84 static int gluebi_get_device(struct mtd_info *mtd) argument
89 if (mtd->flags & MTD_WRITEABLE)
92 gluebi = container_of(mtd, struc
130 gluebi_put_device(struct mtd_info *mtd) argument
153 gluebi_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, unsigned char *buf) argument
193 gluebi_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
234 gluebi_erase(struct mtd_info *mtd, struct erase_info *instr) argument
282 struct mtd_info *mtd; local
351 struct mtd_info *mtd; local
483 struct mtd_info *mtd = &gluebi->mtd; local
[all...]
/linux-master/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dbcm47xxnflash.h9 #include <linux/mtd/mtd.h>
10 #include <linux/mtd/rawnand.h>
/linux-master/include/linux/platform_data/
H A Dmtd-nand-pxa3xx.h5 #include <linux/mtd/mtd.h>
6 #include <linux/mtd/partitions.h>
/linux-master/fs/romfs/
H A Dmmap-nommu.c9 #include <linux/mtd/super.h>
25 struct mtd_info *mtd = inode->i_sb->s_mtd; local
29 if (!mtd)
44 if (len > mtd->size || pgoff >= (mtd->size >> PAGE_SHIFT))
48 if (offset >= mtd->size)
51 if ((offset + len) > mtd->size)
52 len = mtd->size - offset;
54 ret = mtd_get_unmapped_area(mtd, len, offset, flags);
71 struct mtd_info *mtd local
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dmpc5121_nfc.c21 #include <linux/mtd/mtd.h>
22 #include <linux/mtd/rawnand.h>
23 #include <linux/mtd/partitions.h>
119 static void mpc5121_nfc_done(struct mtd_info *mtd);
122 static inline u16 nfc_read(struct mtd_info *mtd, uint reg) argument
124 struct nand_chip *chip = mtd_to_nand(mtd);
131 static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val) argument
133 struct nand_chip *chip = mtd_to_nand(mtd);
140 static inline void nfc_set(struct mtd_info *mtd, uin argument
146 nfc_clear(struct mtd_info *mtd, uint reg, u16 bits) argument
152 mpc5121_nfc_send_addr(struct mtd_info *mtd, u16 addr) argument
160 mpc5121_nfc_send_cmd(struct mtd_info *mtd, u16 cmd) argument
168 mpc5121_nfc_send_prog_page(struct mtd_info *mtd) argument
176 mpc5121_nfc_send_read_page(struct mtd_info *mtd) argument
184 mpc5121_nfc_send_read_id(struct mtd_info *mtd) argument
192 mpc5121_nfc_send_read_status(struct mtd_info *mtd) argument
202 struct mtd_info *mtd = data; local
213 mpc5121_nfc_done(struct mtd_info *mtd) argument
233 mpc5121_nfc_addr_cycle(struct mtd_info *mtd, int column, int page) argument
256 struct mtd_info *mtd = nand_to_mtd(nand); local
270 ads5121_chipselect_init(struct mtd_info *mtd) argument
323 struct mtd_info *mtd = nand_to_mtd(chip); local
393 mpc5121_nfc_copy_spare(struct mtd_info *mtd, uint offset, u8 *buffer, uint size, int wr) argument
445 mpc5121_nfc_buf_copy(struct mtd_info *mtd, u_char *buf, int len, int wr) argument
514 mpc5121_nfc_read_hw_config(struct mtd_info *mtd) argument
593 mpc5121_nfc_free(struct device *dev, struct mtd_info *mtd) argument
622 struct mtd_info *mtd; local
821 struct mtd_info *mtd = dev_get_drvdata(dev); local
[all...]

Completed in 250 milliseconds

1234567891011>>