/Zephyr-latest/scripts/coccinelle/ |
D | deref_null.cocci | 22 position p1; 25 (E != NULL && ...) ? <+...E->f@p1...+> : ... 44 position p1; 47 if@p1 ((E == NULL && ...) || ...) S1 else S2 58 position p!={pr1.p1,pr2.p2}; 59 position ifm.p1; 62 if@p1 ((E == NULL && ...) || ...) 93 p1 << ifm.p1; 103 p1 << ifm.p1; 119 position p!={pr1.p1,pr2.p2}; [all …]
|
D | returnvar.cocci | 43 position p1, p2; 45 T ret@p1 = C; 51 p1 << r1.p1; 56 coccilib.report.print_report(p1[0], "Unneeded variable: \"" + ret + 61 p1 << r1.p1; 66 cocci.print_main("unneeded \"" + ret + "\" variable", p1)
|
D | mini_lock.cocci | 19 position p1,p; 24 irq_lock@p1 26 k_mutex_lock@p1 28 k_sem_take@p1 30 k_spin_lock@p1 40 position p1 != prelocked.p1; 58 unlock@p1(E1,...) 65 position up != prelocked.p1; 85 p << prelocked.p1; 95 p << prelocked.p1;
|
D | semicolon.cocci | 48 position p1; 55 S@p1;@p 60 p1 << r1.p1; 62 if p[0].line != p1[0].line_end:
|
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 10 * P1.03 looped back to P1.02 27 /* Temporary workaround to reserve P1.03 for cpuapp */ 32 /* Temporary workaround to reserve P1.02 for cpuapp */
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 10 * P1.10 looped back to P1.11
|
/Zephyr-latest/tests/kernel/sched/schedule_api/src/ |
D | user_api.c | 22 static void sleepy_thread(void *p1, void *p2, void *p3) in sleepy_thread() argument 24 ARG_UNUSED(p1); in sleepy_thread() 45 static void preempt_test_thread(void *p1, void *p2, void *p3) in preempt_test_thread() argument 47 ARG_UNUSED(p1); in preempt_test_thread() 97 static void thread_suspend_init_null(void *p1, void *p2, void *p3) in thread_suspend_init_null() argument 99 ARG_UNUSED(p1); in thread_suspend_init_null() 138 static void thread_resume_init_null(void *p1, void *p2, void *p3) in thread_resume_init_null() argument 140 ARG_UNUSED(p1); in thread_resume_init_null() 179 static void thread_priority_get_init_null(void *p1, void *p2, void *p3) in thread_priority_get_init_null() argument 181 ARG_UNUSED(p1); in thread_priority_get_init_null() [all …]
|
/Zephyr-latest/tests/lib/heap/src/ |
D | main.c | 296 void *p1, *p2, *p3; in ZTEST() local 307 p1 = sys_heap_alloc(&heap, 64); in ZTEST() 308 realloc_fill_block(p1, 64); in ZTEST() 309 p2 = sys_heap_realloc(&heap, p1, 128); in ZTEST() 312 zassert_true(p1 == p2, in ZTEST() 314 p1, p2); in ZTEST() 315 zassert_true(realloc_check_block(p2, p1, 64), "data changed"); in ZTEST() 320 p1 = sys_heap_alloc(&heap, 64); in ZTEST() 321 realloc_fill_block(p1, 64); in ZTEST() 324 p3 = sys_heap_realloc(&heap, p1, 128); in ZTEST() [all …]
|
/Zephyr-latest/tests/kernel/timer/timer_error_case/src/ |
D | main.c | 23 static void thread_timer_start_null(void *p1, void *p2, void *p3) in thread_timer_start_null() argument 25 ARG_UNUSED(p1); in thread_timer_start_null() 62 static void thread_timer_stop_null(void *p1, void *p2, void *p3) in thread_timer_stop_null() argument 64 ARG_UNUSED(p1); in thread_timer_stop_null() 100 static void thread_timer_status_get_null(void *p1, void *p2, void *p3) in thread_timer_status_get_null() argument 102 ARG_UNUSED(p1); in thread_timer_status_get_null() 138 static void thread_timer_status_sync_null(void *p1, void *p2, void *p3) in thread_timer_status_sync_null() argument 140 ARG_UNUSED(p1); in thread_timer_status_sync_null() 176 static void thread_timer_remaining_ticks_null(void *p1, void *p2, void *p3) in thread_timer_remaining_ticks_null() argument 178 ARG_UNUSED(p1); in thread_timer_remaining_ticks_null() [all …]
|
/Zephyr-latest/tests/kernel/mutex/mutex_api/src/ |
D | test_mutex_apis.c | 38 static void tThread_entry_lock_forever(void *p1, void *p2, void *p3) in tThread_entry_lock_forever() argument 40 zassert_false(k_mutex_lock((struct k_mutex *)p1, K_FOREVER) == 0, in tThread_entry_lock_forever() 45 static void tThread_entry_lock_no_wait(void *p1, void *p2, void *p3) in tThread_entry_lock_no_wait() argument 47 zassert_true(k_mutex_lock((struct k_mutex *)p1, K_NO_WAIT) != 0); in tThread_entry_lock_no_wait() 51 static void tThread_entry_lock_timeout_fail(void *p1, void *p2, void *p3) in tThread_entry_lock_timeout_fail() argument 53 zassert_true(k_mutex_lock((struct k_mutex *)p1, in tThread_entry_lock_timeout_fail() 58 static void tThread_entry_lock_timeout_pass(void *p1, void *p2, void *p3) in tThread_entry_lock_timeout_pass() argument 60 zassert_true(k_mutex_lock((struct k_mutex *)p1, in tThread_entry_lock_timeout_pass() 63 k_mutex_unlock((struct k_mutex *)p1); in tThread_entry_lock_timeout_pass() 114 static void tThread_T1_priority_inheritance(void *p1, void *p2, void *p3) in tThread_T1_priority_inheritance() argument [all …]
|
/Zephyr-latest/boards/nordic/nrf9160dk/dts/bindings/ |
D | nordic,nrf9160dk-nrf52840-interface.yaml | 18 | P0.22 | -- nRF interface line 4 -- | P1.04 | 19 | P0.23 | -- nRF interface line 5 -- | P1.02 | 20 | COEX0 | -- nRF interface line 6 -- | P1.13 | 21 | COEX1 | -- nRF interface line 7 -- | P1.11 | 22 | COEX2 | -- nRF interface line 8 -- | P1.15 |
|
/Zephyr-latest/dts/bindings/gpio/ |
D | nordic-thingy53-edge-connector.yaml | 6 P1 VLi-Ion 10 P5 P1.01/GRANT 11 P6 P1.00/REQ
|
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 22 zephyr,input-positive = <NRF_SAADC_AIN1>; /* P1.01 */ 31 zephyr,input-positive = <NRF_SAADC_AIN2>; /* P1.02 */ 41 zephyr,input-positive = <NRF_SAADC_AIN3>; /* P1.03 */ 42 zephyr,input-negative = <NRF_SAADC_AIN7>; /* P1.07 */
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 22 zephyr,input-positive = <NRF_SAADC_AIN4>; /* P1.11 */ 31 zephyr,input-positive = <NRF_SAADC_AIN2>; /* P1.06 */ 51 zephyr,input-positive = <NRF_SAADC_AIN6>; /* P1.13 */ 52 zephyr,input-negative = <NRF_SAADC_AIN7>; /* P1.14 */
|
/Zephyr-latest/samples/drivers/adc/adc_sequence/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 28 zephyr,input-positive = <NRF_SAADC_AIN1>; /* P1.01 */ 37 zephyr,input-positive = <NRF_SAADC_AIN2>; /* P1.02 */ 47 zephyr,input-positive = <NRF_SAADC_AIN3>; /* P1.03 */ 48 zephyr,input-negative = <NRF_SAADC_AIN7>; /* P1.07 */
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 28 zephyr,input-positive = <NRF_SAADC_AIN4>; /* P1.11 */ 37 zephyr,input-positive = <NRF_SAADC_AIN2>; /* P1.06 */ 57 zephyr,input-positive = <NRF_SAADC_AIN6>; /* P1.13 */ 58 zephyr,input-negative = <NRF_SAADC_AIN7>; /* P1.14 */
|
/Zephyr-latest/tests/benchmarks/thread_metric/src/ |
D | tm_cooperative_scheduling_test.c | 54 void tm_cooperative_thread_0_entry(void *p1, void *p2, void *p3); 55 void tm_cooperative_thread_1_entry(void *p1, void *p2, void *p3); 56 void tm_cooperative_thread_2_entry(void *p1, void *p2, void *p3); 57 void tm_cooperative_thread_3_entry(void *p1, void *p2, void *p3); 58 void tm_cooperative_thread_4_entry(void *p1, void *p2, void *p3); 102 void tm_cooperative_thread_0_entry(void *p1, void *p2, void *p3) in tm_cooperative_thread_0_entry() argument 104 (void)p1; in tm_cooperative_thread_0_entry() 119 void tm_cooperative_thread_1_entry(void *p1, void *p2, void *p3) in tm_cooperative_thread_1_entry() argument 121 (void)p1; in tm_cooperative_thread_1_entry() 136 void tm_cooperative_thread_2_entry(void *p1, void *p2, void *p3) in tm_cooperative_thread_2_entry() argument [all …]
|
D | tm_preemptive_scheduling_test.c | 54 void tm_preemptive_thread_0_entry(void *p1, void *p2, void *p3); 55 void tm_preemptive_thread_1_entry(void *p1, void *p2, void *p3); 56 void tm_preemptive_thread_2_entry(void *p1, void *p2, void *p3); 57 void tm_preemptive_thread_3_entry(void *p1, void *p2, void *p3); 58 void tm_preemptive_thread_4_entry(void *p1, void *p2, void *p3); 106 void tm_preemptive_thread_0_entry(void *p1, void *p2, void *p3) in tm_preemptive_thread_0_entry() argument 108 (void)p1; in tm_preemptive_thread_0_entry() 127 void tm_preemptive_thread_1_entry(void *p1, void *p2, void *p3) in tm_preemptive_thread_1_entry() argument 129 (void)p1; in tm_preemptive_thread_1_entry() 152 void tm_preemptive_thread_2_entry(void *p1, void *p2, void *p3) in tm_preemptive_thread_2_entry() argument [all …]
|
/Zephyr-latest/tests/kernel/condvar/condvar_api/src/ |
D | main.c | 58 void condvar_wait_task(void *p1, void *p2, void *p3) in condvar_wait_task() argument 61 k_ticks_t time_val = *(int *)p1; in condvar_wait_task() 91 void condvar_wake_task(void *p1, void *p2, void *p3) in condvar_wake_task() argument 100 void condvar_wake_multiple(void *p1, void *p2, void *p3) in condvar_wake_multiple() argument 103 int woken_num = *(int *)p1; in condvar_wake_multiple() 110 void condvar_wait_wake_task(void *p1, void *p2, void *p3) in condvar_wait_wake_task() argument 113 int time_val = *(int *)p1; in condvar_wait_wake_task() 320 void condvar_multiple_wait_wake_task(void *p1, void *p2, void *p3) in condvar_multiple_wait_wake_task() argument 323 int time_val = *(int *)p1; in condvar_multiple_wait_wake_task() 338 void condvar_multiple_wake_task(void *p1, void *p2, void *p3) in condvar_multiple_wake_task() argument [all …]
|
/Zephyr-latest/tests/kernel/msgq/msgq_api/src/ |
D | test_msgq_contexts.c | 87 static void thread_entry(void *p1, void *p2, void *p3) in thread_entry() argument 89 get_msgq((struct k_msgq *)p1); in thread_entry() 108 static void thread_entry_overflow(void *p1, void *p2, void *p3) in thread_entry_overflow() argument 114 ret = k_msgq_get(p1, &rx_buf[0], K_FOREVER); in thread_entry_overflow() 118 ret = k_msgq_get(p1, &rx_buf[1], K_FOREVER); in thread_entry_overflow() 160 static void thread_entry_get_data(void *p1, void *p2, void *p3) in thread_entry_get_data() argument 165 while (k_msgq_get(p1, &rx_buf[i], K_NO_WAIT) != 0) { in thread_entry_get_data() 172 static void pend_thread_entry(void *p1, void *p2, void *p3) in pend_thread_entry() argument 176 ret = k_msgq_put(p1, &data[1], TIMEOUT); in pend_thread_entry() 201 static void get_empty_entry(void *p1, void *p2, void *p3) in get_empty_entry() argument [all …]
|
/Zephyr-latest/tests/integration/kernel/src/ |
D | main.c | 36 static void thread_entry_fn_fifo(void *p1, void *p2, void *p3) in thread_entry_fn_fifo() argument 43 rx_data = k_fifo_get((struct k_fifo *)p1, K_NO_WAIT); in thread_entry_fn_fifo() 50 k_fifo_put((struct k_fifo *)p1, &fifo_data[i]); in thread_entry_fn_fifo() 105 static void thread_entry_fn_lifo(void *p1, void *p2, void *p3) in thread_entry_fn_lifo() argument 112 rx_data = k_lifo_get((struct k_lifo *)p1, K_NO_WAIT); in thread_entry_fn_lifo() 119 k_lifo_put((struct k_lifo *)p1, &lifo_data[i]); in thread_entry_fn_lifo() 174 static void thread_entry_fn_stack(void *p1, void *p2, void *p3) in thread_entry_fn_stack() argument 186 k_stack_pop((struct k_stack *)p1, (stack_data_t *)&rx_data, K_NO_WAIT); in thread_entry_fn_stack() 195 k_stack_push((struct k_stack *)p1, (stack_data_t)&stack_data[i]); in thread_entry_fn_stack() 254 static void thread_entry_fn_mutex(void *p1, void *p2, void *p3) in thread_entry_fn_mutex() argument [all …]
|
/Zephyr-latest/tests/benchmarks/footprints/src/ |
D | system_thread.c | 22 void test_thread_entry(void *p, void *p1, void *p2) in test_thread_entry() argument 29 void thread_swap(void *p1, void *p2, void *p3) in thread_swap() argument 34 void thread_suspend(void *p1, void *p2, void *p3) in thread_suspend() argument 39 void thread_yield0(void *p1, void *p2, void *p3) in thread_yield0() argument 51 void thread_yield1(void *p1, void *p2, void *p3) in thread_yield1() argument
|
/Zephyr-latest/dts/bindings/sensor/ |
D | nordic,nrf-qdec.yaml | 33 For pins P1.0 through P1.31, add 32 to the pin number. For 34 example, to use P1.2 for the A pin, set:
|
/Zephyr-latest/tests/kernel/mutex/sys_mutex/src/ |
D | thread_competition.c | 33 static void low_prio_wait_for_mutex(void *p1, void *p2, void *p3) in low_prio_wait_for_mutex() argument 35 struct sys_mutex *pmutex = p1; in low_prio_wait_for_mutex() 48 static void high_prio_t1_wait_for_mutex(void *p1, void *p2, void *p3) in high_prio_t1_wait_for_mutex() argument 50 struct sys_mutex *pmutex = p1; in high_prio_t1_wait_for_mutex() 63 static void high_prio_t2_wait_for_mutex(void *p1, void *p2, void *p3) in high_prio_t2_wait_for_mutex() argument 65 struct sys_mutex *pmutex = p1; in high_prio_t2_wait_for_mutex()
|
/Zephyr-latest/modules/canopennode/ |
D | canopen_sync.c | 15 * @param p1 Unused 19 static void canopen_sync_thread(void *p1, void *p2, void *p3) in canopen_sync_thread() argument 27 ARG_UNUSED(p1); in canopen_sync_thread()
|