ocrdma_dev        152 drivers/infiniband/hw/ocrdma/ocrdma.h 	struct ocrdma_dev *dev;
ocrdma_dev        203 drivers/infiniband/hw/ocrdma/ocrdma.h 	struct ocrdma_dev *dev;
ocrdma_dev        457 drivers/infiniband/hw/ocrdma/ocrdma.h static inline struct ocrdma_dev *get_ocrdma_dev(struct ib_device *ibdev)
ocrdma_dev        459 drivers/infiniband/hw/ocrdma/ocrdma.h 	return container_of(ibdev, struct ocrdma_dev, ibdev);
ocrdma_dev        529 drivers/infiniband/hw/ocrdma/ocrdma.h static inline int ocrdma_resolve_dmac(struct ocrdma_dev *dev,
ocrdma_dev        544 drivers/infiniband/hw/ocrdma/ocrdma.h static inline char *hca_name(struct ocrdma_dev *dev)
ocrdma_dev        555 drivers/infiniband/hw/ocrdma/ocrdma.h static inline int ocrdma_get_eq_table_index(struct ocrdma_dev *dev,
ocrdma_dev        568 drivers/infiniband/hw/ocrdma/ocrdma.h static inline u8 ocrdma_get_asic_type(struct ocrdma_dev *dev)
ocrdma_dev        603 drivers/infiniband/hw/ocrdma/ocrdma.h static inline bool ocrdma_is_udp_encap_supported(struct ocrdma_dev *dev)
ocrdma_dev         73 drivers/infiniband/hw/ocrdma/ocrdma_ah.c static inline int set_av_attr(struct ocrdma_dev *dev, struct ocrdma_ah *ah,
ocrdma_dev        168 drivers/infiniband/hw/ocrdma/ocrdma_ah.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device);
ocrdma_dev        220 drivers/infiniband/hw/ocrdma/ocrdma_ah.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device);
ocrdma_dev        260 drivers/infiniband/hw/ocrdma/ocrdma_ah.c 	struct ocrdma_dev *dev;
ocrdma_dev        121 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static inline void *ocrdma_get_mcqe(struct ocrdma_dev *dev)
ocrdma_dev        131 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static inline void ocrdma_mcq_inc_tail(struct ocrdma_dev *dev)
ocrdma_dev        136 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static inline struct ocrdma_mqe *ocrdma_get_mqe(struct ocrdma_dev *dev)
ocrdma_dev        141 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static inline void ocrdma_mq_inc_head(struct ocrdma_dev *dev)
ocrdma_dev        146 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static inline void *ocrdma_get_mqe_rsp(struct ocrdma_dev *dev)
ocrdma_dev        265 drivers/infiniband/hw/ocrdma/ocrdma_hw.c char *port_speed_string(struct ocrdma_dev *dev)
ocrdma_dev        305 drivers/infiniband/hw/ocrdma/ocrdma_hw.c void ocrdma_ring_cq_db(struct ocrdma_dev *dev, u16 cq_id, bool armed,
ocrdma_dev        321 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_ring_mq_db(struct ocrdma_dev *dev)
ocrdma_dev        330 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_ring_eq_db(struct ocrdma_dev *dev, u16 eq_id,
ocrdma_dev        371 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_free_q(struct ocrdma_dev *dev, struct ocrdma_queue_info *q)
ocrdma_dev        376 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_alloc_q(struct ocrdma_dev *dev,
ocrdma_dev        402 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_delete_q(struct ocrdma_dev *dev,
ocrdma_dev        433 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_create_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq)
ocrdma_dev        460 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_create_eq(struct ocrdma_dev *dev,
ocrdma_dev        482 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_get_irq(struct ocrdma_dev *dev, struct ocrdma_eq *eq)
ocrdma_dev        493 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void _ocrdma_destroy_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq)
ocrdma_dev        501 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_destroy_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq)
ocrdma_dev        515 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_destroy_eqs(struct ocrdma_dev *dev)
ocrdma_dev        523 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_mq_cq_create(struct ocrdma_dev *dev,
ocrdma_dev        564 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_create_mq(struct ocrdma_dev *dev,
ocrdma_dev        604 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_create_mq(struct ocrdma_dev *dev)
ocrdma_dev        644 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_destroy_mq(struct ocrdma_dev *dev)
ocrdma_dev        664 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_process_qpcat_error(struct ocrdma_dev *dev,
ocrdma_dev        675 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_dispatch_ibevent(struct ocrdma_dev *dev,
ocrdma_dev        801 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_process_grp5_aync(struct ocrdma_dev *dev,
ocrdma_dev        827 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_process_link_state(struct ocrdma_dev *dev,
ocrdma_dev        843 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_process_acqe(struct ocrdma_dev *dev, void *ae_cqe)
ocrdma_dev        865 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_process_mcqe(struct ocrdma_dev *dev, struct ocrdma_mcqe *cqe)
ocrdma_dev        880 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mq_cq_handler(struct ocrdma_dev *dev, u16 cq_id)
ocrdma_dev        902 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static struct ocrdma_cq *_ocrdma_qp_buddy_cq_handler(struct ocrdma_dev *dev,
ocrdma_dev        935 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_qp_buddy_cq_handler(struct ocrdma_dev *dev,
ocrdma_dev        965 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_qp_cq_handler(struct ocrdma_dev *dev, u16 cq_idx)
ocrdma_dev        985 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_cq_handler(struct ocrdma_dev *dev, u16 cq_id)
ocrdma_dev        997 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev = eq->dev;
ocrdma_dev       1039 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_post_mqe(struct ocrdma_dev *dev, struct ocrdma_mqe *cmd)
ocrdma_dev       1054 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_wait_mqe_cmpl(struct ocrdma_dev *dev)
ocrdma_dev       1072 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_cmd(struct ocrdma_dev *dev, struct ocrdma_mqe *mqe)
ocrdma_dev       1116 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_nonemb_mbx_cmd(struct ocrdma_dev *dev, struct ocrdma_mqe *mqe,
ocrdma_dev       1143 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_get_attr(struct ocrdma_dev *dev,
ocrdma_dev       1223 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_check_fw_config(struct ocrdma_dev *dev,
ocrdma_dev       1237 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_query_fw_ver(struct ocrdma_dev *dev)
ocrdma_dev       1264 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_query_fw_config(struct ocrdma_dev *dev)
ocrdma_dev       1286 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_rdma_stats(struct ocrdma_dev *dev, bool reset)
ocrdma_dev       1328 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_get_ctrl_attribs(struct ocrdma_dev *dev)
ocrdma_dev       1377 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_query_dev(struct ocrdma_dev *dev)
ocrdma_dev       1396 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_get_link_speed(struct ocrdma_dev *dev, u8 *lnk_speed,
ocrdma_dev       1429 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_get_phy_info(struct ocrdma_dev *dev)
ocrdma_dev       1463 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_alloc_pd(struct ocrdma_dev *dev, struct ocrdma_pd *pd)
ocrdma_dev       1492 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_dealloc_pd(struct ocrdma_dev *dev, struct ocrdma_pd *pd)
ocrdma_dev       1507 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_alloc_pd_range(struct ocrdma_dev *dev)
ocrdma_dev       1565 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_mbx_dealloc_pd_range(struct ocrdma_dev *dev)
ocrdma_dev       1596 drivers/infiniband/hw/ocrdma/ocrdma_hw.c void ocrdma_alloc_pd_pool(struct ocrdma_dev *dev)
ocrdma_dev       1612 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_free_pd_pool(struct ocrdma_dev *dev)
ocrdma_dev       1644 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_create_ah_tbl(struct ocrdma_dev *dev)
ocrdma_dev       1723 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_mbx_delete_ah_tbl(struct ocrdma_dev *dev)
ocrdma_dev       1749 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static u16 ocrdma_bind_eq(struct ocrdma_dev *dev)
ocrdma_dev       1772 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_unbind_eq(struct ocrdma_dev *dev, u16 eq_id)
ocrdma_dev       1784 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_create_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq,
ocrdma_dev       1889 drivers/infiniband/hw/ocrdma/ocrdma_hw.c void ocrdma_mbx_destroy_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq)
ocrdma_dev       1909 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_alloc_lkey(struct ocrdma_dev *dev, struct ocrdma_hw_mr *hwmr,
ocrdma_dev       1943 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_dealloc_lkey(struct ocrdma_dev *dev, int fr_mr, u32 lkey)
ocrdma_dev       1959 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_reg_mr(struct ocrdma_dev *dev, struct ocrdma_hw_mr *hwmr,
ocrdma_dev       2010 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_reg_mr_cont(struct ocrdma_dev *dev,
ocrdma_dev       2038 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_reg_mr(struct ocrdma_dev *dev,
ocrdma_dev       2112 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev = get_ocrdma_dev(qp->ibqp.device);
ocrdma_dev       2189 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device);
ocrdma_dev       2244 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device);
ocrdma_dev       2303 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device);
ocrdma_dev       2374 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device);
ocrdma_dev       2466 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_query_qp(struct ocrdma_dev *dev, struct ocrdma_qp *qp,
ocrdma_dev       2501 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev = get_ocrdma_dev(qp->ibqp.device);
ocrdma_dev       2578 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev = get_ocrdma_dev(qp->ibqp.device);
ocrdma_dev       2682 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_modify_qp(struct ocrdma_dev *dev, struct ocrdma_qp *qp,
ocrdma_dev       2718 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_destroy_qp(struct ocrdma_dev *dev, struct ocrdma_qp *qp)
ocrdma_dev       2743 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_create_srq(struct ocrdma_dev *dev, struct ocrdma_srq *srq,
ocrdma_dev       2823 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device);
ocrdma_dev       2840 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev = get_ocrdma_dev(srq->ibsrq.device);
ocrdma_dev       2862 drivers/infiniband/hw/ocrdma/ocrdma_hw.c void ocrdma_mbx_destroy_srq(struct ocrdma_dev *dev, struct ocrdma_srq *srq)
ocrdma_dev       2877 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_get_dcbx_config(struct ocrdma_dev *dev, u32 ptype,
ocrdma_dev       2925 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_parse_dcbxcfg_rsp(struct ocrdma_dev *dev, int ptype,
ocrdma_dev       3001 drivers/infiniband/hw/ocrdma/ocrdma_hw.c void ocrdma_init_service_level(struct ocrdma_dev *dev)
ocrdma_dev       3038 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_alloc_av(struct ocrdma_dev *dev, struct ocrdma_ah *ah)
ocrdma_dev       3063 drivers/infiniband/hw/ocrdma/ocrdma_hw.c void ocrdma_free_av(struct ocrdma_dev *dev, struct ocrdma_ah *ah)
ocrdma_dev       3071 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_create_eqs(struct ocrdma_dev *dev)
ocrdma_dev       3117 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_mbx_modify_eqd(struct ocrdma_dev *dev, struct ocrdma_eq *eq,
ocrdma_dev       3143 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static int ocrdma_modify_eqd(struct ocrdma_dev *dev, struct ocrdma_eq *eq,
ocrdma_dev       3162 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct ocrdma_dev *dev =
ocrdma_dev       3163 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		container_of(work, struct ocrdma_dev, eqd_work.work);
ocrdma_dev       3191 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_init_hw(struct ocrdma_dev *dev)
ocrdma_dev       3234 drivers/infiniband/hw/ocrdma/ocrdma_hw.c void ocrdma_cleanup_hw(struct ocrdma_dev *dev)
ocrdma_dev         96 drivers/infiniband/hw/ocrdma/ocrdma_hw.h static inline u64 ocrdma_get_db_addr(struct ocrdma_dev *dev, u32 pdid)
ocrdma_dev        101 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_init_hw(struct ocrdma_dev *);
ocrdma_dev        102 drivers/infiniband/hw/ocrdma/ocrdma_hw.h void ocrdma_cleanup_hw(struct ocrdma_dev *);
ocrdma_dev        105 drivers/infiniband/hw/ocrdma/ocrdma_hw.h void ocrdma_ring_cq_db(struct ocrdma_dev *, u16 cq_id, bool armed,
ocrdma_dev        109 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_get_link_speed(struct ocrdma_dev *dev, u8 *lnk_speed,
ocrdma_dev        111 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_query_config(struct ocrdma_dev *,
ocrdma_dev        114 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_alloc_pd(struct ocrdma_dev *, struct ocrdma_pd *);
ocrdma_dev        115 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_dealloc_pd(struct ocrdma_dev *, struct ocrdma_pd *);
ocrdma_dev        117 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_alloc_lkey(struct ocrdma_dev *, struct ocrdma_hw_mr *hwmr,
ocrdma_dev        119 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_dealloc_lkey(struct ocrdma_dev *, int fmr, u32 lkey);
ocrdma_dev        121 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_reg_mr(struct ocrdma_dev *, struct ocrdma_hw_mr *hwmr,
ocrdma_dev        123 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_create_cq(struct ocrdma_dev *, struct ocrdma_cq *,
ocrdma_dev        125 drivers/infiniband/hw/ocrdma/ocrdma_hw.h void ocrdma_mbx_destroy_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq);
ocrdma_dev        130 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_modify_qp(struct ocrdma_dev *, struct ocrdma_qp *,
ocrdma_dev        132 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_query_qp(struct ocrdma_dev *, struct ocrdma_qp *,
ocrdma_dev        134 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_destroy_qp(struct ocrdma_dev *, struct ocrdma_qp *);
ocrdma_dev        135 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_create_srq(struct ocrdma_dev *, struct ocrdma_srq *,
ocrdma_dev        140 drivers/infiniband/hw/ocrdma/ocrdma_hw.h void ocrdma_mbx_destroy_srq(struct ocrdma_dev *dev, struct ocrdma_srq *srq);
ocrdma_dev        142 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_alloc_av(struct ocrdma_dev *dev, struct ocrdma_ah *ah);
ocrdma_dev        143 drivers/infiniband/hw/ocrdma/ocrdma_hw.h void ocrdma_free_av(struct ocrdma_dev *dev, struct ocrdma_ah *ah);
ocrdma_dev        150 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_get_irq(struct ocrdma_dev *dev, struct ocrdma_eq *eq);
ocrdma_dev        152 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_rdma_stats(struct ocrdma_dev *, bool reset);
ocrdma_dev        153 drivers/infiniband/hw/ocrdma/ocrdma_hw.h char *port_speed_string(struct ocrdma_dev *dev);
ocrdma_dev        154 drivers/infiniband/hw/ocrdma/ocrdma_hw.h void ocrdma_init_service_level(struct ocrdma_dev *);
ocrdma_dev        155 drivers/infiniband/hw/ocrdma/ocrdma_hw.h void ocrdma_alloc_pd_pool(struct ocrdma_dev *dev);
ocrdma_dev        156 drivers/infiniband/hw/ocrdma/ocrdma_hw.h void ocrdma_free_pd_range(struct ocrdma_dev *dev);
ocrdma_dev        157 drivers/infiniband/hw/ocrdma/ocrdma_hw.h void ocrdma_update_link_state(struct ocrdma_dev *dev, u8 lstate);
ocrdma_dev         65 drivers/infiniband/hw/ocrdma/ocrdma_main.c void ocrdma_get_guid(struct ocrdma_dev *dev, u8 *guid)
ocrdma_dev         89 drivers/infiniband/hw/ocrdma/ocrdma_main.c 	struct ocrdma_dev *dev;
ocrdma_dev        110 drivers/infiniband/hw/ocrdma/ocrdma_main.c 	struct ocrdma_dev *dev = get_ocrdma_dev(device);
ocrdma_dev        119 drivers/infiniband/hw/ocrdma/ocrdma_main.c 	struct ocrdma_dev *dev =
ocrdma_dev        120 drivers/infiniband/hw/ocrdma/ocrdma_main.c 		rdma_device_to_drv_device(device, struct ocrdma_dev, ibdev);
ocrdma_dev        129 drivers/infiniband/hw/ocrdma/ocrdma_main.c 	struct ocrdma_dev *dev =
ocrdma_dev        130 drivers/infiniband/hw/ocrdma/ocrdma_main.c 		rdma_device_to_drv_device(device, struct ocrdma_dev, ibdev);
ocrdma_dev        200 drivers/infiniband/hw/ocrdma/ocrdma_main.c static int ocrdma_register_device(struct ocrdma_dev *dev)
ocrdma_dev        262 drivers/infiniband/hw/ocrdma/ocrdma_main.c static int ocrdma_alloc_resources(struct ocrdma_dev *dev)
ocrdma_dev        297 drivers/infiniband/hw/ocrdma/ocrdma_main.c static void ocrdma_free_resources(struct ocrdma_dev *dev)
ocrdma_dev        305 drivers/infiniband/hw/ocrdma/ocrdma_main.c static struct ocrdma_dev *ocrdma_add(struct be_dev_info *dev_info)
ocrdma_dev        309 drivers/infiniband/hw/ocrdma/ocrdma_main.c 	struct ocrdma_dev *dev;
ocrdma_dev        311 drivers/infiniband/hw/ocrdma/ocrdma_main.c 	dev = ib_alloc_device(ocrdma_dev, ibdev);
ocrdma_dev        365 drivers/infiniband/hw/ocrdma/ocrdma_main.c static void ocrdma_remove_free(struct ocrdma_dev *dev)
ocrdma_dev        372 drivers/infiniband/hw/ocrdma/ocrdma_main.c static void ocrdma_remove(struct ocrdma_dev *dev)
ocrdma_dev        386 drivers/infiniband/hw/ocrdma/ocrdma_main.c static int ocrdma_dispatch_port_active(struct ocrdma_dev *dev)
ocrdma_dev        397 drivers/infiniband/hw/ocrdma/ocrdma_main.c static int ocrdma_dispatch_port_error(struct ocrdma_dev *dev)
ocrdma_dev        408 drivers/infiniband/hw/ocrdma/ocrdma_main.c static void ocrdma_shutdown(struct ocrdma_dev *dev)
ocrdma_dev        418 drivers/infiniband/hw/ocrdma/ocrdma_main.c static void ocrdma_event_handler(struct ocrdma_dev *dev, u32 event)
ocrdma_dev        429 drivers/infiniband/hw/ocrdma/ocrdma_main.c void ocrdma_update_link_state(struct ocrdma_dev *dev, u8 lstate)
ocrdma_dev         67 drivers/infiniband/hw/ocrdma/ocrdma_stats.c bool ocrdma_alloc_stats_resources(struct ocrdma_dev *dev)
ocrdma_dev         91 drivers/infiniband/hw/ocrdma/ocrdma_stats.c void ocrdma_release_stats_resources(struct ocrdma_dev *dev)
ocrdma_dev        102 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static char *ocrdma_resource_stats(struct ocrdma_dev *dev)
ocrdma_dev        219 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static char *ocrdma_rx_stats(struct ocrdma_dev *dev)
ocrdma_dev        266 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static u64 ocrdma_sysfs_rcv_pkts(struct ocrdma_dev *dev)
ocrdma_dev        277 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static u64 ocrdma_sysfs_rcv_data(struct ocrdma_dev *dev)
ocrdma_dev        287 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static char *ocrdma_tx_stats(struct ocrdma_dev *dev)
ocrdma_dev        330 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static u64 ocrdma_sysfs_xmit_pkts(struct ocrdma_dev *dev)
ocrdma_dev        345 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static u64 ocrdma_sysfs_xmit_data(struct ocrdma_dev *dev)
ocrdma_dev        361 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static char *ocrdma_wqe_stats(struct ocrdma_dev *dev)
ocrdma_dev        394 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static char *ocrdma_db_errstats(struct ocrdma_dev *dev)
ocrdma_dev        415 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static char *ocrdma_rxqp_errstats(struct ocrdma_dev *dev)
ocrdma_dev        441 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static char *ocrdma_txqp_errstats(struct ocrdma_dev *dev)
ocrdma_dev        465 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static char *ocrdma_tx_dbg_stats(struct ocrdma_dev *dev)
ocrdma_dev        483 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static char *ocrdma_rx_dbg_stats(struct ocrdma_dev *dev)
ocrdma_dev        501 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static char *ocrdma_driver_dbg_stats(struct ocrdma_dev *dev)
ocrdma_dev        606 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static void ocrdma_update_stats(struct ocrdma_dev *dev)
ocrdma_dev        642 drivers/infiniband/hw/ocrdma/ocrdma_stats.c 	struct ocrdma_dev *dev = pstats->dev;
ocrdma_dev        673 drivers/infiniband/hw/ocrdma/ocrdma_stats.c int ocrdma_pma_counters(struct ocrdma_dev *dev,
ocrdma_dev        693 drivers/infiniband/hw/ocrdma/ocrdma_stats.c 	struct ocrdma_dev *dev = pstats->dev;
ocrdma_dev        761 drivers/infiniband/hw/ocrdma/ocrdma_stats.c void ocrdma_add_port_stats(struct ocrdma_dev *dev)
ocrdma_dev        827 drivers/infiniband/hw/ocrdma/ocrdma_stats.c void ocrdma_rem_port_stats(struct ocrdma_dev *dev)
ocrdma_dev         68 drivers/infiniband/hw/ocrdma/ocrdma_stats.h bool ocrdma_alloc_stats_resources(struct ocrdma_dev *dev);
ocrdma_dev         69 drivers/infiniband/hw/ocrdma/ocrdma_stats.h void ocrdma_release_stats_resources(struct ocrdma_dev *dev);
ocrdma_dev         70 drivers/infiniband/hw/ocrdma/ocrdma_stats.h void ocrdma_rem_port_stats(struct ocrdma_dev *dev);
ocrdma_dev         71 drivers/infiniband/hw/ocrdma/ocrdma_stats.h void ocrdma_add_port_stats(struct ocrdma_dev *dev);
ocrdma_dev         72 drivers/infiniband/hw/ocrdma/ocrdma_stats.h int ocrdma_pma_counters(struct ocrdma_dev *dev,
ocrdma_dev         69 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibdev);
ocrdma_dev        116 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static inline void get_link_speed_and_width(struct ocrdma_dev *dev,
ocrdma_dev        158 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev;
ocrdma_dev        253 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static u16 _ocrdma_pd_mgr_get_bitmap(struct ocrdma_dev *dev, bool dpp_pool)
ocrdma_dev        278 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int _ocrdma_pd_mgr_put_bitmap(struct ocrdma_dev *dev, u16 pd_id,
ocrdma_dev        310 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_put_pd_num(struct ocrdma_dev *dev, u16 pd_id,
ocrdma_dev        321 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_get_pd_num(struct ocrdma_dev *dev, struct ocrdma_pd *pd)
ocrdma_dev        363 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int _ocrdma_alloc_pd(struct ocrdma_dev *dev, struct ocrdma_pd *pd,
ocrdma_dev        400 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static void _ocrdma_dealloc_pd(struct ocrdma_dev *dev,
ocrdma_dev        409 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_alloc_ucontext_pd(struct ocrdma_dev *dev,
ocrdma_dev        439 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device);
ocrdma_dev        477 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibdev);
ocrdma_dev        530 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibctx->device);
ocrdma_dev        548 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(context->device);
ocrdma_dev        588 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_copy_pd_uresp(struct ocrdma_dev *dev, struct ocrdma_pd *pd,
ocrdma_dev        638 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibdev);
ocrdma_dev        678 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device);
ocrdma_dev        699 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_alloc_lkey(struct ocrdma_dev *dev, struct ocrdma_mr *mr,
ocrdma_dev        728 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device);
ocrdma_dev        749 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static void ocrdma_free_mr_pbl_tbl(struct ocrdma_dev *dev,
ocrdma_dev        768 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_get_pbl_info(struct ocrdma_dev *dev, struct ocrdma_mr *mr,
ocrdma_dev        793 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_build_pbl_tbl(struct ocrdma_dev *dev, struct ocrdma_hw_mr *mr)
ocrdma_dev        821 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static void build_user_pbes(struct ocrdma_dev *dev, struct ocrdma_mr *mr,
ocrdma_dev        865 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device);
ocrdma_dev        920 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ib_mr->device);
ocrdma_dev        939 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_copy_cq_uresp(struct ocrdma_dev *dev, struct ocrdma_cq *cq,
ocrdma_dev        985 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibdev);
ocrdma_dev       1047 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(cq->ibcq.device);
ocrdma_dev       1071 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibcq->device);
ocrdma_dev       1094 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_add_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp)
ocrdma_dev       1105 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static void ocrdma_del_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp)
ocrdma_dev       1110 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_check_qp_params(struct ib_pd *ibpd, struct ocrdma_dev *dev,
ocrdma_dev       1192 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device);
ocrdma_dev       1243 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static void ocrdma_set_qp_db(struct ocrdma_dev *dev, struct ocrdma_qp *qp,
ocrdma_dev       1296 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static void ocrdma_store_gsi_qp_cq(struct ocrdma_dev *dev,
ocrdma_dev       1313 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device);
ocrdma_dev       1385 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev;
ocrdma_dev       1406 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev;
ocrdma_dev       1476 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibqp->device);
ocrdma_dev       1669 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(qp->ibqp.device);
ocrdma_dev       1688 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev;
ocrdma_dev       1747 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_copy_srq_uresp(struct ocrdma_dev *dev, struct ocrdma_srq *srq,
ocrdma_dev       1785 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibsrq->device);
ocrdma_dev       1871 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibsrq->device);
ocrdma_dev       2532 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(qp->ibqp.device);
ocrdma_dev       2613 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_update_ud_rcqe(struct ocrdma_dev *dev, struct ib_wc *ibwc,
ocrdma_dev       2665 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(qp->ibqp.device);
ocrdma_dev       2698 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev;
ocrdma_dev       2775 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(cq->ibcq.device);
ocrdma_dev       2857 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibcq->device);
ocrdma_dev       2892 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibcq->device);
ocrdma_dev       2917 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device);
ocrdma_dev         63 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h void ocrdma_get_guid(struct ocrdma_dev *, u8 *guid);
ocrdma_dev        640 drivers/net/ethernet/emulex/benet/be.h 	struct ocrdma_dev *ocrdma_dev;
ocrdma_dev         79 drivers/net/ethernet/emulex/benet/be_roce.c 	adapter->ocrdma_dev = ocrdma_drv->add(&dev_info);
ocrdma_dev        100 drivers/net/ethernet/emulex/benet/be_roce.c 	if (ocrdma_drv && ocrdma_drv->remove && adapter->ocrdma_dev)
ocrdma_dev        101 drivers/net/ethernet/emulex/benet/be_roce.c 		ocrdma_drv->remove(adapter->ocrdma_dev);
ocrdma_dev        102 drivers/net/ethernet/emulex/benet/be_roce.c 	adapter->ocrdma_dev = NULL;
ocrdma_dev        119 drivers/net/ethernet/emulex/benet/be_roce.c 		if (ocrdma_drv && adapter->ocrdma_dev &&
ocrdma_dev        121 drivers/net/ethernet/emulex/benet/be_roce.c 			ocrdma_drv->state_change_handler(adapter->ocrdma_dev,
ocrdma_dev        151 drivers/net/ethernet/emulex/benet/be_roce.c 		if (dev->ocrdma_dev)
ocrdma_dev         22 drivers/net/ethernet/emulex/benet/be_roce.h struct ocrdma_dev;
ocrdma_dev         54 drivers/net/ethernet/emulex/benet/be_roce.h 	struct ocrdma_dev *(*add) (struct be_dev_info *dev_info);
ocrdma_dev         55 drivers/net/ethernet/emulex/benet/be_roce.h 	void (*remove) (struct ocrdma_dev *);
ocrdma_dev         56 drivers/net/ethernet/emulex/benet/be_roce.h 	void (*state_change_handler) (struct ocrdma_dev *, u32 new_state);