Home
last modified time | relevance | path

Searched refs:ret_cb (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/subsys/usb/usb_c/
Dusbc_stack.h233 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/
Dull_sched.c441 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()
Dull_adv_iso.c787 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 …]
Dull_scan.c388 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);
Dull_adv.c827 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 …]
Dull_adv_aux.c2601 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 …]
Dull_adv_sync.c831 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 …]
Dull_internal.h86 uint32_t ull_ticker_status_take(uint32_t ret, uint32_t volatile *ret_cb);
Dull.c1889 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()
Dull_central_iso.c1117 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()
Dull_conn_iso.c1145 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()
Dull_sync.c1518 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;
Dull_conn.c2736 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/
Dull.c221 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()