Searched refs:avail_space (Results 1 – 2 of 2) sorted by relevance
475 uint32_t max_xfer_size, max_pkt_cnt, pkt_cnt, avail_space; in usb_dw_tx() local482 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()
1669 uint8_t avail_space; in friend_queue_prepare_space() local1675 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()