Lines Matching refs:rvt_dev_info

196 struct rvt_dev_info;
234 struct pci_dev * (*get_pci_dev)(struct rvt_dev_info *rdi);
242 void * (*qp_priv_alloc)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
247 void (*qp_priv_free)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
258 int (*get_pmtu_from_attr)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
286 u32 (*mtu_from_qp)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
296 int (*get_guid_be)(struct rvt_dev_info *rdi, struct rvt_ibport *rvp,
302 int (*query_port_state)(struct rvt_dev_info *rdi, u8 port_num,
308 int (*shut_down_port)(struct rvt_dev_info *rdi, u8 port_num);
311 void (*cap_mask_chg)(struct rvt_dev_info *rdi, u8 port_num);
320 unsigned (*free_all_qps)(struct rvt_dev_info *rdi);
330 int (*alloc_qpn)(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt,
342 void (*notify_create_mad_agent)(struct rvt_dev_info *rdi, int port_idx);
345 void (*notify_free_mad_agent)(struct rvt_dev_info *rdi, int port_idx);
351 int (*comp_vect_cpu_lookup)(struct rvt_dev_info *rdi, int comp_vect);
354 struct rvt_dev_info { struct
422 static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, in rvt_set_ibdev_name()
435 static inline const char *rvt_get_ibdev_name(const struct rvt_dev_info *rdi) in rvt_get_ibdev_name()
450 static inline struct rvt_dev_info *ib_to_rvt(struct ib_device *ibdev) in ib_to_rvt()
452 return container_of(ibdev, struct rvt_dev_info, ibdev); in ib_to_rvt()
465 static inline unsigned rvt_get_npkeys(struct rvt_dev_info *rdi) in rvt_get_npkeys()
477 static inline unsigned int rvt_max_atomic(struct rvt_dev_info *rdi) in rvt_max_atomic()
485 static inline u16 rvt_get_pkey(struct rvt_dev_info *rdi, in rvt_get_pkey()
504 static inline struct rvt_qp *rvt_lookup_qpn(struct rvt_dev_info *rdi, in rvt_lookup_qpn()
531 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_mod_retry_timer()
540 struct rvt_dev_info *rvt_alloc_device(size_t size, int nports);
541 void rvt_dealloc_device(struct rvt_dev_info *rdi);
542 int rvt_register_device(struct rvt_dev_info *rvd, u32 driver_id);
543 void rvt_unregister_device(struct rvt_dev_info *rvd);
545 int rvt_init_port(struct rvt_dev_info *rdi, struct rvt_ibport *port,