Searched refs:ring_cache (Results 1 – 3 of 3) sorted by relevance
49 buf_info.dev_addr = &ring->ring_cache[start]; in __mhi_ep_cache_ring()57 buf_info.dev_addr = &ring->ring_cache[start]; in __mhi_ep_cache_ring()65 buf_info.dev_addr = &ring->ring_cache[0]; in __mhi_ep_cache_ring()190 ring->ring_cache = kcalloc(ring->ring_size, sizeof(struct mhi_ring_element), GFP_KERNEL); in mhi_ep_ring_start()191 if (!ring->ring_cache) in mhi_ep_ring_start()198 kfree(ring->ring_cache); in mhi_ep_ring_start()210 kfree(ring->ring_cache); in mhi_ep_ring_reset()211 ring->ring_cache = NULL; in mhi_ep_ring_reset()
327 struct mhi_ring_element *el = &ring->ring_cache[ring->rd_offset]; in mhi_ep_read_completion()408 el = &ring->ring_cache[mhi_chan->rd_offset]; in mhi_ep_read_channel()509 struct mhi_ring_element *el = &ring->ring_cache[ring->rd_offset]; in mhi_ep_skb_completion()565 el = &ring->ring_cache[mhi_chan->rd_offset]; in mhi_ep_queue_skb()788 el = &ring->ring_cache[ring->rd_offset]; in mhi_ep_cmd_ring_worker()
127 struct mhi_ring_element *ring_cache; member