Searched refs:ocrdma_dev (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.h | 101 int ocrdma_init_hw(struct ocrdma_dev *); 102 void ocrdma_cleanup_hw(struct ocrdma_dev *); 111 int ocrdma_query_config(struct ocrdma_dev *, 114 int ocrdma_mbx_alloc_pd(struct ocrdma_dev *, struct ocrdma_pd *); 121 int ocrdma_reg_mr(struct ocrdma_dev *, struct ocrdma_hw_mr *hwmr, 132 int ocrdma_mbx_query_qp(struct ocrdma_dev *, struct ocrdma_qp *, 152 int ocrdma_mbx_rdma_stats(struct ocrdma_dev *, bool reset); 153 char *port_speed_string(struct ocrdma_dev *dev); 154 void ocrdma_init_service_level(struct ocrdma_dev *); 155 void ocrdma_alloc_pd_pool(struct ocrdma_dev *dev); [all …]
|
H A D | ocrdma_main.c | 75 struct ocrdma_dev *dev; in ocrdma_port_immutable() 96 struct ocrdma_dev *dev = get_ocrdma_dev(device); in get_dev_fw_str() 105 struct ocrdma_dev *dev = in hw_rev_show() 115 struct ocrdma_dev *dev = in hca_type_show() 188 static int ocrdma_register_device(struct ocrdma_dev *dev) in ocrdma_register_device() 219 static int ocrdma_alloc_resources(struct ocrdma_dev *dev) in ocrdma_alloc_resources() 266 struct ocrdma_dev *dev; in ocrdma_add() 268 dev = ib_alloc_device(ocrdma_dev, ibdev); in ocrdma_add() 322 static void ocrdma_remove_free(struct ocrdma_dev *dev) in ocrdma_remove_free() 329 static void ocrdma_remove(struct ocrdma_dev *dev) in ocrdma_remove() [all …]
|
H A D | ocrdma_stats.h | 68 bool ocrdma_alloc_stats_resources(struct ocrdma_dev *dev); 69 void ocrdma_release_stats_resources(struct ocrdma_dev *dev); 70 void ocrdma_rem_port_stats(struct ocrdma_dev *dev); 71 void ocrdma_add_port_stats(struct ocrdma_dev *dev); 72 void ocrdma_pma_counters(struct ocrdma_dev *dev, struct ib_mad *out_mad);
|
H A D | ocrdma_hw.c | 265 char *port_speed_string(struct ocrdma_dev *dev) in port_speed_string() 376 static int ocrdma_alloc_q(struct ocrdma_dev *dev, in ocrdma_alloc_q() 460 static int ocrdma_create_eq(struct ocrdma_dev *dev, in ocrdma_create_eq() 604 static int ocrdma_create_mq(struct ocrdma_dev *dev) in ocrdma_create_mq() 997 struct ocrdma_dev *dev = eq->dev; in ocrdma_irq_handler() 1591 void ocrdma_alloc_pd_pool(struct ocrdma_dev *dev) in ocrdma_alloc_pd_pool() 1744 static u16 ocrdma_bind_eq(struct ocrdma_dev *dev) in ocrdma_bind_eq() 2034 int ocrdma_reg_mr(struct ocrdma_dev *dev, in ocrdma_reg_mr() 3158 struct ocrdma_dev *dev = in ocrdma_eqd_set_task() 3187 int ocrdma_init_hw(struct ocrdma_dev *dev) in ocrdma_init_hw() [all …]
|
H A D | ocrdma_stats.c | 67 bool ocrdma_alloc_stats_resources(struct ocrdma_dev *dev) in ocrdma_alloc_stats_resources() 102 static char *ocrdma_resource_stats(struct ocrdma_dev *dev) in ocrdma_resource_stats() 219 static char *ocrdma_rx_stats(struct ocrdma_dev *dev) in ocrdma_rx_stats() 266 static u64 ocrdma_sysfs_rcv_pkts(struct ocrdma_dev *dev) in ocrdma_sysfs_rcv_pkts() 287 static char *ocrdma_tx_stats(struct ocrdma_dev *dev) in ocrdma_tx_stats() 361 static char *ocrdma_wqe_stats(struct ocrdma_dev *dev) in ocrdma_wqe_stats() 394 static char *ocrdma_db_errstats(struct ocrdma_dev *dev) in ocrdma_db_errstats() 642 struct ocrdma_dev *dev = pstats->dev; in ocrdma_dbgfs_ops_write() 690 struct ocrdma_dev *dev = pstats->dev; in ocrdma_dbgfs_ops_read() 758 void ocrdma_add_port_stats(struct ocrdma_dev *dev) in ocrdma_add_port_stats() [all …]
|
H A D | ocrdma.h | 151 struct ocrdma_dev *dev; 201 struct ocrdma_dev *dev; 238 struct ocrdma_dev { struct 455 static inline struct ocrdma_dev *get_ocrdma_dev(struct ib_device *ibdev) in get_ocrdma_dev() 457 return container_of(ibdev, struct ocrdma_dev, ibdev); in get_ocrdma_dev() 527 static inline int ocrdma_resolve_dmac(struct ocrdma_dev *dev, in ocrdma_resolve_dmac() 542 static inline char *hca_name(struct ocrdma_dev *dev) in hca_name() 553 static inline int ocrdma_get_eq_table_index(struct ocrdma_dev *dev, in ocrdma_get_eq_table_index() 566 static inline u8 ocrdma_get_asic_type(struct ocrdma_dev *dev) in ocrdma_get_asic_type() 601 static inline bool ocrdma_is_udp_encap_supported(struct ocrdma_dev *dev) in ocrdma_is_udp_encap_supported()
|
H A D | ocrdma_verbs.c | 70 struct ocrdma_dev *dev = get_ocrdma_dev(ibdev); in ocrdma_query_device() 158 struct ocrdma_dev *dev; in ocrdma_query_port() 394 static void _ocrdma_dealloc_pd(struct ocrdma_dev *dev, in _ocrdma_dealloc_pd() 471 struct ocrdma_dev *dev = get_ocrdma_dev(ibdev); in ocrdma_alloc_ucontext() 632 struct ocrdma_dev *dev = get_ocrdma_dev(ibdev); in ocrdma_alloc_pd() 672 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_dealloc_pd() 971 struct ocrdma_dev *dev = get_ocrdma_dev(ibdev); in ocrdma_create_cq() 1369 struct ocrdma_dev *dev; in _ocrdma_modify_qp() 1390 struct ocrdma_dev *dev; in ocrdma_modify_qp() 1673 struct ocrdma_dev *dev; in ocrdma_destroy_qp() [all …]
|
H A D | ocrdma_ah.c | 73 static inline int set_av_attr(struct ocrdma_dev *dev, struct ocrdma_ah *ah, in set_av_attr() 169 struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device); in ocrdma_create_ah() 221 struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device); in ocrdma_destroy_ah() 259 struct ocrdma_dev *dev; in ocrdma_process_mad()
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_roce.c | 79 adapter->ocrdma_dev = ocrdma_drv->add(&dev_info); in _be_roce_dev_add() 100 if (ocrdma_drv && ocrdma_drv->remove && adapter->ocrdma_dev) in _be_roce_dev_remove() 101 ocrdma_drv->remove(adapter->ocrdma_dev); in _be_roce_dev_remove() 102 adapter->ocrdma_dev = NULL; in _be_roce_dev_remove() 119 if (ocrdma_drv && adapter->ocrdma_dev && in be_roce_dev_shutdown() 121 ocrdma_drv->state_change_handler(adapter->ocrdma_dev, in be_roce_dev_shutdown() 151 if (dev->ocrdma_dev) in be_roce_unregister_driver()
|
H A D | be_roce.h | 22 struct ocrdma_dev; 54 struct ocrdma_dev *(*add) (struct be_dev_info *dev_info); 55 void (*remove) (struct ocrdma_dev *); 56 void (*state_change_handler) (struct ocrdma_dev *, u32 new_state);
|
H A D | be.h | 638 struct ocrdma_dev *ocrdma_dev; member
|