/linux-4.1.27/include/linux/mtd/ |
D | map.h | 188 } map_word; typedef 224 map_word (*read)(struct map_info *, unsigned long); 227 void (*write)(struct map_info *, const map_word, unsigned long); 274 static inline int map_word_equal(struct map_info *map, map_word val1, map_word val2) in map_word_equal() 286 static inline map_word map_word_and(struct map_info *map, map_word val1, map_word val2) in map_word_and() 288 map_word r; in map_word_and() 297 static inline map_word map_word_clr(struct map_info *map, map_word val1, map_word val2) in map_word_clr() 299 map_word r; in map_word_clr() 308 static inline map_word map_word_or(struct map_info *map, map_word val1, map_word val2) in map_word_or() 310 map_word r; in map_word_or() [all …]
|
D | cfi.h | 293 map_word sector_erase_cmd; 328 static inline map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd() 330 map_word val = { {0} }; in cfi_build_cmd() 392 static inline unsigned long cfi_merge_status(map_word val, struct map_info *map, in cfi_merge_status() 463 int type, map_word *prev_val) in cfi_send_gen_cmd() 465 map_word val; in cfi_send_gen_cmd() 479 map_word val = map_read(map, addr); in cfi_read_query() 495 map_word val = map_read(map, addr); in cfi_read_query16()
|
D | qinfo.h | 78 static inline map_word lpddr_build_cmd(u_long cmd, struct map_info *map) in lpddr_build_cmd() 80 map_word val = { {0} }; in lpddr_build_cmd()
|
D | pfow.h | 101 unsigned long len, map_word *datum) in send_pfow_command()
|
/linux-4.1.27/drivers/mtd/maps/ |
D | dc21285.c | 54 static map_word dc21285_read8(struct map_info *map, unsigned long ofs) in dc21285_read8() 56 map_word val; in dc21285_read8() 61 static map_word dc21285_read16(struct map_info *map, unsigned long ofs) in dc21285_read16() 63 map_word val; in dc21285_read16() 68 static map_word dc21285_read32(struct map_info *map, unsigned long ofs) in dc21285_read32() 70 map_word val; in dc21285_read32() 80 static void dc21285_write8(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write8() 89 static void dc21285_write16(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write16() 98 static void dc21285_write32(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write32() 108 map_word d; in dc21285_copy_to_32() [all …]
|
D | tsunami_flash.c | 17 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8() 19 map_word val; in tsunami_flash_read8() 24 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset) in tsunami_flash_write8()
|
D | pci.c | 40 static map_word mtd_pci_read8(struct map_info *_map, unsigned long ofs) in mtd_pci_read8() 43 map_word val; in mtd_pci_read8() 48 static map_word mtd_pci_read32(struct map_info *_map, unsigned long ofs) in mtd_pci_read32() 51 map_word val; in mtd_pci_read32() 62 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8() 68 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32()
|
D | pcmciamtd.c | 108 static map_word pcmcia_read8_remap(struct map_info *map, unsigned long ofs) in pcmcia_read8_remap() 111 map_word d = {{0}}; in pcmcia_read8_remap() 123 static map_word pcmcia_read16_remap(struct map_info *map, unsigned long ofs) in pcmcia_read16_remap() 126 map_word d = {{0}}; in pcmcia_read16_remap() 164 static void pcmcia_write8_remap(struct map_info *map, map_word d, unsigned long adr) in pcmcia_write8_remap() 176 static void pcmcia_write16_remap(struct map_info *map, map_word d, unsigned long adr) in pcmcia_write16_remap() 217 static map_word pcmcia_read8(struct map_info *map, unsigned long ofs) in pcmcia_read8() 220 map_word d = {{0}}; in pcmcia_read8() 232 static map_word pcmcia_read16(struct map_info *map, unsigned long ofs) in pcmcia_read16() 235 map_word d = {{0}}; in pcmcia_read16() [all …]
|
D | ixp4xx.c | 88 static map_word ixp4xx_read16(struct map_info *map, unsigned long ofs) in ixp4xx_read16() 90 map_word val; in ixp4xx_read16() 131 static void ixp4xx_probe_write16(struct map_info *map, map_word d, unsigned long adr) in ixp4xx_probe_write16() 140 static void ixp4xx_write16(struct map_info *map, map_word d, unsigned long adr) in ixp4xx_write16()
|
D | map_funcs.c | 12 static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs) in simple_map_read() 17 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write()
|
D | sbc_gxx.c | 114 static map_word sbc_gxx_read8(struct map_info *map, unsigned long ofs) in sbc_gxx_read8() 116 map_word ret; in sbc_gxx_read8() 141 static void sbc_gxx_write8(struct map_info *map, map_word d, unsigned long adr) in sbc_gxx_write8()
|
D | lantiq-flash.c | 50 static map_word 54 map_word temp; in ltq_read16() 65 ltq_write16(struct map_info *map, map_word d, unsigned long adr) in ltq_write16()
|
D | bfin-async-flash.c | 70 static map_word bfin_flash_read(struct map_info *map, unsigned long ofs) in bfin_flash_read() 74 map_word test; in bfin_flash_read() 97 static void bfin_flash_write(struct map_info *map, map_word d1, unsigned long ofs) in bfin_flash_write()
|
D | latch-addr-flash.c | 38 static map_word lf_read(struct map_info *map, unsigned long ofs) in lf_read() 41 map_word datum; in lf_read() 55 static void lf_write(struct map_info *map, map_word datum, unsigned long ofs) in lf_write()
|
D | gpio-addr-flash.c | 82 static map_word gf_read(struct map_info *map, unsigned long ofs) in gf_read() 86 map_word test; in gf_read() 131 static void gf_write(struct map_info *map, map_word d1, unsigned long ofs) in gf_write()
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
D | flash_setup.c | 30 static map_word octeon_flash_map_read(struct map_info *map, unsigned long ofs) in octeon_flash_map_read() 32 map_word r; in octeon_flash_map_read() 41 static void octeon_flash_map_write(struct map_info *map, const map_word datum, in octeon_flash_map_write()
|
/linux-4.1.27/drivers/mtd/lpddr/ |
D | lpddr2_nvm.c | 93 static inline map_word build_map_word(u_long myword) in build_map_word() 95 map_word val = { {0} }; in build_map_word() 175 map_word add_l = { {0} }, add_h = { {0} }, mpr_l = { {0} }, in lpddr2_nvm_do_op() 178 map_word data_h = { {0} }; /* only for 2x x16 devices stacked */ in lpddr2_nvm_do_op() 274 map_word pfow_val[4]; in lpddr2_nvm_pfow_present()
|
D | qinfo_probe.c | 107 map_word pfow_val[4]; in lpddr_pfow_present()
|
D | lpddr_cmds.c | 394 map_word datum; in do_write_buffer()
|
/linux-4.1.27/arch/cris/arch-v10/drivers/ |
D | axisflashmap.c | 55 static map_word flash_read(struct map_info *map, unsigned long ofs) in flash_read() 57 map_word tmp; in flash_read() 68 static void flash_write(struct map_info *map, map_word d, unsigned long adr) in flash_write()
|
/linux-4.1.27/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 744 map_word d, t; in chip_ready() 767 static int __xipram chip_good(struct map_info *map, unsigned long addr, map_word expected) in chip_good() 769 map_word oldd, curd; in chip_good() 963 map_word status, OK = CMD(0x80); in xip_udelay() 1287 unsigned long adr, map_word datum, 1298 map_word datum; in do_otp_write() 1549 unsigned long adr, map_word datum, in do_write_oneword() 1565 map_word oldd; in do_write_oneword() 1684 map_word tmp_buf; in cfi_amdstd_write_words() 1730 map_word datum; in cfi_amdstd_write_words() [all …]
|
D | cfi_util.c | 30 map_word val[3]; in cfi_qry_present() 31 map_word qry[3]; in cfi_qry_present()
|
D | cfi_cmdset_0001.c | 788 map_word status, status_OK = CMD(0x80), status_PWS = CMD(0x01); in chip_ready() 1112 map_word status, OK = CMD(0x80); in xip_wait_for_operation() 1243 map_word status, status_OK = CMD(0x80); in inval_cache_and_wait_for_operation() 1518 unsigned long adr, map_word datum, int mode) in do_write_oneword() 1521 map_word status, write_cmd; in do_write_oneword() 1608 map_word datum; in cfi_intelext_write_words() 1633 map_word datum = map_word_load(map, buf); in cfi_intelext_write_words() 1654 map_word datum; in cfi_intelext_write_words() 1676 map_word status, write_cmd, datum; in do_write_buffer() 1731 map_word Xstatus = map_read(map, cmd_adr); in do_write_buffer() [all …]
|
D | map_ram.c | 122 map_word allff; in mapram_erase()
|
D | cfi_cmdset_0020.c | 249 map_word status, status_OK; in do_read_onechip() 423 map_word status, status_OK; in do_write_buffer() 524 map_word d; in do_write_buffer() 734 map_word status, status_OK; in do_erase_oneblock() 1035 map_word status, status_OK; in do_lock_oneblock() 1181 map_word status, status_OK; in do_unlock_oneblock()
|
D | jedec_probe.c | 1881 map_word result; in jedec_read_mfr() 1902 map_word result; in jedec_read_id()
|
/linux-4.1.27/arch/cris/arch-v32/drivers/ |
D | axisflashmap.c | 60 static map_word flash_read(struct map_info *map, unsigned long ofs) in flash_read() 62 map_word tmp; in flash_read() 73 static void flash_write(struct map_info *map, map_word d, unsigned long adr) in flash_write()
|
/linux-4.1.27/arch/mips/txx9/rbtx4939/ |
D | setup.c | 309 static map_word rbtx4939_flash_read16(struct map_info *map, unsigned long ofs) in rbtx4939_flash_read16() 311 map_word r; in rbtx4939_flash_read16() 318 static void rbtx4939_flash_write16(struct map_info *map, const map_word datum, in rbtx4939_flash_write16()
|