/Zephyr-latest/arch/arm/core/cortex_m/ |
D | cache.c | 49 int arch_dcache_flush_range(void *start_addr, size_t size) in arch_dcache_flush_range() argument 51 SCB_CleanDCache_by_Addr(start_addr, size); in arch_dcache_flush_range() 56 int arch_dcache_invd_range(void *start_addr, size_t size) in arch_dcache_invd_range() argument 58 SCB_InvalidateDCache_by_Addr(start_addr, size); in arch_dcache_invd_range() 63 int arch_dcache_flush_and_invd_range(void *start_addr, size_t size) in arch_dcache_flush_and_invd_range() argument 65 SCB_CleanInvalidateDCache_by_Addr(start_addr, size); in arch_dcache_flush_and_invd_range() 97 int arch_icache_flush_range(void *start_addr, size_t size) in arch_icache_flush_range() argument 102 int arch_icache_invd_range(void *start_addr, size_t size) in arch_icache_invd_range() argument 104 SCB_InvalidateICache_by_Addr(start_addr, size); in arch_icache_invd_range() 109 int arch_icache_flush_and_invd_range(void *start_addr, size_t size) in arch_icache_flush_and_invd_range() argument
|
/Zephyr-latest/arch/arc/core/ |
D | cache.c | 71 uintptr_t start_addr = (uintptr_t)start_addr_ptr; in arch_dcache_flush_range() local 79 end_addr = start_addr + size; in arch_dcache_flush_range() 81 start_addr = ROUND_DOWN(start_addr, line_size); in arch_dcache_flush_range() 86 z_arc_v2_aux_reg_write(_ARC_V2_DC_FLDL, start_addr); in arch_dcache_flush_range() 97 start_addr += line_size; in arch_dcache_flush_range() 98 } while (start_addr < end_addr); in arch_dcache_flush_range() 108 uintptr_t start_addr = (uintptr_t)start_addr_ptr; in arch_dcache_invd_range() local 115 end_addr = start_addr + size; in arch_dcache_invd_range() 116 start_addr = ROUND_DOWN(start_addr, line_size); in arch_dcache_invd_range() 121 z_arc_v2_aux_reg_write(_ARC_V2_DC_IVDL, start_addr); in arch_dcache_invd_range() [all …]
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | cache.h | 80 uintptr_t start_addr = (uintptr_t)addr; in arm64_dcache_range() local 81 uintptr_t end_addr = start_addr + size; in arm64_dcache_range() 111 if (start_addr & (line_size - 1)) { in arm64_dcache_range() 112 start_addr &= ~(line_size - 1); in arm64_dcache_range() 113 if (start_addr == end_addr) { in arm64_dcache_range() 116 dc_ops("civac", start_addr); in arm64_dcache_range() 117 start_addr += line_size; in arm64_dcache_range() 122 start_addr &= ~(line_size - 1); in arm64_dcache_range() 124 while (start_addr < end_addr) { in arm64_dcache_range() 126 dc_ops("ivac", start_addr); in arm64_dcache_range() [all …]
|
/Zephyr-latest/arch/x86/core/ |
D | cache.c | 88 int arch_dcache_flush_range(void *start_addr, size_t size) in arch_dcache_flush_range() argument 91 uintptr_t start = (uintptr_t)start_addr; in arch_dcache_flush_range() 113 int arch_dcache_invd_range(void *start_addr, size_t size) in arch_dcache_invd_range() argument 115 return arch_dcache_flush_range(start_addr, size); in arch_dcache_invd_range() 118 int arch_dcache_flush_and_invd_range(void *start_addr, size_t size) in arch_dcache_flush_and_invd_range() argument 120 return arch_dcache_flush_range(start_addr, size); in arch_dcache_flush_and_invd_range()
|
/Zephyr-latest/arch/arm/core/cortex_a_r/ |
D | cache.c | 96 int arch_dcache_flush_range(void *start_addr, size_t size) in arch_dcache_flush_range() argument 99 uintptr_t addr = (uintptr_t)start_addr; in arch_dcache_flush_range() 114 int arch_dcache_invd_range(void *start_addr, size_t size) in arch_dcache_invd_range() argument 117 uintptr_t addr = (uintptr_t)start_addr; in arch_dcache_invd_range() 152 int arch_dcache_flush_and_invd_range(void *start_addr, size_t size) in arch_dcache_flush_and_invd_range() argument 155 uintptr_t addr = (uintptr_t)start_addr; in arch_dcache_flush_and_invd_range() 204 int arch_icache_flush_range(void *start_addr, size_t size) in arch_icache_flush_range() argument 209 int arch_icache_invd_range(void *start_addr, size_t size) in arch_icache_invd_range() argument 214 int arch_icache_flush_and_invd_range(void *start_addr, size_t size) in arch_icache_flush_and_invd_range() argument
|
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/src/ |
D | main.c | 50 uint8_t start_addr[2]; in run_full_read() local 56 memset(start_addr, 0, sizeof(start_addr)); in run_full_read() 57 ret = i2c_write_read(i2c, addr, start_addr, (addr_width >> 3), i2c_buffer, TEST_DATA_SIZE); in run_full_read() 79 uint8_t start_addr[2]; in run_partial_read() local 86 start_addr[0] = (uint8_t) (offset & 0xFF); in run_partial_read() 89 sys_put_be16((uint16_t)(offset & 0xFFFF), start_addr); in run_partial_read() 96 start_addr, (addr_width >> 3), i2c_buffer, TEST_DATA_SIZE-offset); in run_partial_read() 118 uint8_t start_addr[2]; in run_program_read() local 130 start_addr[0] = (uint8_t) (offset & 0xFF); in run_program_read() 133 sys_put_be16((uint16_t)(offset & 0xFFFF), start_addr); in run_program_read() [all …]
|
/Zephyr-latest/subsys/debug/coredump/ |
D | coredump_core.c | 140 uintptr_t start_addr = POINTER_TO_UINT(irq_stack) - CONFIG_ISR_STACK_SIZE; in process_memory_region_list() local 142 coredump_memory_dump(start_addr, POINTER_TO_UINT(irq_stack)); in process_memory_region_list() 213 void coredump_memory_dump(uintptr_t start_addr, uintptr_t end_addr) in coredump_memory_dump() argument 218 if ((start_addr == POINTER_TO_UINT(NULL)) || in coredump_memory_dump() 223 if (start_addr >= end_addr) { in coredump_memory_dump() 227 len = end_addr - start_addr; in coredump_memory_dump() 233 m.start = sys_cpu_to_le64(start_addr); in coredump_memory_dump() 236 m.start = sys_cpu_to_le32(start_addr); in coredump_memory_dump() 242 coredump_buffer_output((uint8_t *)start_addr, len); in coredump_memory_dump()
|
/Zephyr-latest/include/zephyr/modbus/ |
D | modbus.h | 118 const uint16_t start_addr, 152 const uint16_t start_addr, 175 const uint16_t start_addr, 198 const uint16_t start_addr, 234 const uint16_t start_addr, 285 const uint16_t start_addr, 308 const uint16_t start_addr, 331 const uint16_t start_addr, 354 const uint16_t start_addr,
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | stm32flash.py | 20 force_binary=False, start_addr=0, exec_addr=None, argument 28 self.start_addr = start_addr 84 start_addr=args.start_addr, exec_addr=args.execution_addr, 109 '-S', str(self.start_addr) + ":" + str(size_aligned), '-o']) 126 '-S', str(self.start_addr) + ":" + str(bin_size),
|
/Zephyr-latest/subsys/modbus/ |
D | modbus_client.c | 295 const uint16_t start_addr, in modbus_read_coils() argument 309 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_coils() 320 const uint16_t start_addr, in modbus_read_dinputs() argument 334 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_dinputs() 345 const uint16_t start_addr, in modbus_read_holding_regs() argument 359 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_holding_regs() 372 const uint16_t start_addr, in modbus_read_holding_regs_fp() argument 386 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_holding_regs_fp() 399 const uint16_t start_addr, in modbus_read_input_regs() argument 413 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_input_regs() [all …]
|
/Zephyr-latest/arch/x86/core/ia32/ |
D | coredump.c | 89 uintptr_t start_addr, end_addr; in arch_coredump_priv_stack_dump() local 97 start_addr = (uintptr_t)&hdr_stack_obj->privilege_stack[0]; in arch_coredump_priv_stack_dump() 98 end_addr = start_addr + sizeof(hdr_stack_obj->privilege_stack); in arch_coredump_priv_stack_dump() 100 coredump_memory_dump(start_addr, end_addr); in arch_coredump_priv_stack_dump()
|
/Zephyr-latest/drivers/crypto/ |
D | crypto_ataes132a_priv.h | 140 uint16_t start_addr, uint8_t *buf, in burst_write_i2c() argument 146 addr_buffer[1] = start_addr & 0xFF; in burst_write_i2c() 147 addr_buffer[0] = start_addr >> 8; in burst_write_i2c() 161 uint16_t start_addr, uint8_t *buf, in burst_read_i2c() argument 167 addr_buffer[1] = start_addr & 0xFF; in burst_read_i2c() 168 addr_buffer[0] = start_addr >> 8; in burst_read_i2c()
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_rt1718s.h | 103 static inline int rt1718s_reg_burst_read(const struct device *dev, uint8_t start_addr, uint8_t *buf, in rt1718s_reg_burst_read() argument 108 return i2c_burst_read_dt(&config->i2c_dev, start_addr, buf, num_bytes); in rt1718s_reg_burst_read() 137 static inline int rt1718s_reg_burst_write(const struct device *dev, uint8_t start_addr, in rt1718s_reg_burst_write() argument 142 return i2c_burst_write_dt(&config->i2c_dev, start_addr, buf, num_bytes); in rt1718s_reg_burst_write()
|
/Zephyr-latest/drivers/mm/ |
D | mm_drv_ti_rat.c | 114 uint64_t start_addr, end_addr; in sys_mm_drv_page_phys_get() local 120 start_addr = translate_config.region_config[regionId].system_addr; in sys_mm_drv_page_phys_get() 122 end_addr = start_addr + size_mask; in sys_mm_drv_page_phys_get() 124 if (pa >= start_addr && pa <= end_addr) { in sys_mm_drv_page_phys_get()
|
/Zephyr-latest/tests/kernel/mem_protect/obj_validation/src/ |
D | main.c | 137 uintptr_t start_addr, end_addr; in ZTEST() local 144 start_addr = *((uintptr_t *)(void *)thread->resource_pool); in ZTEST() 145 end_addr = start_addr + size_heap; in ZTEST() 148 zassert_true(((uintptr_t)test_dyn_sem > start_addr) && in ZTEST()
|
/Zephyr-latest/arch/riscv/core/ |
D | coredump.c | 124 uintptr_t start_addr, end_addr; in arch_coredump_priv_stack_dump() local 128 start_addr = thread->arch.priv_stack_start + Z_RISCV_STACK_GUARD_SIZE; in arch_coredump_priv_stack_dump() 130 start_addr = thread->stack_info.start - CONFIG_PRIVILEGED_STACK_SIZE; in arch_coredump_priv_stack_dump() 135 coredump_memory_dump(start_addr, end_addr); in arch_coredump_priv_stack_dump()
|
/Zephyr-latest/arch/x86/core/intel64/ |
D | coredump.c | 115 uintptr_t start_addr, end_addr; in arch_coredump_priv_stack_dump() local 123 start_addr = (uintptr_t)&hdr_stack_obj->privilege_stack[0]; in arch_coredump_priv_stack_dump() 124 end_addr = start_addr + sizeof(hdr_stack_obj->privilege_stack); in arch_coredump_priv_stack_dump() 126 coredump_memory_dump(start_addr, end_addr); in arch_coredump_priv_stack_dump()
|
/Zephyr-latest/include/zephyr/debug/ |
D | coredump.h | 252 void coredump_memory_dump(uintptr_t start_addr, uintptr_t end_addr); 268 static inline void coredump_memory_dump(uintptr_t start_addr, uintptr_t end_addr) in coredump_memory_dump() argument 270 ARG_UNUSED(start_addr); in coredump_memory_dump()
|
/Zephyr-latest/modules/nrf_wifi/bus/ |
D | rpu_hw_if.c | 59 static int validate_addr_blk(uint32_t start_addr, in validate_addr_blk() argument 67 if (((start_addr >= block_map[0]) && (start_addr <= block_map[1])) && in validate_addr_blk() 79 static int rpu_validate_addr(uint32_t start_addr, uint32_t len, bool *hl_flag) in rpu_validate_addr() argument 85 end_addr = start_addr + len - 1; in rpu_validate_addr() 90 ret = validate_addr_blk(start_addr, end_addr, i, hl_flag, &selected_blk); in rpu_validate_addr()
|
/Zephyr-latest/arch/xtensa/core/ |
D | coredump.c | 198 uintptr_t start_addr, end_addr; in arch_coredump_priv_stack_dump() local 202 start_addr = (uintptr_t)&hdr_stack_obj->privilege_stack[0]; in arch_coredump_priv_stack_dump() 203 end_addr = start_addr + sizeof(hdr_stack_obj->privilege_stack); in arch_coredump_priv_stack_dump() 205 coredump_memory_dump(start_addr, end_addr); in arch_coredump_priv_stack_dump()
|
/Zephyr-latest/tests/kernel/threads/thread_stack/src/ |
D | test_syscall.h | 10 __syscall void stack_info_get(char **start_addr, size_t *size);
|
D | main.c | 34 void z_impl_stack_info_get(char **start_addr, size_t *size) in z_impl_stack_info_get() argument 36 *start_addr = (char *)k_current_get()->stack_info.start; in z_impl_stack_info_get() 41 static inline void z_vrfy_stack_info_get(char **start_addr, in z_vrfy_stack_info_get() argument 44 K_OOPS(K_SYSCALL_MEMORY_WRITE(start_addr, sizeof(uintptr_t))); in z_vrfy_stack_info_get() 47 z_impl_stack_info_get(start_addr, size); in z_vrfy_stack_info_get()
|
/Zephyr-latest/arch/xtensa/include/ |
D | xtensa_mpu_priv.h | 118 .as.p.start_addr = (saddr >> XTENSA_MPU_ENTRY_START_ADDR_SHIFT), \ 201 return (entry->as.p.start_addr << XTENSA_MPU_ENTRY_REG_START_ADDR_SHIFT); in xtensa_mpu_entry_start_address_get() 213 entry->as.p.start_addr = addr >> XTENSA_MPU_ENTRY_REG_START_ADDR_SHIFT; in xtensa_mpu_entry_start_address_set()
|
/Zephyr-latest/drivers/video/ |
D | mt9m114.c | 189 static inline int i2c_burst_read16_dt(const struct i2c_dt_spec *spec, uint16_t start_addr, in i2c_burst_read16_dt() argument 194 addr_buffer[1] = start_addr & 0xFF; in i2c_burst_read16_dt() 195 addr_buffer[0] = start_addr >> 8; in i2c_burst_read16_dt() 199 static inline int i2c_burst_write16_dt(const struct i2c_dt_spec *spec, uint16_t start_addr, in i2c_burst_write16_dt() argument 205 addr_buffer[1] = start_addr & 0xFF; in i2c_burst_write16_dt() 206 addr_buffer[0] = start_addr >> 8; in i2c_burst_write16_dt()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | i2c.h | 1429 uint8_t start_addr, in i2c_burst_read() argument 1434 &start_addr, sizeof(start_addr), in i2c_burst_read() 1453 uint8_t start_addr, in i2c_burst_read_dt() argument 1458 start_addr, buf, num_bytes); in i2c_burst_read_dt() 1484 uint8_t start_addr, in i2c_burst_write() argument 1490 msg[0].buf = &start_addr; in i2c_burst_write() 1516 uint8_t start_addr, in i2c_burst_write_dt() argument 1521 start_addr, buf, num_bytes); in i2c_burst_write_dt()
|