Lines Matching refs:vnic_rq
80 struct vnic_rq { struct
93 static inline unsigned int vnic_rq_desc_avail(struct vnic_rq *rq) in vnic_rq_desc_avail() argument
99 static inline unsigned int vnic_rq_desc_used(struct vnic_rq *rq) in vnic_rq_desc_used()
105 static inline void *vnic_rq_next_desc(struct vnic_rq *rq) in vnic_rq_next_desc()
110 static inline unsigned int vnic_rq_next_index(struct vnic_rq *rq) in vnic_rq_next_index()
115 static inline unsigned int vnic_rq_next_buf_index(struct vnic_rq *rq) in vnic_rq_next_buf_index()
120 static inline void vnic_rq_post(struct vnic_rq *rq, in vnic_rq_post()
153 static inline int vnic_rq_posting_soon(struct vnic_rq *rq) in vnic_rq_posting_soon()
158 static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count) in vnic_rq_return_descs()
168 static inline void vnic_rq_service(struct vnic_rq *rq, in vnic_rq_service()
170 int desc_return, void (*buf_service)(struct vnic_rq *rq, in vnic_rq_service()
196 static inline int vnic_rq_fill(struct vnic_rq *rq, in vnic_rq_fill()
197 int (*buf_fill)(struct vnic_rq *rq)) in vnic_rq_fill()
211 void vnic_rq_free(struct vnic_rq *rq);
212 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
214 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
217 unsigned int vnic_rq_error_status(struct vnic_rq *rq);
218 void vnic_rq_enable(struct vnic_rq *rq);
219 int vnic_rq_disable(struct vnic_rq *rq);
220 void vnic_rq_clean(struct vnic_rq *rq,
221 void (*buf_clean)(struct vnic_rq *rq, struct vnic_rq_buf *buf));