Home
last modified time | relevance | path

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

/openbmc/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
/openbmc/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()
196 map_write(map, mpr_l, ow_reg_add(map, MPR_L_OFS) + 2); in lpddr2_nvm_do_op()
197 map_write(map, mpr_h, ow_reg_add(map, MPR_H_OFS) + 2); in lpddr2_nvm_do_op()
206 map_write(map, build_map_word(buf[i]), map->pfow_base + 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()
/openbmc/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c528 map_write(map, d, adr+z); in do_write_buffer()
596 map_write(map, CMD(0x70), adr); in do_write_buffer()
790 map_write(map, CMD(0x50), adr); in do_erase_oneblock()
793 map_write(map, CMD(0x20), adr); in do_erase_oneblock()
794 map_write(map, CMD(0xD0), adr); in do_erase_oneblock()
842 map_write(map, CMD(0x70), adr); in do_erase_oneblock()
1086 map_write(map, CMD(0x60), adr); in do_lock_oneblock()
1087 map_write(map, CMD(0x01), adr); in do_lock_oneblock()
1232 map_write(map, CMD(0x60), adr); in do_unlock_oneblock()
1233 map_write(map, CMD(0xD0), adr); in do_unlock_oneblock()
[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()
1137 map_write(map, CMD(0xff), adr); in xip_enable()
1599 map_write(map, write_cmd, adr); in do_write_oneword()
1600 map_write(map, datum, adr); in do_write_oneword()
1829 map_write(map, datum, adr); in do_write_buffer()
1975 map_write(map, CMD(0x50), adr); in do_erase_oneblock()
1978 map_write(map, CMD(0x20), adr); in do_erase_oneblock()
1979 map_write(map, CMD(0xD0), adr); in do_erase_oneblock()
1998 map_write(map, CMD(0x70), adr); in do_erase_oneblock()
[all …]
H A Dcfi_cmdset_0002.c563 map_write(map, CMD(0xF0), adr); in cfi_fixup_m29ew_erase_suspend()
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()
1665 map_write(map, datum, adr); in do_write_oneword_once()
2052 map_write(map, CMD(0x25), cmd_adr); in do_write_buffer()
2063 map_write(map, datum, adr + z); in do_write_buffer()
2268 map_write(map, datum, adr); in do_panic_write_oneword()
2683 map_write(map, CMD(0x70), adr); in do_atmel_unlock()
2746 map_write(map, CMD(0xA0), adr); in do_ppb_xxlock()
[all …]
H A Dfwh_lock.h70 map_write(map, CMD(xxlt->val), adr); in fwh_xxlock_oneblock()
H A Dmap_ram.c134 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()
/openbmc/linux/kernel/
H A Duser_namespace.c920 static ssize_t map_write(struct file *file, const char __user *buf, in map_write() function
1121 return map_write(file, buf, size, ppos, CAP_SETUID, in proc_uid_map_write()
1138 return map_write(file, buf, size, ppos, CAP_SETGID, in proc_gid_map_write()
1156 return map_write(file, buf, size, ppos, -1, in proc_projid_map_write()