Home
last modified time | relevance | path

Searched refs:avail_space (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_dw.c475 uint32_t max_xfer_size, max_pkt_cnt, pkt_cnt, avail_space; in usb_dw_tx() local
482 avail_space = usb_dw_tx_fifo_avail(ep_idx); in usb_dw_tx()
483 if (avail_space == usb_dw_ctrl.in_ep_ctrl[ep_idx].fifo_size) { in usb_dw_tx()
492 avail_space *= 4U; in usb_dw_tx()
493 if (!avail_space) { in usb_dw_tx()
504 avail_space -= avail_space % ep_mps; in usb_dw_tx()
505 if (data_len > avail_space) { in usb_dw_tx()
506 data_len = avail_space; in usb_dw_tx()
/Zephyr-latest/subsys/bluetooth/mesh/
Dfriend.c1669 uint8_t avail_space; in friend_queue_prepare_space() local
1675 avail_space = CONFIG_BT_MESH_FRIEND_QUEUE_SIZE - frnd->queue_size; in friend_queue_prepare_space()
1678 while (pending_segments || avail_space < seg_count) { in friend_queue_prepare_space()
1687 avail_space++; in friend_queue_prepare_space()