Home
last modified time | relevance | path

Searched refs:map_write (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/include/linux/mtd/
Dpfow.h106 map_write(map, CMD(cmd_code), map->pfow_base + PFOW_COMMAND_CODE); in send_pfow_command()
107 map_write(map, CMD(adr & ((1<<bits_per_chip) - 1)), in send_pfow_command()
109 map_write(map, CMD(adr>>bits_per_chip), in send_pfow_command()
112 map_write(map, CMD(len & ((1<<bits_per_chip) - 1)), in send_pfow_command()
114 map_write(map, CMD(len>>bits_per_chip), in send_pfow_command()
118 map_write(map, *datum, map->pfow_base + PFOW_COMMAND_DATA); in send_pfow_command()
121 map_write(map, CMD(LPDDR_START_EXECUTION), in send_pfow_command()
Dmap.h446 #define map_write(map, datum, ofs) (map)->write(map, datum, ofs) macro
455 #define map_write(map, datum, ofs) inline_map_write(map, datum, ofs) macro
/kernel/linux/linux-5.10/drivers/mtd/lpddr/
Dlpddr2_nvm.c185 map_write(map, cmd, ow_reg_add(map, CMD_CODE_OFS)); in lpddr2_nvm_do_op()
186 map_write(map, data_l, ow_reg_add(map, CMD_DATA_OFS)); in lpddr2_nvm_do_op()
187 map_write(map, add_l, ow_reg_add(map, CMD_ADD_L_OFS)); in lpddr2_nvm_do_op()
188 map_write(map, add_h, ow_reg_add(map, CMD_ADD_H_OFS)); in lpddr2_nvm_do_op()
189 map_write(map, mpr_l, ow_reg_add(map, MPR_L_OFS)); in lpddr2_nvm_do_op()
190 map_write(map, mpr_h, ow_reg_add(map, MPR_H_OFS)); in lpddr2_nvm_do_op()
192 map_write(map, cmd, ow_reg_add(map, CMD_CODE_OFS) + 2); in lpddr2_nvm_do_op()
193 map_write(map, data_h, ow_reg_add(map, CMD_DATA_OFS) + 2); in lpddr2_nvm_do_op()
194 map_write(map, add_l, ow_reg_add(map, CMD_ADD_L_OFS) + 2); in lpddr2_nvm_do_op()
195 map_write(map, add_h, ow_reg_add(map, CMD_ADD_H_OFS) + 2); in lpddr2_nvm_do_op()
[all …]
Dqinfo_probe.c71 map_write(map, CMD(LPDDR_INFO_QUERY), in lpddr_info_query()
73 map_write(map, CMD(adr & ((1 << bits_per_chip) - 1)), in lpddr_info_query()
75 map_write(map, CMD(adr >> bits_per_chip), in lpddr_info_query()
77 map_write(map, CMD(LPDDR_START_EXECUTION), in lpddr_info_query()
Dlpddr_cmds.c188 map_write(map, CMD(~(DSR_ERR)), map->pfow_base + PFOW_DSR); in wait_for_ready()
314 map_write(map, CMD(LPDDR_SUSPEND), in chip_ready()
387 map_write(map, CMD(LPDDR_RESUME), in put_chip()
389 map_write(map, CMD(LPDDR_START_EXECUTION), in put_chip()
455 map_write(map, datum, prog_buf_ofs); in do_write_buffer()
/kernel/linux/linux-5.10/drivers/mtd/chips/
Dcfi_cmdset_0020.c277 map_write (map, CMD(0xb0), cmd_addr); in do_read_onechip()
283 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
294 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip()
296 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
311 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip()
325 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
331 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip()
374 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip()
375 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
459 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
[all …]
Dcfi_cmdset_0001.c287 map_write(map, CMD(0x60), 0); in fixup_LH28F640BF()
288 map_write(map, CMD(0x04), 0); in fixup_LH28F640BF()
864 map_write(map, CMD(0xB0), chip->in_progress_block_addr); in chip_ready()
871 map_write(map, CMD(0x70), chip->in_progress_block_addr); in chip_ready()
1072 map_write(map, CMD(0xd0), chip->in_progress_block_addr); in put_chip()
1073 map_write(map, CMD(0x70), chip->in_progress_block_addr); in put_chip()
1119 map_write(map, CMD(0xff), adr); in xip_enable()
1173 map_write(map, CMD(0xb0), adr); in xip_wait_for_operation()
1174 map_write(map, CMD(0x70), adr); in xip_wait_for_operation()
1203 map_write(map, CMD(0xff), adr); in xip_wait_for_operation()
[all …]
Dcfi_cmdset_0002.c546 map_write(map, CMD(0xF0), adr); in cfi_fixup_m29ew_erase_suspend()
925 map_write(map, CMD(0xB0), chip->in_progress_block_addr); in get_chip()
991 map_write(map, cfi->sector_erase_cmd, chip->in_progress_block_addr); in put_chip()
1038 map_write(map, CMD(0xf0), adr); in xip_enable()
1083 map_write(map, CMD(0xb0), adr); in xip_udelay()
1105 map_write(map, CMD(0xf0), adr); in xip_udelay()
1135 map_write(map, cfi->sector_erase_cmd, adr); in xip_udelay()
1225 map_write(map, CMD(0xf0), cmd_addr); in do_read_onechip()
1455 map_write(map, CMD(0xA0), chip->start); in do_otp_lock()
1456 map_write(map, CMD(lockreg), chip->start); in do_otp_lock()
[all …]
Dfwh_lock.h70 map_write(map, CMD(xxlt->val), adr); in fwh_xxlock_oneblock()
Dmap_ram.c133 map_write(map, allff, instr->addr + i); in mapram_erase()
Dcfi_util.c214 map_write(map, val, addr); in cfi_send_gen_cmd()
/kernel/linux/linux-5.10/kernel/
Duser_namespace.c899 static ssize_t map_write(struct file *file, const char __user *buf, in map_write() function
1100 return map_write(file, buf, size, ppos, CAP_SETUID, in proc_uid_map_write()
1117 return map_write(file, buf, size, ppos, CAP_SETGID, in proc_gid_map_write()
1135 return map_write(file, buf, size, ppos, -1, in proc_projid_map_write()