Lines Matching refs:iwch_dev
104 struct iwch_dev { struct
117 static inline struct iwch_dev *to_iwch_dev(struct ib_device *ibdev) in to_iwch_dev() argument
119 return container_of(ibdev, struct iwch_dev, ibdev); in to_iwch_dev()
122 static inline struct iwch_dev *rdev_to_iwch_dev(struct cxio_rdev *rdev) in rdev_to_iwch_dev()
124 return container_of(rdev, struct iwch_dev, rdev); in rdev_to_iwch_dev()
127 static inline int t3b_device(const struct iwch_dev *rhp) in t3b_device()
132 static inline int t3a_device(const struct iwch_dev *rhp) in t3a_device()
137 static inline struct iwch_cq *get_chp(struct iwch_dev *rhp, u32 cqid) in get_chp()
142 static inline struct iwch_qp *get_qhp(struct iwch_dev *rhp, u32 qpid) in get_qhp()
147 static inline struct iwch_mr *get_mhp(struct iwch_dev *rhp, u32 mmid) in get_mhp()
152 static inline int insert_handle(struct iwch_dev *rhp, struct idr *idr, in insert_handle()
169 static inline void remove_handle(struct iwch_dev *rhp, struct idr *idr, u32 id) in remove_handle()