/openbmc/linux/drivers/mtd/maps/ |
H A 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() 108 map_word d; in dc21285_copy_to_32() 120 map_word d; in dc21285_copy_to_16() [all …]
|
H A D | tsunami_flash.c | 18 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8() 20 map_word val; in tsunami_flash_read8() 25 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset) in tsunami_flash_write8()
|
H A D | physmap-ixp4xx.c | 69 static map_word ixp4xx_read16(struct map_info *map, unsigned long ofs) in ixp4xx_read16() 71 map_word val; in ixp4xx_read16() 109 static void ixp4xx_write16(struct map_info *map, map_word d, unsigned long adr) in ixp4xx_write16()
|
H A D | pci.c | 37 static map_word mtd_pci_read8(struct map_info *_map, unsigned long ofs) in mtd_pci_read8() 40 map_word val; in mtd_pci_read8() 45 static map_word mtd_pci_read32(struct map_info *_map, unsigned long ofs) in mtd_pci_read32() 48 map_word val; in mtd_pci_read32() 59 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8() 65 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32()
|
H A 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() 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() 259 static void pcmcia_write8(struct map_info *map, map_word d, unsigned long adr) in pcmcia_write8() [all …]
|
H A D | map_funcs.c | 13 static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs) in simple_map_read() 18 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write()
|
H A D | sbc_gxx.c | 102 static map_word sbc_gxx_read8(struct map_info *map, unsigned long ofs) in sbc_gxx_read8() 104 map_word ret; in sbc_gxx_read8() 129 static void sbc_gxx_write8(struct map_info *map, map_word d, unsigned long adr) in sbc_gxx_write8()
|
H A D | physmap-gemini.c | 81 static map_word __xipram gemini_flash_map_read(struct map_info *map, in gemini_flash_map_read() 84 map_word ret; in gemini_flash_map_read() 94 const map_word datum, in gemini_flash_map_write()
|
H A D | lantiq-flash.c | 47 static map_word 51 map_word temp; in ltq_read16() 62 ltq_write16(struct map_info *map, map_word d, unsigned long adr) in ltq_write16()
|
H A D | physmap-bt1-rom.c | 29 static map_word __xipram bt1_rom_map_read(struct map_info *map, in bt1_rom_map_read() 34 map_word ret; in bt1_rom_map_read()
|
H A D | physmap-core.c | 142 static map_word physmap_addr_gpios_read(struct map_info *map, in physmap_addr_gpios_read() 147 map_word mw; in physmap_addr_gpios_read() 181 static void physmap_addr_gpios_write(struct map_info *map, map_word mw, in physmap_addr_gpios_write()
|
/openbmc/linux/include/linux/mtd/ |
H A D | map.h | 171 } map_word; typedef 207 map_word (*read)(struct map_info *, unsigned long); 210 void (*write)(struct map_info *, const map_word, unsigned long); 272 map_word r; \ 281 map_word r; \ 290 map_word r; \ 323 map_word r; in map_word_load() 343 static inline map_word map_word_load_partial(struct map_info *map, map_word orig, const unsigned ch… in map_word_load_partial() 373 static inline map_word map_word_ff(struct map_info *map) in map_word_ff() 375 map_word r; in map_word_ff() [all …]
|
H A D | cfi.h | 286 map_word sector_erase_cmd; 296 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi); 299 unsigned long cfi_merge_status(map_word val, struct map_info *map, 305 int type, map_word *prev_val); 309 map_word val = map_read(map, addr); in cfi_read_query() 325 map_word val = map_read(map, addr); in cfi_read_query16()
|
H A D | qinfo.h | 79 static inline map_word lpddr_build_cmd(u_long cmd, struct map_info *map) in lpddr_build_cmd() 81 map_word val = { {0} }; in lpddr_build_cmd()
|
H A D | pfow.h | 102 unsigned long len, map_word *datum) in send_pfow_command()
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-flash.c | 25 static map_word flash_read16(struct map_info *map, unsigned long offset) in flash_read16() 27 map_word r; in flash_read16() 38 static void flash_write16(struct map_info *map, const map_word datum, in flash_write16()
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | flash_setup.c | 31 static map_word octeon_flash_map_read(struct map_info *map, unsigned long ofs) in octeon_flash_map_read() 33 map_word r; in octeon_flash_map_read() 42 static void octeon_flash_map_write(struct map_info *map, const map_word datum, in octeon_flash_map_write()
|
/openbmc/linux/drivers/mtd/chips/ |
H A D | cfi_util.c | 66 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd() 68 map_word val = { {0} }; in cfi_build_cmd() 132 unsigned long cfi_merge_status(map_word val, struct map_info *map, in cfi_merge_status() 204 int type, map_word *prev_val) in cfi_send_gen_cmd() 206 map_word val; in cfi_send_gen_cmd() 223 map_word val[3]; in cfi_qry_present() 224 map_word qry[3]; in cfi_qry_present()
|
H A D | cfi_cmdset_0002.c | 133 map_word status; in cfi_check_err_status() 835 map_word oldd, curd; in chip_ready() 1756 map_word oldd; in do_write_oneword_retry() 1834 map_word tmp_buf; in cfi_amdstd_write_words() 1880 map_word datum; in cfi_amdstd_write_words() 1905 map_word tmp_buf; in cfi_amdstd_write_words() 2027 map_word datum; in do_write_buffer() 2237 map_word oldd; in do_panic_write_oneword() 2325 map_word tmp_buf; in cfi_amdstd_panic_write() 2359 map_word datum; in cfi_amdstd_panic_write() [all …]
|
H A D | cfi_cmdset_0001.c | 1164 map_word status, OK = CMD(0x80); in xip_wait_for_operation() 1295 map_word status, status_OK = CMD(0x80); in inval_cache_and_wait_for_operation() 1573 map_word status, write_cmd; in do_write_oneword() 1660 map_word datum; in cfi_intelext_write_words() 1685 map_word datum = map_word_load(map, buf); in cfi_intelext_write_words() 1706 map_word datum; in cfi_intelext_write_words() 1728 map_word status, write_cmd, datum; in do_write_buffer() 1956 map_word status; in do_erase_oneblock() 2285 map_word datum = map_word_ff(map); in do_otp_write() 2305 map_word datum; in do_otp_lock() [all …]
|
H A D | cfi_cmdset_0020.c | 251 map_word status, status_OK; in do_read_onechip() 425 map_word status, status_OK; in do_write_buffer() 526 map_word d; in do_write_buffer() 736 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()
|
H A D | map_ram.c | 129 map_word allff; in mapram_erase()
|
/openbmc/linux/drivers/mtd/hyperbus/ |
H A D | hyperbus-core.c | 20 static map_word hyperbus_read16(struct map_info *map, unsigned long addr) in hyperbus_read16() 24 map_word read_data; in hyperbus_read16() 31 static void hyperbus_write16(struct map_info *map, map_word d, in hyperbus_write16()
|
H A D | rpc-if.c | 80 map_word data; in rpcif_hb_read16()
|
/openbmc/linux/drivers/mtd/lpddr/ |
H A D | lpddr2_nvm.c | 84 static inline map_word build_map_word(u_long myword) in build_map_word() 86 map_word val = { {0} }; in build_map_word() 166 map_word add_l = { {0} }, add_h = { {0} }, mpr_l = { {0} }, in lpddr2_nvm_do_op() 169 map_word data_h = { {0} }; /* only for 2x x16 devices stacked */ in lpddr2_nvm_do_op() 265 map_word pfow_val[4]; in lpddr2_nvm_pfow_present()
|