Searched refs:mhi_ep_ring (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/bus/mhi/ep/ |
D | internal.h | 121 struct mhi_ep_ring *ring; 124 struct mhi_ep_ring { struct 145 struct mhi_ep_ring ring; argument 149 struct mhi_ep_ring ring; 160 struct mhi_ep_ring ring; 174 void mhi_ep_ring_init(struct mhi_ep_ring *ring, enum mhi_ep_ring_type type, u32 id); 175 void mhi_ep_ring_reset(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring); 176 int mhi_ep_ring_start(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, 178 size_t mhi_ep_ring_addr2offset(struct mhi_ep_ring *ring, u64 ptr); 179 int mhi_ep_ring_add_element(struct mhi_ep_ring *ring, struct mhi_ring_element *element); [all …]
|
D | ring.c | 10 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() 167 struct mhi_ep_ring *ring = container_of(work, struct mhi_ep_ring, intmodt_work.work); in mhi_ep_raise_irq() 174 int mhi_ep_ring_start(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, in mhi_ep_ring_start() [all …]
|
D | main.c | 33 struct mhi_ep_ring *ring; in mhi_ep_send_event() 87 static int mhi_ep_send_completion_event(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, in mhi_ep_send_completion_event() 145 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_cmd->ring; in mhi_ep_send_cmd_comp_event() 163 static int mhi_ep_process_cmd_ring(struct mhi_ep_ring *ring, struct mhi_ring_element *el) in mhi_ep_process_cmd_ring() 169 struct mhi_ep_ring *ch_ring; in mhi_ep_process_cmd_ring() 331 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_chan[mhi_chan->chan].ring; in mhi_ep_queue_is_empty() 342 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_chan[mhi_chan->chan].ring; in mhi_ep_read_completion() 402 struct mhi_ep_ring *ring) in mhi_ep_read_channel() 481 static int mhi_ep_process_ch_ring(struct mhi_ep_ring *ring) in mhi_ep_process_ch_ring() 524 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_chan[mhi_chan->chan].ring; in mhi_ep_skb_completion() [all …]
|
D | mmio.c | 219 u64 mhi_ep_mmio_get_db(struct mhi_ep_ring *ring) in mhi_ep_mmio_get_db()
|