/Zephyr-Core-3.4.0/arch/riscv/core/ |
D | pmp.c | 59 static void print_pmp_entries(unsigned int start, unsigned int end, in print_pmp_entries() argument 67 for (index = start; index < end; index++) { in print_pmp_entries() 68 unsigned long start, end, tmp; in print_pmp_entries() local 72 start = (index == 0) ? 0 : (pmp_addr[index - 1] << 2); in print_pmp_entries() 76 start = pmp_addr[index] << 2; in print_pmp_entries() 77 end = start + 3; in print_pmp_entries() 81 start = tmp & (tmp + 1); in print_pmp_entries() 85 start = 0; in print_pmp_entries() 98 start, end, in print_pmp_entries() 156 uintptr_t start, size_t size, in set_pmp_entry() argument [all …]
|
D | fatal.c | 115 sp >= _current->stack_info.start - K_THREAD_STACK_RESERVED && in bad_stack_pointer() 116 sp < _current->stack_info.start - K_THREAD_STACK_RESERVED in bad_stack_pointer() 122 if (sp >= _current->stack_info.start - K_KERNEL_STACK_RESERVED && in bad_stack_pointer() 123 sp < _current->stack_info.start - K_KERNEL_STACK_RESERVED in bad_stack_pointer() 131 (esf->sp < _current->stack_info.start || in bad_stack_pointer() 132 esf->sp > _current->stack_info.start + in bad_stack_pointer() 151 unsigned long start = (unsigned long)exceptions[i].start; in _Fault() local 154 if (esf->mepc >= start && esf->mepc < end) { in _Fault()
|
/Zephyr-Core-3.4.0/lib/os/ |
D | winstream.c | 44 uint32_t start = ws->start, end = ws->end, seq = ws->seq; in sys_winstream_write() local 51 start = end; in sys_winstream_write() 60 uint32_t avail = (ws->len - 1) - idx_sub(ws, end, start); in sys_winstream_write() 63 ws->start = idx_mod(ws, start + (len - avail)); in sys_winstream_write() 70 ws->start = end; in sys_winstream_write() 88 uint32_t seq0 = *seq, start, end, wseq, len, behind, copy, suffix; in sys_winstream_read() local 91 start = ws->start; end = ws->end; wseq = ws->seq; in sys_winstream_read() 95 if (*seq == wseq || start == end) { in sys_winstream_read() 105 if (behind > idx_sub(ws, ws->end, ws->start)) { in sys_winstream_read() 126 } while (start != ws->start || wseq != ws->seq); in sys_winstream_read()
|
/Zephyr-Core-3.4.0/arch/x86/core/ |
D | cache.c | 31 uintptr_t start = (uintptr_t)start_addr; in arch_dcache_flush_range() local 32 uintptr_t end = start + size; in arch_dcache_flush_range() 40 for (; start < end; start += line_size) { in arch_dcache_flush_range() 42 "+m"(*(volatile char *)start)); in arch_dcache_flush_range()
|
/Zephyr-Core-3.4.0/samples/subsys/zbus/uart_bridge/src/ |
D | core.c | 25 struct action_msg start = {false}; in core_thread() local 28 LOG_DBG("Core sending start measurement with status %d", start.status); in core_thread() 30 start.status = !start.status; in core_thread() 31 zbus_chan_pub(&start_measurement_chan, &start, K_MSEC(500)); in core_thread()
|
/Zephyr-Core-3.4.0/include/zephyr/app_memory/ |
D | mem_domain.h | 34 #define K_MEM_PARTITION_DEFINE(name, start, size, attr) \ argument 35 _ARCH_MEM_PARTITION_ALIGN_CHECK(start, size); \ 37 { (uintptr_t)start, size, attr} 39 #define K_MEM_PARTITION_DEFINE(name, start, size, attr) \ 41 { (uintptr_t)start, size, attr} 57 uintptr_t start; member
|
/Zephyr-Core-3.4.0/doc/connectivity/usb/pd/ |
D | ucds.rst | 41 :start-after: usbc.rst usbc-port start 50 :start-after: usbc.rst vbus-voltage-divider-adc start 60 :start-after: usbc.rst port data object start 68 :start-after: usbc.rst callbacks start 76 :start-after: usbc.rst check start 84 :start-after: usbc.rst notify start 92 :start-after: usbc.rst register start 100 :start-after: usbc.rst user data start 108 :start-after: usbc.rst usbc start 131 :start-after: usbc.rst usbc-port start [all …]
|
/Zephyr-Core-3.4.0/arch/arm/core/aarch32/mpu/ |
D | arm_core_mpu.c | 71 .start = (uint32_t)&__gcov_bss_start, 79 .start = (uint32_t)&_nocache_ram_start, 87 .start = (uint32_t)&__ramfunc_start, 95 .start = (uint32_t)&__ram_text_start, 110 .start = (uint32_t)z_main_stack, 157 .start = _MPU_DYNAMIC_REGIONS_AREA_START, in z_arm_configure_static_mpu_regions() 231 partition->start, partition->size); in z_arm_configure_dynamic_mpu_regions() 235 dynamic_regions[region_num].start = partition->start; in z_arm_configure_dynamic_mpu_regions() 252 (thread->stack_info.start - base); in z_arm_configure_dynamic_mpu_regions() 257 dynamic_regions[region_num].start = base; in z_arm_configure_dynamic_mpu_regions() [all …]
|
D | arm_mpu_v8_internal.h | 201 ((part->start & in mpu_partition_is_valid() 218 static inline int get_region_index(uint32_t start, uint32_t size) in get_region_index() argument 220 uint32_t limit = (start + size - 1) & MPU_RLAR_LIMIT_Msk; in get_region_index() 224 if (start >= (mpu_get_rbar() & MPU_RBAR_BASE_Msk) && in get_region_index() 232 static inline int get_region_index(uint32_t start, uint32_t size) in get_region_index() argument 234 uint32_t region_start_addr = arm_cmse_mpu_region_get(start); in get_region_index() 235 uint32_t region_end_addr = arm_cmse_mpu_region_get(start + size - 1); in get_region_index() 371 static inline int is_in_region(uint32_t rnr, uint32_t start, uint32_t size) in is_in_region() argument 381 if (u32_add_overflow(start, size, &end)) { in is_in_region() 385 if ((start >= r_addr_start) && (end <= r_addr_end)) { in is_in_region() [all …]
|
/Zephyr-Core-3.4.0/soc/riscv/riscv-privileged/andes_v5/ |
D | pma.c | 43 #define NAPOT_BASE(start, size) TO_PMA_ADDR((start) & ~((size) - 1)) argument 49 #define NA4_ENCODING(start) TO_PMA_ADDR(start) argument 50 #define NAPOT_ENCODING(start, size) (NAPOT_BASE(start, size) \ argument 73 unsigned long start; member 171 pmaaddr = NA4_ENCODING(region_conf->start); in region_init() 174 pmaaddr = NAPOT_ENCODING(region_conf->start, region_conf->size); in region_init() 198 ((region->start & (region->size - 1)) == 0U); in pma_region_is_valid() 211 .start = (unsigned long)&_nocache_ram_start, in configure_nocache_region()
|
/Zephyr-Core-3.4.0/soc/arm/nordic_nrf/ |
D | timing.c | 45 uint64_t soc_timing_cycles_get(volatile timing_t *const start, in soc_timing_cycles_get() argument 50 if (*end >= *start) { in soc_timing_cycles_get() 51 return (*end - *start); in soc_timing_cycles_get() 53 return COUNTER_SPAN + *end - *start; in soc_timing_cycles_get() 56 return (*end - *start); in soc_timing_cycles_get()
|
/Zephyr-Core-3.4.0/tests/arch/x86/info/src/ |
D | timer.c | 61 uint32_t start, end; in timer() local 63 start = sync(cmos); in timer() 65 sum += end - start; in timer() 68 start, end, end - start); in timer()
|
/Zephyr-Core-3.4.0/arch/nios2/core/ |
D | cache.c | 73 void z_nios2_dcache_flush_no_writeback(void *start, uint32_t len) in z_nios2_dcache_flush_no_writeback() argument 76 uint8_t *end = ((char *) start) + len; in z_nios2_dcache_flush_no_writeback() 78 for (i = start; i < end; i += ALT_CPU_DCACHE_LINE_SIZE) { in z_nios2_dcache_flush_no_writeback() 88 if (((uint32_t) start) & (ALT_CPU_DCACHE_LINE_SIZE - 1)) { in z_nios2_dcache_flush_no_writeback()
|
/Zephyr-Core-3.4.0/drivers/sensor/bmi270/ |
D | bmi270_i2c.c | 19 uint8_t start, uint8_t *data, uint16_t len) in bmi270_reg_read_i2c() argument 21 return i2c_burst_read_dt(&bus->i2c, start, data, len); in bmi270_reg_read_i2c() 24 static int bmi270_reg_write_i2c(const union bmi270_bus *bus, uint8_t start, in bmi270_reg_write_i2c() argument 27 return i2c_burst_write_dt(&bus->i2c, start, data, len); in bmi270_reg_write_i2c()
|
/Zephyr-Core-3.4.0/include/zephyr/arch/arc/ |
D | arch.h | 307 #define _ARCH_MEM_PARTITION_ALIGN_CHECK(start, size) \ argument 312 BUILD_ASSERT(IS_BUILTIN_MWDT(size) ? IS_BUILTIN_MWDT(start) ? \ 313 !((uintptr_t)(start) & ((size) - 1)) : 1 : 1, \ 316 #define _ARCH_MEM_PARTITION_ALIGN_CHECK(start, size) \ argument 321 BUILD_ASSERT(IS_BUILTIN_MWDT(start) ? (uintptr_t)(start) % Z_ARC_MPU_ALIGN == 0 : 1, \ 326 #define _ARCH_MEM_PARTITION_ALIGN_CHECK(start, size) \ argument 331 BUILD_ASSERT(!((uintptr_t)(start) & ((size) - 1)), \ 334 #define _ARCH_MEM_PARTITION_ALIGN_CHECK(start, size) \ argument 339 BUILD_ASSERT((uintptr_t)(start) % Z_ARC_MPU_ALIGN == 0, \
|
/Zephyr-Core-3.4.0/include/zephyr/timing/ |
D | timing.h | 21 uint64_t soc_timing_cycles_get(volatile timing_t *const start, 32 uint64_t board_timing_cycles_get(volatile timing_t *const start, 98 static inline uint64_t timing_cycles_get(volatile timing_t *const start, in timing_cycles_get() argument 102 return board_timing_cycles_get(start, end); in timing_cycles_get() 104 return soc_timing_cycles_get(start, end); in timing_cycles_get() 106 return arch_timing_cycles_get(start, end); in timing_cycles_get()
|
/Zephyr-Core-3.4.0/lib/libc/minimal/source/stdlib/ |
D | qsort.c | 52 static void sift_down(void *base, int start, int end, size_t size, struct qsort_comp *cmp) in sift_down() argument 58 for (swap = start, root = swap; left(root) < end; root = swap) { in sift_down() 81 int start; in heapify() local 83 for (start = parent(nmemb - 1); start >= 0; --start) { in heapify() 84 sift_down(base, start, nmemb, size, cmp); in heapify()
|
/Zephyr-Core-3.4.0/kernel/ |
D | mem_domain.c | 43 part->start); in check_add_partition() 50 part, part->start); in check_add_partition() 54 pstart = part->start; in check_add_partition() 55 pend = part->start + part->size; in check_add_partition() 59 part, part->start, part->size); in check_add_partition() 74 dstart = dpart->start; in check_add_partition() 79 part, part->start, part->size, in check_add_partition() 80 dpart->start, dpart->size); in check_add_partition() 193 part->start, part->size, domain); in k_mem_domain_add_partition() 195 domain->partitions[p_idx].start = part->start; in k_mem_domain_add_partition() [all …]
|
/Zephyr-Core-3.4.0/samples/userspace/prod_consumer/src/ |
D | main.c | 35 LOG_INF("APP A partition: %p %zu", (void *)app_a_partition.start, in main() 37 LOG_INF("APP B partition: %p %zu", (void *)app_b_partition.start, in main() 39 LOG_INF("Shared partition: %p %zu", (void *)shared_partition.start, in main() 42 LOG_INF("libc partition: %p %zu", (void *)z_libc_partition.start, in main()
|
/Zephyr-Core-3.4.0/lib/libc/minimal/source/string/ |
D | string.c | 163 char *start, *end; in strtok_r() local 165 start = str ? str : *state; in strtok_r() 168 while (*start && strchr(sep, *start)) { in strtok_r() 169 start++; in strtok_r() 172 if (*start == '\0') { in strtok_r() 173 *state = start; in strtok_r() 178 end = start; in strtok_r() 190 return start; in strtok_r()
|
/Zephyr-Core-3.4.0/arch/xtensa/core/ |
D | xtensa_mmu.c | 79 .start = (uint32_t)__data_start, 85 .start = (uint32_t)_bss_start, 92 .start = (uint32_t)_heap_start, 99 .start = (uint32_t)__text_region_start, 106 .start = (uint32_t)__rodata_region_start, 126 static void map_memory_range(const uint32_t start, const uint32_t end, in map_memory_range() argument 131 for (page = start; page < end; page += CONFIG_MMU_PAGE_SIZE) { in map_memory_range() 152 static void map_memory(const uint32_t start, const uint32_t end, in map_memory() argument 155 map_memory_range(start, end, attrs); in map_memory() 158 if (arch_xtensa_is_ptr_uncached((void *)start)) { in map_memory() [all …]
|
/Zephyr-Core-3.4.0/subsys/net/lib/mqtt/ |
D | mqtt_encoder.c | 186 static uint32_t mqtt_encode_fixed_header(uint8_t message_type, uint8_t *start, in mqtt_encode_fixed_header() argument 189 uint32_t length = buf->cur - start; in mqtt_encode_fixed_header() 204 buf->cur = start - fixed_header_length; in mqtt_encode_fixed_header() 250 uint8_t *start; in mqtt_message_id_only_enc() local 259 start = buf->cur; in mqtt_message_id_only_enc() 266 return mqtt_encode_fixed_header(message_type, start, buf); in mqtt_message_id_only_enc() 278 uint8_t *start; in connect_request_encode() local 288 start = buf->cur; in connect_request_encode() 388 return mqtt_encode_fixed_header(message_type, start, buf); in connect_request_encode() 397 uint8_t *start; in publish_encode() local [all …]
|
/Zephyr-Core-3.4.0/scripts/release/ |
D | list_devicetree_bindings_changes.py | 62 start: List[str] 67 start: List[str] 81 start: str 87 start: Any 93 start: Any 99 start: Any 105 start: bool 111 start: bool 234 start = binding_start.specifier2cells 237 if start == end: [all …]
|
/Zephyr-Core-3.4.0/arch/arm/core/aarch32/ |
D | thread.c | 69 thread->stack_info.start += MPU_GUARD_ALIGN_AND_SIZE; in arch_new_thread() 80 thread->stack_info.start += FP_GUARD_EXTRA_SIZE; in arch_new_thread() 167 thread->stack_info.start += in z_arm_thread_stack_info_adjust() 188 thread->stack_info.start -= in z_arm_thread_stack_info_adjust() 257 _current->stack_info.start -= FP_GUARD_EXTRA_SIZE; in arch_user_mode_enter() 261 _current->stack_info.start -= MPU_GUARD_ALIGN_AND_SIZE; in arch_user_mode_enter() 284 (uint32_t)_current->stack_info.start, in arch_user_mode_enter() 326 __ASSERT(thread->stack_info.start == ((uint32_t)thread->stack_obj), in configure_builtin_stack_guard() 330 uint32_t guard_start = thread->stack_info.start; in configure_builtin_stack_guard() 429 if (IS_MPU_GUARD_VIOLATION(thread->stack_info.start - in z_check_thread_stack_fail() [all …]
|
/Zephyr-Core-3.4.0/tests/lib/sys_util/src/ |
D | main.c | 24 uint32_t start, end, expected; in ZTEST() local 35 start = k_cycle_get_32(); in ZTEST() 38 zassert_true(end-start >= expected, "wait for 1ms"); in ZTEST()
|