Lines Matching refs:vnic_rq
92 struct vnic_rq { struct
105 static inline unsigned int vnic_rq_desc_avail(struct vnic_rq *rq) in vnic_rq_desc_avail() argument
111 static inline unsigned int vnic_rq_desc_used(struct vnic_rq *rq) in vnic_rq_desc_used()
117 static inline void *vnic_rq_next_desc(struct vnic_rq *rq) in vnic_rq_next_desc()
122 static inline unsigned int vnic_rq_next_index(struct vnic_rq *rq) in vnic_rq_next_index()
127 static inline unsigned int vnic_rq_next_buf_index(struct vnic_rq *rq) in vnic_rq_next_buf_index()
132 static inline void vnic_rq_post(struct vnic_rq *rq, in vnic_rq_post()
165 static inline int vnic_rq_posting_soon(struct vnic_rq *rq) in vnic_rq_posting_soon()
170 static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count) in vnic_rq_return_descs()
180 static inline void vnic_rq_service(struct vnic_rq *rq, in vnic_rq_service()
182 int desc_return, void (*buf_service)(struct vnic_rq *rq, in vnic_rq_service()
208 static inline int vnic_rq_fill(struct vnic_rq *rq, in vnic_rq_fill()
209 int (*buf_fill)(struct vnic_rq *rq)) in vnic_rq_fill()
223 void vnic_rq_free(struct vnic_rq *rq);
224 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
226 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
229 unsigned int vnic_rq_error_status(struct vnic_rq *rq);
230 void vnic_rq_enable(struct vnic_rq *rq);
231 int vnic_rq_disable(struct vnic_rq *rq);
232 void vnic_rq_clean(struct vnic_rq *rq,
233 void (*buf_clean)(struct vnic_rq *rq, struct vnic_rq_buf *buf));