/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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, 107 msg_text = "erase {} bit starting at {}".format(size_aligned, self.start_addr) 109 '-S', str(self.start_addr) + ":" + str(size_aligned), '-o']) 124 msg_text = "write {} bytes starting at {}".format(bin_size, self.start_addr) 126 '-S', str(self.start_addr) + ":" + str(bin_size),
|
/Zephyr-Core-3.7.0/subsys/debug/coredump/ |
D | coredump_core.c | 128 uintptr_t start_addr = POINTER_TO_UINT(irq_stack) - CONFIG_ISR_STACK_SIZE; in process_memory_region_list() local 130 coredump_memory_dump(start_addr, POINTER_TO_UINT(irq_stack)); in process_memory_region_list() 201 void coredump_memory_dump(uintptr_t start_addr, uintptr_t end_addr) in coredump_memory_dump() argument 206 if ((start_addr == POINTER_TO_UINT(NULL)) || in coredump_memory_dump() 211 if (start_addr >= end_addr) { in coredump_memory_dump() 215 len = end_addr - start_addr; in coredump_memory_dump() 221 m.start = sys_cpu_to_le64(start_addr); in coredump_memory_dump() 224 m.start = sys_cpu_to_le32(start_addr); in coredump_memory_dump() 230 coredump_buffer_output((uint8_t *)start_addr, len); in coredump_memory_dump()
|
/Zephyr-Core-3.7.0/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() 398 const uint16_t start_addr, in modbus_read_input_regs() argument 412 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_input_regs() [all …]
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/drivers/video/ |
D | mt9m114.c | 185 static inline int i2c_burst_read16_dt(const struct i2c_dt_spec *spec, uint16_t start_addr, in i2c_burst_read16_dt() argument 190 addr_buffer[1] = start_addr & 0xFF; in i2c_burst_read16_dt() 191 addr_buffer[0] = start_addr >> 8; in i2c_burst_read16_dt() 195 static inline int i2c_burst_write16_dt(const struct i2c_dt_spec *spec, uint16_t start_addr, in i2c_burst_write16_dt() argument 201 addr_buffer[1] = start_addr & 0xFF; in i2c_burst_write16_dt() 202 addr_buffer[0] = start_addr >> 8; in i2c_burst_write16_dt()
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/include/zephyr/drivers/ |
D | i2c.h | 1397 uint8_t start_addr, in i2c_burst_read() argument 1402 &start_addr, sizeof(start_addr), in i2c_burst_read() 1421 uint8_t start_addr, in i2c_burst_read_dt() argument 1426 start_addr, buf, num_bytes); in i2c_burst_read_dt() 1452 uint8_t start_addr, in i2c_burst_write() argument 1458 msg[0].buf = &start_addr; in i2c_burst_write() 1484 uint8_t start_addr, in i2c_burst_write_dt() argument 1489 start_addr, buf, num_bytes); in i2c_burst_write_dt()
|
D | i3c.h | 1874 uint8_t start_addr, in i3c_burst_read() argument 1879 &start_addr, sizeof(start_addr), in i3c_burst_read() 1904 uint8_t start_addr, in i3c_burst_write() argument 1910 msg[0].buf = &start_addr; in i3c_burst_write()
|
/Zephyr-Core-3.7.0/arch/xtensa/core/ |
D | mpu.c | 407 uintptr_t start_addr, uintptr_t end_addr, in mpu_map_region_add() argument 418 if (start_addr >= end_addr) { in mpu_map_region_add() 444 xtensa_mpu_entry_set(entry_slot_s, start_addr, true, in mpu_map_region_add() 459 xtensa_mpu_entry_set(entry_slot_s, start_addr, true, in mpu_map_region_add() 481 check_addr_in_mpu_entries(entries, start_addr, first_enabled_idx, in mpu_map_region_add() 489 __ASSERT_NO_MSG(start_addr < end_addr); in mpu_map_region_add() 536 xtensa_mpu_entry_set(entry_slot_s, start_addr, true, access_rights, memory_type); in mpu_map_region_add() 571 check_addr_in_mpu_entries(entries, start_addr, first_enabled_idx, in mpu_map_region_add()
|
/Zephyr-Core-3.7.0/scripts/build/ |
D | mergehex.py | 25 to_merge.start_addr = None
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/i3c/ |
D | addresses.h | 121 uint8_t i3c_addr_slots_next_free_find(struct i3c_addr_slots *slots, uint8_t start_addr);
|
/Zephyr-Core-3.7.0/kernel/ |
D | msg_q.c | 336 char *start_addr; in z_impl_k_msgq_peek_at() local 343 start_addr = msgq->read_ptr; in z_impl_k_msgq_peek_at() 349 start_addr = msgq->buffer_start; in z_impl_k_msgq_peek_at() 351 (void)memcpy(data, start_addr + byte_offset, msgq->msg_size); in z_impl_k_msgq_peek_at()
|