Searched refs:nr_el (Results 1 – 1 of 1) sorted by relevance
185 int nr_el; in get_nr_avail_ring_elements() local188 nr_el = ((ring->rp - ring->wp) / ring->el_size) - 1; in get_nr_avail_ring_elements()190 nr_el = (ring->rp - ring->base) / ring->el_size; in get_nr_avail_ring_elements()191 nr_el += ((ring->base + ring->len - ring->wp) / in get_nr_avail_ring_elements()195 return nr_el; in get_nr_avail_ring_elements()1331 int nr_el = get_nr_avail_ring_elements(mhi_cntrl, in mhi_prepare_channel() local1335 while (nr_el--) { in mhi_prepare_channel()