Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 1113) sorted by relevance

12345678910>>...45

/Zephyr-latest/tests/subsys/display/cfb/basic/src/
Ddraw_rect.c52 struct cfb_position start = {0, 0}; in ZTEST() local
53 struct cfb_position end = {start.x + 10, start.y + 22}; in ZTEST()
55 zassert_ok(cfb_draw_rect(dev, &start, &end), ""); in ZTEST()
63 struct cfb_position start = {1, 1}; in ZTEST() local
64 struct cfb_position end = {start.x + 10, start.y + 22}; in ZTEST()
66 zassert_ok(cfb_draw_rect(dev, &start, &end), ""); in ZTEST()
75 struct cfb_position start = {9, 15}; in ZTEST() local
76 struct cfb_position end = {start.x + 10, start.y + 22}; in ZTEST()
78 zassert_ok(cfb_draw_rect(dev, &start, &end), ""); in ZTEST()
86 struct cfb_position start = {10, 16}; in ZTEST() local
[all …]
Ddraw_line.c49 struct cfb_position start = {0, 0}; in ZTEST() local
52 zassert_ok(cfb_draw_line(dev, &start, &end)); in ZTEST()
60 struct cfb_position start = {0, 0}; in ZTEST() local
63 zassert_ok(cfb_draw_line(dev, &start, &end)); in ZTEST()
71 struct cfb_position start = {display_width - 1, 0}; in ZTEST() local
74 zassert_ok(cfb_draw_line(dev, &start, &end)); in ZTEST()
82 struct cfb_position start = {0, 239}; in ZTEST() local
85 zassert_ok(cfb_draw_line(dev, &start, &end)); in ZTEST()
93 struct cfb_position start = {0, 0}; in ZTEST() local
96 zassert_ok(cfb_draw_line(dev, &start, &end)); in ZTEST()
[all …]
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dmmu_ace30.c25 .start = (uint32_t)__common_ram_region_start,
32 .start = (uint32_t)L2_SRAM_BASE,
38 .start = (uint32_t)VECBASE_RESET_PADDR_SRAM,
44 .start = (uint32_t)_cached_start,
50 .start = (uint32_t)HP_SRAM_WIN0_BASE,
56 .start = (uint32_t)HP_SRAM_WIN1_BASE,
62 .start = (uint32_t)HP_SRAM_WIN2_BASE,
68 .start = (uint32_t)HP_SRAM_WIN3_BASE,
75 .start = (uint32_t)(IMR_BOOT_LDR_MANIFEST_BASE - IMR_BOOT_LDR_MANIFEST_SIZE),
81 .start = (uint32_t)IMR_BOOT_LDR_MANIFEST_BASE,
[all …]
/Zephyr-latest/tests/benchmarks/app_kernel/src/
Dmsgq_b.c18 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 …]
Dsema_b.c18 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()
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/src/
Dmath_ops.c13 static int start, stop; variable
35 start = k_cycle_get_32(); in test_vec_sum_int16_op()
44 printk("[Library Test] Vector Sum takes %d cycles\r\n", stop - start); in test_vec_sum_int16_op()
54 start = k_cycle_get_32(); in test_power_int16_op()
67 printk("[Library Test] Vector power sum takes %d cycles\r\n", stop - start); in test_power_int16_op()
76 start = k_cycle_get_32(); in test_power_int32_op()
82 printk("[Library Test] Vector power sum takes %d cycles\r\n", stop - start); in test_power_int32_op()
96 start = k_cycle_get_32(); in test_fft_op()
103 stop - start); in test_fft_op()
110 start = k_cycle_get_32(); in test_iir_op()
[all …]
/Zephyr-latest/lib/utils/
Dwinstream.c44 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-latest/samples/subsys/zbus/uart_bridge/src/
Dcore.c25 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-latest/soc/andestech/ae350/
Dpma.c46 #define NAPOT_BASE(start, size) TO_PMA_ADDR((start) & ~((size) - 1)) argument
50 #define NA4_ENCODING(start) TO_PMA_ADDR(start) argument
51 #define NAPOT_ENCODING(start, size) (NAPOT_BASE(start, size) \ argument
68 unsigned long start; member
134 pmaaddr = NA4_ENCODING(region_conf->start); in region_init()
137 pmaaddr = NAPOT_ENCODING(region_conf->start, region_conf->size); in region_init()
162 if (region->start & (region->size - 1)) { in pma_region_is_valid()
172 .start = (unsigned long)&_nocache_ram_start, in configure_nocache_region()
/Zephyr-latest/arch/riscv/core/
Dpmp.c68 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 …]
Dstacktrace.c30 uintptr_t start, end; in in_irq_stack_bound() local
32 start = (uintptr_t)K_KERNEL_STACK_BUFFER(z_interrupt_stacks[cpu_id]); in in_irq_stack_bound()
33 end = start + CONFIG_ISR_STACK_SIZE; in in_irq_stack_bound()
35 return (addr >= start) && (addr < end); in in_irq_stack_bound()
41 uintptr_t start, end; in in_kernel_thread_stack_bound() local
43 start = thread->stack_info.start; in in_kernel_thread_stack_bound()
44 end = Z_STACK_PTR_ALIGN(thread->stack_info.start + thread->stack_info.size); in in_kernel_thread_stack_bound()
46 return (addr >= start) && (addr < end); in in_kernel_thread_stack_bound()
58 uintptr_t start, end; in in_user_thread_stack_bound() local
62 start = thread->arch.priv_stack_start + Z_RISCV_STACK_GUARD_SIZE; in in_user_thread_stack_bound()
[all …]
/Zephyr-latest/include/zephyr/app_memory/
Dmem_domain.h34 #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-latest/doc/connectivity/usb/pd/
Ducds.rst41 :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-latest/arch/arm/core/mpu/
Darm_core_mpu.c71 .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 …]
/Zephyr-latest/modules/trusted-firmware-m/nordic/include/
Dtfm_read_ranges.h44 { .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-latest/arch/x86/core/
Dcache.c91 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()
Dfatal.c50 uintptr_t start, end; in z_x86_check_stack_bounds() local
62 start = (uintptr_t)K_KERNEL_STACK_BUFFER( in z_x86_check_stack_bounds()
64 end = start + CONFIG_ISR_STACK_SIZE; in z_x86_check_stack_bounds()
75 start = arch_current_thread()->stack_info.start - CONFIG_PRIVILEGED_STACK_SIZE; in z_x86_check_stack_bounds()
76 end = arch_current_thread()->stack_info.start; in z_x86_check_stack_bounds()
80 start = arch_current_thread()->stack_info.start; in z_x86_check_stack_bounds()
81 end = Z_STACK_PTR_ALIGN(arch_current_thread()->stack_info.start + in z_x86_check_stack_bounds()
85 return (addr <= start) || (addr + size > end); in z_x86_check_stack_bounds()
101 uintptr_t start, end; in z_x86_check_guard_page() local
104 start = (uintptr_t)thread->stack_info.mapped.addr - CONFIG_MMU_PAGE_SIZE; in z_x86_check_guard_page()
[all …]
/Zephyr-latest/tests/arch/x86/info/src/
Dtimer.c61 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-latest/arch/nios2/core/
Dcache.c73 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-latest/drivers/sensor/bosch/bmi270/
Dbmi270_i2c.c19 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-latest/include/zephyr/arch/arc/
Darch.h307 #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-latest/include/zephyr/timing/
Dtiming.h100 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-latest/soc/nordic/
Dtiming.c45 uint64_t soc_timing_cycles_get(volatile timing_t *const start, in soc_timing_cycles_get() argument
53 if (*end >= *start) { in soc_timing_cycles_get()
54 return (*end - *start); in soc_timing_cycles_get()
56 return COUNTER_SPAN + *end - *start; in soc_timing_cycles_get()
/Zephyr-latest/samples/modules/cmsis_dsp/moving_average/src/
Dmain.c28 uint32_t start, end; in main() local
39 start = k_cycle_get_32(); in main()
43 printf("Time: %u us (%u cycles)\n", k_cyc_to_us_floor32(end - start), end - start); in main()
/Zephyr-latest/lib/libc/minimal/source/stdlib/
Dqsort.c52 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()

12345678910>>...45