/linux/drivers/mtd/lpddr/ |
H A D | qinfo_probe.c | 81 dsr = CMDVAL(map_read(map, map->pfow_base + PFOW_DSR)); in lpddr_info_query() 87 val = CMDVAL(map_read(map, map->pfow_base + PFOW_COMMAND_DATA)); in lpddr_info_query() 96 pfow_val[0] = map_read(map, map->pfow_base + PFOW_QUERY_STRING_P); in lpddr_pfow_present() 97 pfow_val[1] = map_read(map, map->pfow_base + PFOW_QUERY_STRING_F); in lpddr_pfow_present() 98 pfow_val[2] = map_read(map, map->pfow_base + PFOW_QUERY_STRING_O); in lpddr_pfow_present() 99 pfow_val[3] = map_read(map, map->pfow_base + PFOW_QUERY_STRING_W); in lpddr_pfow_present() 128 lpddr->ManufactId = CMDVAL(map_read(map, map->pfow_base + PFOW_MANUFACTURER_ID)); in lpddr_chip_setup() 130 lpddr->DevId = CMDVAL(map_read(map, map->pfow_base + PFOW_DEVICE_ID)); in lpddr_chip_setup()
|
H A D | lpddr2_nvm.c | 203 prg_buff_ofs = (map_read(map, in lpddr2_nvm_do_op() 218 sr = map_read(map, ow_reg_add(map, STATUS_REG_OFS)); in lpddr2_nvm_do_op() 221 sr = map_read(map, ow_reg_add(map, in lpddr2_nvm_do_op() 273 pfow_val[0] = map_read(map, ow_reg_add(map, PFOW_QUERY_STRING_P)); in lpddr2_nvm_pfow_present() 274 pfow_val[1] = map_read(map, ow_reg_add(map, PFOW_QUERY_STRING_F)); in lpddr2_nvm_pfow_present() 275 pfow_val[2] = map_read(map, ow_reg_add(map, PFOW_QUERY_STRING_O)); in lpddr2_nvm_pfow_present() 276 pfow_val[3] = map_read(map, ow_reg_add(map, PFOW_QUERY_STRING_W)); in lpddr2_nvm_pfow_present()
|
H A D | lpddr_cmds.c | 141 dsr = CMDVAL(map_read(map, map->pfow_base + PFOW_DSR)); in wait_for_ready() 431 prog_buf_ofs = map->pfow_base + CMDVAL(map_read(map, in do_write_buffer()
|
/linux/drivers/mtd/chips/ |
H A D | cfi_cmdset_0020.c | 289 status = map_read(map, cmd_addr); in do_read_onechip() 330 status = map_read(map, cmd_addr); in do_read_onechip() 463 printk("%s: 1 status[%x]\n", __func__, map_read(map, cmd_adr)); in do_write_buffer() 467 status = map_read(map, cmd_adr); in do_write_buffer() 474 status.x[0], map_read(map, cmd_adr).x[0]); in do_write_buffer() 501 status = map_read(map, cmd_adr); in do_write_buffer() 553 status = map_read(map, cmd_adr); in do_write_buffer() 760 status = map_read(map, adr); in do_erase_oneblock() 818 status = map_read(map, adr); in do_erase_oneblock() 826 …rase to complete timed out. Xstatus = %lx, status = %lx.\n", status.x[0], map_read(map, adr).x[0]); in do_erase_oneblock() [all …]
|
H A D | cfi_util.c | 211 *prev_val = map_read(map, addr); in cfi_send_gen_cmd() 230 val[0] = map_read(map, base + osf*0x10); in cfi_qry_present() 231 val[1] = map_read(map, base + osf*0x11); in cfi_qry_present() 232 val[2] = map_read(map, base + osf*0x12); in cfi_qry_present() 331 (void) map_read(map, base); in cfi_read_pri()
|
H A D | cfi_cmdset_0002.c | 140 status = map_read(map, adr); in cfi_check_err_status() 846 curd = map_read(map, addr); in chip_ready() 851 oldd = map_read(map, addr); in chip_ready() 852 curd = map_read(map, addr); in chip_ready() 1025 (void) map_read(map, adr); /* ensure mmu mapping is up to date */ in xip_disable() 1038 (void) map_read(map, adr); in xip_enable() 1093 status = map_read(map, adr); in xip_udelay() 1103 (void) map_read(map, adr); in xip_udelay() 1143 status = map_read(map, adr); in xip_udelay() 1399 datum = map_read(map, bus_ofs); in do_otp_write() [all …]
|
H A D | cfi_cmdset_0001.c | 843 status = map_read(map, adr); in chip_ready() 894 status = map_read(map, chip->in_progress_block_addr); in chip_ready() 1128 (void) map_read(map, adr); /* ensure mmu mapping is up to date */ in xip_disable() 1140 (void) map_read(map, adr); in xip_enable() 1204 status = map_read(map, adr); in xip_wait_for_operation() 1222 (void) map_read(map, adr); in xip_wait_for_operation() 1261 status = map_read(map, adr); in xip_wait_for_operation() 1323 status = map_read(map, cmd_adr); in inval_cache_and_wait_for_operation() 1614 status = map_read(map, adr); in do_write_oneword() 1769 status = map_read(map, cmd_adr); in do_write_buffer() [all …]
|
H A D | cfi_probe.c | 41 (void) map_read(map, base); \
|
H A D | jedec_probe.c | 1927 result = map_read(map, base + ofs); in jedec_read_mfr() 1941 result = map_read(map, base + ofs); in jedec_read_id()
|
/linux/include/linux/mtd/ |
H A D | cfi.h | 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 | map.h | 444 #define map_read(map, ofs) (map)->read(map, ofs) macro 453 #define map_read(map, ofs) inline_map_read(map, ofs) macro
|