Home
last modified time | relevance | path

Searched refs:map_read (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/mtd/lpddr/
H A Dqinfo_probe.c81 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 Dlpddr2_nvm.c203 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 Dlpddr_cmds.c141 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 Dcfi_cmdset_0020.c289 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 Dcfi_util.c211 *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 Dcfi_cmdset_0002.c140 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 Dcfi_cmdset_0001.c843 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 Dcfi_probe.c41 (void) map_read(map, base); \
H A Djedec_probe.c1927 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 Dcfi.h309 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 Dmap.h444 #define map_read(map, ofs) (map)->read(map, ofs) macro
453 #define map_read(map, ofs) inline_map_read(map, ofs) macro