Home
last modified time | relevance | path

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

/openbmc/linux/drivers/bus/mhi/ep/
H A 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;
172 void mhi_ep_ring_reset(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring);
173 int mhi_ep_ring_start(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring,
175 size_t mhi_ep_ring_addr2offset(struct mhi_ep_ring *ring, u64 ptr);
177 void mhi_ep_ring_inc_index(struct mhi_ep_ring *ring);
178 int mhi_ep_update_wr_offset(struct mhi_ep_ring *ring);
[all …]
H A 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()
79 static int mhi_ep_cache_ring(struct mhi_ep_ring *ring, u64 wr_ptr) in mhi_ep_cache_ring()
96 int mhi_ep_update_wr_offset(struct mhi_ep_ring *ring) in mhi_ep_update_wr_offset()
106 int mhi_ep_ring_add_element(struct mhi_ep_ring *ring, struct mhi_ring_element *el) in mhi_ep_ring_add_element()
149 void mhi_ep_ring_init(struct mhi_ep_ring *ring, enum mhi_ep_ring_type type, u32 id) in mhi_ep_ring_init()
165 int mhi_ep_ring_start(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, in mhi_ep_ring_start()
207 void mhi_ep_ring_reset(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring) in mhi_ep_ring_reset()
H A Dmain.c33 struct mhi_ep_ring *ring; in mhi_ep_send_event()
129 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_cmd->ring; in mhi_ep_send_cmd_comp_event()
153 struct mhi_ep_ring *ch_ring; in mhi_ep_process_cmd_ring()
315 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_chan[mhi_chan->chan].ring; in mhi_ep_queue_is_empty()
386 struct mhi_ep_ring *ring) in mhi_ep_read_channel()
465 static int mhi_ep_process_ch_ring(struct mhi_ep_ring *ring) in mhi_ep_process_ch_ring()
541 struct mhi_ep_ring *ring; in mhi_ep_queue_skb()
767 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_cmd->ring; in mhi_ep_cmd_ring_worker()
803 struct mhi_ep_ring *ring; in mhi_ep_ch_ring_worker()
903 struct mhi_ep_ring *ring; in mhi_ep_queue_channel_db()
[all …]
H A Dmmio.c219 u64 mhi_ep_mmio_get_db(struct mhi_ep_ring *ring) in mhi_ep_mmio_get_db()