/Zephyr-latest/subsys/usb/usb_c/ |
D | usbc_stack.h | 233 int ret_cb = -ENOSYS; in usbc_policy_src_en() local 237 ret_cb = data->policy_cb_src_en(dev, en); in usbc_policy_src_en() 238 if (ret_cb != 0 && ret_cb != -ENOSYS) { in usbc_policy_src_en() 239 return ret_cb; in usbc_policy_src_en() 245 return ret_cb; in usbc_policy_src_en()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_sched.c | 441 uint32_t volatile ret_cb; in after_match_slot_get() local 447 ret_cb = TICKER_STATUS_BUSY; in after_match_slot_get() 455 ticker_op_cb, (void *)&ret_cb); in after_match_slot_get() 460 ticker_op_cb, (void *)&ret_cb); in after_match_slot_get() 463 while (ret_cb == TICKER_STATUS_BUSY) { in after_match_slot_get() 475 success = (ret_cb == TICKER_STATUS_SUCCESS); in after_match_slot_get()
|
D | ull_adv_iso.c | 787 volatile uint32_t ret_cb; in ull_adv_iso_reset() local 803 ret_cb = TICKER_STATUS_BUSY; in ull_adv_iso_reset() 806 ull_ticker_status_give, (void *)&ret_cb); in ull_adv_iso_reset() 807 ret = ull_ticker_status_take(ret, &ret_cb); in ull_adv_iso_reset() 1221 volatile uint32_t ret_cb; in adv_iso_start() local 1263 ret_cb = TICKER_STATUS_BUSY; in adv_iso_start() 1270 ull_ticker_status_give, (void *)&ret_cb); in adv_iso_start() 1271 ret = ull_ticker_status_take(ret, &ret_cb); in adv_iso_start() 1386 uint32_t volatile ret_cb; in mfy_iso_offset_get() local 1393 ret_cb = TICKER_STATUS_BUSY; in mfy_iso_offset_get() [all …]
|
D | ull_scan.c | 388 uint32_t volatile ret_cb; local 610 ret_cb = TICKER_STATUS_BUSY; 625 ull_ticker_status_give, (void *)&ret_cb 631 ret = ull_ticker_status_take(ret, &ret_cb); 1071 uint32_t volatile ret_cb; local 1076 ret_cb = TICKER_STATUS_BUSY; 1082 ull_ticker_status_give, (void *)&ret_cb); 1083 ret = ull_ticker_status_take(ret, &ret_cb);
|
D | ull_adv.c | 827 uint32_t volatile ret_cb; local 1309 ret_cb = TICKER_STATUS_BUSY; 1333 ull_ticker_status_give, (void *)&ret_cb 1339 ret = ull_ticker_status_take(ret, &ret_cb); 1344 ret_cb = TICKER_STATUS_BUSY; 1353 ull_ticker_status_give, (void *)&ret_cb); 1527 ret_cb = TICKER_STATUS_BUSY; 1568 ull_ticker_status_give, (void *)&ret_cb 1576 ret = ull_ticker_status_take(ret, &ret_cb); 2191 uint32_t volatile ret_cb; local [all …]
|
D | ull_adv_aux.c | 2601 uint32_t volatile ret_cb; in ull_adv_aux_start() local 2633 ret_cb = TICKER_STATUS_BUSY; in ull_adv_aux_start() 2639 ret_cb = TICKER_STATUS_BUSY; in ull_adv_aux_start() 2651 ull_ticker_status_give, (void *)&ret_cb in ull_adv_aux_start() 2661 ret = ull_ticker_status_take(ret, &ret_cb); in ull_adv_aux_start() 3099 uint32_t volatile ret_cb; in aux_time_update() local 3114 ret_cb = TICKER_STATUS_BUSY; in aux_time_update() 3120 ull_ticker_status_give, (void *)&ret_cb); in aux_time_update() 3121 ret = ull_ticker_status_take(ret, &ret_cb); in aux_time_update() 3217 uint32_t volatile ret_cb; in mfy_aux_offset_get() local [all …]
|
D | ull_adv_sync.c | 831 uint32_t volatile ret_cb; in ull_adv_sync_start() local 851 ret_cb = TICKER_STATUS_BUSY; in ull_adv_sync_start() 855 ret_cb = TICKER_STATUS_BUSY; in ull_adv_sync_start() 865 ull_ticker_status_give, (void *)&ret_cb in ull_adv_sync_start() 872 ret = ull_ticker_status_take(ret, &ret_cb); in ull_adv_sync_start() 887 uint32_t volatile ret_cb; in ull_adv_sync_time_update() local 902 ret_cb = TICKER_STATUS_BUSY; in ull_adv_sync_time_update() 907 ull_ticker_status_give, (void *)&ret_cb); in ull_adv_sync_time_update() 908 ret = ull_ticker_status_take(ret, &ret_cb); in ull_adv_sync_time_update() 2709 uint32_t volatile ret_cb; local [all …]
|
D | ull_internal.h | 86 uint32_t ull_ticker_status_take(uint32_t ret, uint32_t volatile *ret_cb);
|
D | ull.c | 1889 uint32_t ull_ticker_status_take(uint32_t ret, uint32_t volatile *ret_cb) in ull_ticker_status_take() argument 1891 if ((ret == TICKER_STATUS_BUSY) || (*ret_cb != TICKER_STATUS_BUSY)) { in ull_ticker_status_take() 1897 return *ret_cb; in ull_ticker_status_take() 1930 uint32_t volatile ret_cb; in ull_ticker_stop_with_mark() local 1940 ret_cb = TICKER_STATUS_BUSY; in ull_ticker_stop_with_mark() 1943 (void *)&ret_cb); in ull_ticker_stop_with_mark() 1944 ret = ull_ticker_status_take(ret, &ret_cb); in ull_ticker_stop_with_mark()
|
D | ull_central_iso.c | 1117 uint32_t volatile ret_cb; in mfy_cis_offset_get() local 1124 ret_cb = TICKER_STATUS_BUSY; in mfy_cis_offset_get() 1130 ticker_op_cb, (void *)&ret_cb); in mfy_cis_offset_get() 1137 while (ret_cb == TICKER_STATUS_BUSY) { in mfy_cis_offset_get() 1143 success = (ret_cb == TICKER_STATUS_SUCCESS); in mfy_cis_offset_get()
|
D | ull_conn_iso.c | 1145 uint32_t volatile ret_cb; in mfy_cis_lazy_fill() local 1152 ret_cb = TICKER_STATUS_BUSY; in mfy_cis_lazy_fill() 1156 (void *)&ret_cb); in mfy_cis_lazy_fill() 1163 while (ret_cb == TICKER_STATUS_BUSY) { in mfy_cis_lazy_fill() 1169 success = (ret_cb == TICKER_STATUS_SUCCESS); in mfy_cis_lazy_fill()
|
D | ull_sync.c | 1518 uint32_t volatile ret_cb; local 1521 ret_cb = TICKER_STATUS_BUSY; 1531 (void *)&ret_cb); 1538 if (ret_cb == TICKER_STATUS_FAILURE) { 1544 if (ret_cb != TICKER_STATUS_BUSY) { 1551 return (ret_cb == TICKER_STATUS_FAILURE) ? -ENOENT : -ENOMEM;
|
D | ull_conn.c | 2736 uint32_t volatile ret_cb; in get_ticker_offset() local 2749 ret_cb = TICKER_STATUS_BUSY; in get_ticker_offset() 2754 ticker_get_offset_op_cb, (void *)&ret_cb); in get_ticker_offset() 2757 while (ret_cb == TICKER_STATUS_BUSY) { in get_ticker_offset() 2762 LL_ASSERT(ret_cb == TICKER_STATUS_SUCCESS); in get_ticker_offset()
|
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | ull.c | 221 uint32_t ull_ticker_status_take(uint32_t ret, uint32_t volatile *ret_cb) in ull_ticker_status_take() argument 223 return *ret_cb; in ull_ticker_status_take()
|