Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mtd/lpddr/
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()
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()
Dlpddr_cmds.c141 dsr = CMDVAL(map_read(map, map->pfow_base + PFOW_DSR)); in wait_for_ready()
434 prog_buf_ofs = map->pfow_base + CMDVAL(map_read(map, in do_write_buffer()
/linux-5.19.10/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.c212 *prev_val = map_read(map, addr); in cfi_send_gen_cmd()
231 val[0] = map_read(map, base + osf*0x10); in cfi_qry_present()
232 val[1] = map_read(map, base + osf*0x11); in cfi_qry_present()
233 val[2] = map_read(map, base + osf*0x12); in cfi_qry_present()
332 (void) map_read(map, base); in cfi_read_pri()
Dcfi_cmdset_0002.c142 status = map_read(map, adr); in cfi_check_err_status()
848 curd = map_read(map, addr); in chip_ready()
853 oldd = map_read(map, addr); in chip_ready()
854 curd = map_read(map, addr); in chip_ready()
1027 (void) map_read(map, adr); /* ensure mmu mapping is up to date */ in xip_disable()
1040 (void) map_read(map, adr); in xip_enable()
1095 status = map_read(map, adr); in xip_udelay()
1105 (void) map_read(map, adr); in xip_udelay()
1145 status = map_read(map, adr); in xip_udelay()
1401 datum = map_read(map, bus_ofs); in do_otp_write()
[all …]
Dcfi_cmdset_0001.c826 status = map_read(map, adr); in chip_ready()
877 status = map_read(map, chip->in_progress_block_addr); in chip_ready()
1111 (void) map_read(map, adr); /* ensure mmu mapping is up to date */ in xip_disable()
1123 (void) map_read(map, adr); in xip_enable()
1187 status = map_read(map, adr); in xip_wait_for_operation()
1205 (void) map_read(map, adr); in xip_wait_for_operation()
1244 status = map_read(map, adr); in xip_wait_for_operation()
1306 status = map_read(map, cmd_adr); in inval_cache_and_wait_for_operation()
1597 status = map_read(map, adr); in do_write_oneword()
1752 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-5.19.10/include/linux/mtd/
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()
Dmap.h444 #define map_read(map, ofs) (map)->read(map, ofs) macro
453 #define map_read(map, ofs) inline_map_read(map, ofs) macro