Lines Matching refs:ionic_queue
182 struct ionic_queue;
186 typedef void (*ionic_desc_cb)(struct ionic_queue *q,
226 struct ionic_queue { struct
281 struct ionic_queue *bound_q; argument
301 static inline unsigned int ionic_q_space_avail(struct ionic_queue *q) in ionic_q_space_avail()
313 static inline bool ionic_q_has_space(struct ionic_queue *q, unsigned int want) in ionic_q_has_space()
363 void ionic_cq_bind(struct ionic_cq *cq, struct ionic_queue *q);
371 struct ionic_queue *q, unsigned int index, const char *name,
374 void ionic_q_map(struct ionic_queue *q, void *base, dma_addr_t base_pa);
375 void ionic_q_cmb_map(struct ionic_queue *q, void __iomem *base, dma_addr_t base_pa);
376 void ionic_q_sg_map(struct ionic_queue *q, void *base, dma_addr_t base_pa);
377 void ionic_q_post(struct ionic_queue *q, bool ring_doorbell, ionic_desc_cb cb,
379 void ionic_q_rewind(struct ionic_queue *q, struct ionic_desc_info *start);
380 void ionic_q_service(struct ionic_queue *q, struct ionic_cq_info *cq_info,
385 bool ionic_adminq_poke_doorbell(struct ionic_queue *q);
386 bool ionic_txq_poke_doorbell(struct ionic_queue *q);
387 bool ionic_rxq_poke_doorbell(struct ionic_queue *q);