Lines Matching refs:value

48 	uint32_t value;  in memory_dump()  local
69 value = sys_read8(addr + data_offset); in memory_dump()
70 hex_data[data_offset] = value; in memory_dump()
73 value = sys_le16_to_cpu(sys_read16(addr + data_offset)); in memory_dump()
74 hex_data[data_offset] = (uint8_t)value; in memory_dump()
75 value >>= 8; in memory_dump()
76 hex_data[data_offset + 1] = (uint8_t)value; in memory_dump()
79 value = sys_le32_to_cpu(sys_read32(addr + data_offset)); in memory_dump()
80 hex_data[data_offset] = (uint8_t)value; in memory_dump()
81 value >>= 8; in memory_dump()
82 hex_data[data_offset + 1] = (uint8_t)value; in memory_dump()
83 value >>= 8; in memory_dump()
84 hex_data[data_offset + 2] = (uint8_t)value; in memory_dump()
85 value >>= 8; in memory_dump()
86 hex_data[data_offset + 3] = (uint8_t)value; in memory_dump()
262 uint32_t value; in memory_read() local
267 value = sys_read8(addr); in memory_read()
270 value = sys_read16(addr); in memory_read()
273 value = sys_read32(addr); in memory_read()
282 shell_fprintf(sh, SHELL_NORMAL, "Read value 0x%x\n", value); in memory_read()
288 static int memory_write(const struct shell *sh, mem_addr_t addr, uint8_t width, uint64_t value) in memory_write() argument
294 sys_write8(value, addr); in memory_write()
297 sys_write16(value, addr); in memory_write()
300 sys_write32(value, addr); in memory_write()
315 uint32_t value = 0; in cmd_devmem() local
348 value = strtoul(argv[3], NULL, 16); in cmd_devmem()
350 shell_fprintf(sh, SHELL_NORMAL, "Writing value 0x%x\n", value); in cmd_devmem()
352 return memory_write(sh, addr, width, value); in cmd_devmem()