Home
last modified time | relevance | path

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

/linux/include/linux/mtd/
H A 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()
H A 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
/linux/drivers/mtd/lpddr/
H A 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 …]
H A 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()
H A 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()
452 map_write(map, datum, prog_buf_ofs); in do_write_buffer()
/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c278 map_write (map, CMD(0xb0), cmd_addr); in do_read_onechip()
284 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
295 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip()
297 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
312 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip()
326 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
332 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip()
375 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip()
376 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
460 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
[all …]
H A Dcfi_cmdset_0001.c289 map_write(map, CMD(0x60), 0); in fixup_LH28F640BF()
290 map_write(map, CMD(0x04), 0); in fixup_LH28F640BF()
882 map_write(map, CMD(0xB0), chip->in_progress_block_addr); in chip_ready()
889 map_write(map, CMD(0x70), chip->in_progress_block_addr); in chip_ready()
1090 map_write(map, CMD(0xd0), chip->in_progress_block_addr); in put_chip()
1091 map_write(map, CMD(0x70), chip->in_progress_block_addr); in put_chip()
1137 map_write(map, CMD(0xff), adr); in xip_enable()
1191 map_write(map, CMD(0xb0), adr); in xip_wait_for_operation()
1192 map_write(map, CMD(0x70), adr); in xip_wait_for_operation()
1221 map_write(map, CMD(0xff), adr); in xip_wait_for_operation()
[all …]
H A Dcfi_cmdset_0002.c563 map_write(map, CMD(0xF0), adr); in cfi_fixup_m29ew_erase_suspend()
922 map_write(map, CMD(0xB0), chip->in_progress_block_addr); in get_chip()
988 map_write(map, cfi->sector_erase_cmd, chip->in_progress_block_addr); in put_chip()
1035 map_write(map, CMD(0xf0), adr); in xip_enable()
1080 map_write(map, CMD(0xb0), adr); in xip_udelay()
1102 map_write(map, CMD(0xf0), adr); in xip_udelay()
1132 map_write(map, cfi->sector_erase_cmd, adr); in xip_udelay()
1222 map_write(map, CMD(0xf0), cmd_addr); in do_read_onechip()
1452 map_write(map, CMD(0xA0), chip->start); in do_otp_lock()
1453 map_write(map, CMD(lockreg), chip->start); in do_otp_lock()
[all …]
H A Dfwh_lock.h70 map_write(map, CMD(xxlt->val), adr); in fwh_xxlock_oneblock()
H A Dmap_ram.c138 map_write(map, allff, instr->addr + i); in mapram_erase()
H A Dcfi_util.c213 map_write(map, val, addr); in cfi_send_gen_cmd()
/linux/kernel/
H A Duser_namespace.c922 static ssize_t map_write(struct file *file, const char __user *buf, in map_write() function
1123 return map_write(file, buf, size, ppos, CAP_SETUID, in proc_uid_map_write()
1140 return map_write(file, buf, size, ppos, CAP_SETGID, in proc_gid_map_write()
1158 return map_write(file, buf, size, ppos, -1, in proc_projid_map_write()