Searched refs:num_free_elem (Results 1 – 1 of 1) sorted by relevance
112 u32 num_free_elem; in mhi_ep_ring_add_element() local123 num_free_elem = (ring->wr_offset - ring->rd_offset) - 1; in mhi_ep_ring_add_element()125 num_free_elem = ((ring->ring_size - ring->rd_offset) + ring->wr_offset) - 1; in mhi_ep_ring_add_element()128 if (!num_free_elem) { in mhi_ep_ring_add_element()