/Zephyr-Core-3.6.0/tests/benchmarks/app_kernel/src/ |
D | msgq_b.c | 18 timing_t start; in message_queue_test() local 22 start = timing_timestamp_get(); in message_queue_test() 27 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test() 31 start = timing_timestamp_get(); in message_queue_test() 36 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test() 41 start = timing_timestamp_get(); in message_queue_test() 46 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test() 51 start = timing_timestamp_get(); in message_queue_test() 56 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test() 61 start = timing_timestamp_get(); in message_queue_test() [all …]
|
D | sema_b.c | 18 timing_t start; in sema_test() local 22 start = timing_timestamp_get(); in sema_test() 27 et = (uint32_t)timing_cycles_get(&start, &end); in sema_test() 35 start = timing_timestamp_get(); in sema_test() 40 et = (uint32_t)timing_cycles_get(&start, &end); in sema_test() 45 start = timing_timestamp_get(); in sema_test() 50 et = (uint32_t)timing_cycles_get(&start, &end); in sema_test()
|
D | mutex_b.c | 18 timing_t start; in mutex_test() local 22 start = timing_timestamp_get(); in mutex_test() 28 et = (uint32_t)timing_cycles_get(&start, &end); in mutex_test()
|
/Zephyr-Core-3.6.0/lib/utils/ |
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.6.0/arch/riscv/core/ |
D | pmp.c | 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 164 __ASSERT((start & (CONFIG_PMP_GRANULARITY - 1)) == 0, "misaligned start address"); in set_pmp_entry() 171 ((index == 0 && start == 0) || in set_pmp_entry() [all …]
|
D | fatal.c | 116 sp >= _current->stack_info.start - K_THREAD_STACK_RESERVED && in bad_stack_pointer() 117 sp < _current->stack_info.start - K_THREAD_STACK_RESERVED in bad_stack_pointer() 123 if (sp >= _current->stack_info.start - K_KERNEL_STACK_RESERVED && in bad_stack_pointer() 124 sp < _current->stack_info.start - K_KERNEL_STACK_RESERVED in bad_stack_pointer() 132 (esf->sp < _current->stack_info.start || in bad_stack_pointer() 133 esf->sp > _current->stack_info.start + in bad_stack_pointer() 152 unsigned long start = (unsigned long)exceptions[i].start; in _Fault() local 155 if (esf->mepc >= start && esf->mepc < end) { in _Fault()
|
/Zephyr-Core-3.6.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.6.0/soc/riscv/andes_v5/ae350/ |
D | pma.c | 44 #define NAPOT_BASE(start, size) TO_PMA_ADDR((start) & ~((size) - 1)) argument 48 #define NA4_ENCODING(start) TO_PMA_ADDR(start) argument 49 #define NAPOT_ENCODING(start, size) (NAPOT_BASE(start, size) \ argument 66 unsigned long start; member 131 pmaaddr = NA4_ENCODING(region_conf->start); in region_init() 134 pmaaddr = NAPOT_ENCODING(region_conf->start, region_conf->size); in region_init() 159 if (region->start & (region->size - 1)) { in pma_region_is_valid() 170 .start = (unsigned long)&_nocache_ram_start, in configure_nocache_region()
|
/Zephyr-Core-3.6.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.6.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.6.0/arch/arm/core/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_reloc_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.6.0/modules/trusted-firmware-m/nordic_nrf/include/ |
D | tfm_read_ranges.h | 44 { .start = FICR_INFO_ADDR, .size = FICR_INFO_SIZE }, 47 { .start = FICR_NFC_ADDR, .size = FICR_NFC_SIZE }, 50 { .start = FICR_RESTRICTED_ADDR, .size = FICR_RESTRICTED_SIZE }, 53 { .start = FICR_XOSC32MTRIM_ADDR, .size = FICR_XOSC32MTRIM_SIZE }, 56 { .start = FICR_SIPINFO_ADDR, .size = FICR_SIPINFO_SIZE },
|
/Zephyr-Core-3.6.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.6.0/arch/x86/core/ |
D | cache.c | 91 uintptr_t start = (uintptr_t)start_addr; in arch_dcache_flush_range() local 92 uintptr_t end = start + size; in arch_dcache_flush_range() 100 for (; start < end; start += line_size) { in arch_dcache_flush_range() 102 "+m"(*(volatile char *)start)); in arch_dcache_flush_range()
|
/Zephyr-Core-3.6.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.6.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.6.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.6.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.6.0/include/zephyr/timing/ |
D | timing.h | 100 uint64_t soc_timing_cycles_get(volatile timing_t *const start, 216 uint64_t board_timing_cycles_get(volatile timing_t *const start, 318 static inline uint64_t timing_cycles_get(volatile timing_t *const start, in timing_cycles_get() argument 322 return board_timing_cycles_get(start, end); in timing_cycles_get() 324 return soc_timing_cycles_get(start, end); in timing_cycles_get() 326 return arch_timing_cycles_get(start, end); in timing_cycles_get()
|
/Zephyr-Core-3.6.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.6.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.6.0/tests/benchmarks/latency_measure/src/ |
D | events.c | 31 timing_t start; in event_ops_entry() local 39 start = timing_timestamp_get(); in event_ops_entry() 45 timestamp.cycles = timing_cycles_get(&start, &finish); in event_ops_entry() 53 start = timing_timestamp_get(); in event_ops_entry() 59 timestamp.cycles = timing_cycles_get(&start, &finish); in event_ops_entry() 67 start = timing_timestamp_get(); in event_ops_entry() 73 timestamp.cycles = timing_cycles_get(&start, &finish); in event_ops_entry() 81 start = timing_timestamp_get(); in event_ops_entry() 87 timestamp.cycles = timing_cycles_get(&start, &finish); in event_ops_entry() 122 timing_t start; in alt_thread_entry() local [all …]
|
/Zephyr-Core-3.6.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.6.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()
|