Lines Matching refs:siw_qp

415 struct siw_qp {  struct
469 #define rx_qp(rx) container_of(rx, struct siw_qp, rx_stream) argument
470 #define tx_qp(tx) container_of(tx, struct siw_qp, tx_ctx)
481 int (*rx_data)(struct siw_qp *qp);
504 int siw_qp_modify(struct siw_qp *qp, struct siw_qp_attrs *attr,
506 int siw_qp_mpa_rts(struct siw_qp *qp, enum mpa_v2_ctrl ctrl);
507 void siw_qp_llp_close(struct siw_qp *qp);
508 void siw_qp_cm_drop(struct siw_qp *qp, int schedule);
509 void siw_send_terminate(struct siw_qp *qp);
513 int siw_qp_add(struct siw_device *sdev, struct siw_qp *qp);
516 void siw_init_terminate(struct siw_qp *qp, enum term_elayer layer,
522 int siw_sqe_complete(struct siw_qp *qp, struct siw_sqe *sqe, u32 bytes,
524 int siw_rqe_complete(struct siw_qp *qp, struct siw_rqe *rqe, u32 bytes,
533 int siw_qp_sq_process(struct siw_qp *qp);
534 int siw_sq_start(struct siw_qp *qp);
535 int siw_activate_tx(struct siw_qp *qp);
540 int siw_proc_send(struct siw_qp *qp);
541 int siw_proc_rreq(struct siw_qp *qp);
542 int siw_proc_rresp(struct siw_qp *qp);
543 int siw_proc_write(struct siw_qp *qp);
544 int siw_proc_terminate(struct siw_qp *qp);
549 static inline void set_rx_fpdu_context(struct siw_qp *qp, u8 opcode) in set_rx_fpdu_context()
564 static inline struct siw_qp *to_siw_qp(struct ib_qp *base_qp) in to_siw_qp()
566 return container_of(base_qp, struct siw_qp, base_qp); in to_siw_qp()
595 static inline struct siw_qp *siw_qp_id2obj(struct siw_device *sdev, int id) in siw_qp_id2obj()
597 struct siw_qp *qp; in siw_qp_id2obj()
609 static inline u32 qp_id(struct siw_qp *qp) in qp_id()
614 static inline void siw_qp_get(struct siw_qp *qp) in siw_qp_get()
619 static inline void siw_qp_put(struct siw_qp *qp) in siw_qp_put()
624 static inline int siw_sq_empty(struct siw_qp *qp) in siw_sq_empty()
631 static inline struct siw_sqe *sq_get_next(struct siw_qp *qp) in sq_get_next()
641 static inline struct siw_sqe *orq_get_current(struct siw_qp *qp) in orq_get_current()
646 static inline struct siw_sqe *orq_get_free(struct siw_qp *qp) in orq_get_free()
656 static inline int siw_orq_empty(struct siw_qp *qp) in siw_orq_empty()
661 static inline struct siw_sqe *irq_alloc_free(struct siw_qp *qp) in irq_alloc_free()
721 void siw_sq_flush(struct siw_qp *qp);
722 void siw_rq_flush(struct siw_qp *qp);