Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/bus/mhi/host/
Dmain.c231 int nr_el; in get_nr_avail_ring_elements() local
234 nr_el = ((ring->rp - ring->wp) / ring->el_size) - 1; in get_nr_avail_ring_elements()
236 nr_el = (ring->rp - ring->base) / ring->el_size; in get_nr_avail_ring_elements()
237 nr_el += ((ring->base + ring->len - ring->wp) / in get_nr_avail_ring_elements()
241 return nr_el; in get_nr_avail_ring_elements()
1472 int nr_el = get_nr_avail_ring_elements(mhi_cntrl, in mhi_prepare_channel() local
1476 while (nr_el--) { in mhi_prepare_channel()