Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/bus/mhi/ep/
Dinternal.h121 struct mhi_ep_ring *ring;
124 struct mhi_ep_ring { struct
142 struct mhi_ep_ring ring; argument
146 struct mhi_ep_ring ring;
157 struct mhi_ep_ring ring;
170 void mhi_ep_ring_init(struct mhi_ep_ring *ring, enum mhi_ep_ring_type type, u32 id);
171 void mhi_ep_ring_reset(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring);
172 int mhi_ep_ring_start(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring,
174 size_t mhi_ep_ring_addr2offset(struct mhi_ep_ring *ring, u64 ptr);
175 int mhi_ep_ring_add_element(struct mhi_ep_ring *ring, struct mhi_ring_element *element);
[all …]
Dring.c10 size_t mhi_ep_ring_addr2offset(struct mhi_ep_ring *ring, u64 ptr) in mhi_ep_ring_addr2offset()
15 static u32 mhi_ep_ring_num_elems(struct mhi_ep_ring *ring) in mhi_ep_ring_num_elems()
24 void mhi_ep_ring_inc_index(struct mhi_ep_ring *ring) in mhi_ep_ring_inc_index()
29 static int __mhi_ep_cache_ring(struct mhi_ep_ring *ring, size_t end) in __mhi_ep_cache_ring()
74 static int mhi_ep_cache_ring(struct mhi_ep_ring *ring, u64 wr_ptr) in mhi_ep_cache_ring()
91 int mhi_ep_update_wr_offset(struct mhi_ep_ring *ring) in mhi_ep_update_wr_offset()
101 int mhi_ep_ring_add_element(struct mhi_ep_ring *ring, struct mhi_ring_element *el) in mhi_ep_ring_add_element()
144 void mhi_ep_ring_init(struct mhi_ep_ring *ring, enum mhi_ep_ring_type type, u32 id) in mhi_ep_ring_init()
160 int mhi_ep_ring_start(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, in mhi_ep_ring_start()
202 void mhi_ep_ring_reset(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring) in mhi_ep_ring_reset()
Dmain.c33 struct mhi_ep_ring *ring; in mhi_ep_send_event()
71 static int mhi_ep_send_completion_event(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, in mhi_ep_send_completion_event()
105 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_cmd->ring; in mhi_ep_send_cmd_comp_event()
115 static int mhi_ep_process_cmd_ring(struct mhi_ep_ring *ring, struct mhi_ring_element *el) in mhi_ep_process_cmd_ring()
121 struct mhi_ep_ring *ch_ring; in mhi_ep_process_cmd_ring()
270 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_chan[mhi_chan->chan].ring; in mhi_ep_queue_is_empty()
277 struct mhi_ep_ring *ring, in mhi_ep_read_channel()
386 static int mhi_ep_process_ch_ring(struct mhi_ep_ring *ring, struct mhi_ring_element *el) in mhi_ep_process_ch_ring()
445 struct mhi_ep_ring *ring; in mhi_ep_queue_skb()
670 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_cmd->ring; in mhi_ep_cmd_ring_worker()
[all …]
Dmmio.c219 u64 mhi_ep_mmio_get_db(struct mhi_ep_ring *ring) in mhi_ep_mmio_get_db()