Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/lpddr/
Dqinfo_probe.c95 dsr = CMDVAL(map_read(map, map->pfow_base + PFOW_DSR)); in lpddr_info_query()
101 val = CMDVAL(map_read(map, map->pfow_base + PFOW_COMMAND_DATA)); in lpddr_info_query()
110 pfow_val[0] = map_read(map, map->pfow_base + PFOW_QUERY_STRING_P); in lpddr_pfow_present()
111 pfow_val[1] = map_read(map, map->pfow_base + PFOW_QUERY_STRING_F); in lpddr_pfow_present()
112 pfow_val[2] = map_read(map, map->pfow_base + PFOW_QUERY_STRING_O); in lpddr_pfow_present()
113 pfow_val[3] = map_read(map, map->pfow_base + PFOW_QUERY_STRING_W); in lpddr_pfow_present()
142 lpddr->ManufactId = CMDVAL(map_read(map, map->pfow_base + PFOW_MANUFACTURER_ID)); in lpddr_chip_setup()
144 lpddr->DevId = CMDVAL(map_read(map, map->pfow_base + PFOW_DEVICE_ID)); in lpddr_chip_setup()
Dlpddr2_nvm.c212 prg_buff_ofs = (map_read(map, in lpddr2_nvm_do_op()
227 sr = map_read(map, ow_reg_add(map, STATUS_REG_OFS)); in lpddr2_nvm_do_op()
230 sr = map_read(map, ow_reg_add(map, in lpddr2_nvm_do_op()
282 pfow_val[0] = map_read(map, ow_reg_add(map, PFOW_QUERY_STRING_P)); in lpddr2_nvm_pfow_present()
283 pfow_val[1] = map_read(map, ow_reg_add(map, PFOW_QUERY_STRING_F)); in lpddr2_nvm_pfow_present()
284 pfow_val[2] = map_read(map, ow_reg_add(map, PFOW_QUERY_STRING_O)); in lpddr2_nvm_pfow_present()
285 pfow_val[3] = map_read(map, ow_reg_add(map, PFOW_QUERY_STRING_W)); in lpddr2_nvm_pfow_present()
Dlpddr_cmds.c127 dsr = CMDVAL(map_read(map, map->pfow_base + PFOW_DSR)); in wait_for_ready()
420 prog_buf_ofs = map->pfow_base + CMDVAL(map_read(map, in do_write_buffer()
/Linux-v4.19/drivers/mtd/chips/
Dcfi_cmdset_0020.c288 status = map_read(map, cmd_addr); in do_read_onechip()
329 status = map_read(map, cmd_addr); in do_read_onechip()
462 printk("%s: 1 status[%x]\n", __func__, map_read(map, cmd_adr)); in do_write_buffer()
466 status = map_read(map, cmd_adr); in do_write_buffer()
473 status.x[0], map_read(map, cmd_adr).x[0]); in do_write_buffer()
500 status = map_read(map, cmd_adr); in do_write_buffer()
552 status = map_read(map, cmd_adr); in do_write_buffer()
759 status = map_read(map, adr); in do_erase_oneblock()
817 status = map_read(map, adr); in do_erase_oneblock()
825 …rase to complete timed out. Xstatus = %lx, status = %lx.\n", status.x[0], map_read(map, adr).x[0]); in do_erase_oneblock()
[all …]
Dcfi_util.c206 *prev_val = map_read(map, addr); in cfi_send_gen_cmd()
225 val[0] = map_read(map, base + osf*0x10); in cfi_qry_present()
226 val[1] = map_read(map, base + osf*0x11); in cfi_qry_present()
227 val[2] = map_read(map, base + osf*0x12); in cfi_qry_present()
326 (void) map_read(map, base); in cfi_read_pri()
Dcfi_cmdset_0002.c749 d = map_read(map, addr); in chip_ready()
750 t = map_read(map, addr); in chip_ready()
774 oldd = map_read(map, addr); in chip_good()
775 curd = map_read(map, addr); in chip_good()
931 (void) map_read(map, adr); /* ensure mmu mapping is up to date */ in xip_disable()
944 (void) map_read(map, adr); in xip_enable()
999 status = map_read(map, adr); in xip_udelay()
1009 (void) map_read(map, adr); in xip_udelay()
1049 status = map_read(map, adr); in xip_udelay()
1305 datum = map_read(map, bus_ofs); in do_otp_write()
[all …]
Dcfi_cmdset_0001.c821 status = map_read(map, adr); in chip_ready()
872 status = map_read(map, chip->in_progress_block_addr); in chip_ready()
1106 (void) map_read(map, adr); /* ensure mmu mapping is up to date */ in xip_disable()
1118 (void) map_read(map, adr); in xip_enable()
1182 status = map_read(map, adr); in xip_wait_for_operation()
1200 (void) map_read(map, adr); in xip_wait_for_operation()
1239 status = map_read(map, adr); in xip_wait_for_operation()
1301 status = map_read(map, cmd_adr); in inval_cache_and_wait_for_operation()
1592 status = map_read(map, adr); in do_write_oneword()
1747 status = map_read(map, cmd_adr); in do_write_buffer()
[all …]
Dcfi_probe.c40 (void) map_read(map, base); \
Djedec_probe.c1926 result = map_read(map, base + ofs); in jedec_read_mfr()
1940 result = map_read(map, base + ofs); in jedec_read_id()
/Linux-v4.19/include/linux/mtd/
Dcfi.h315 map_word val = map_read(map, addr); in cfi_read_query()
331 map_word val = map_read(map, addr); in cfi_read_query16()
Dmap.h458 #define map_read(map, ofs) (map)->read(map, ofs) macro
467 #define map_read(map, ofs) inline_map_read(map, ofs) macro