Searched refs:ocrdma_dev (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.h | 81 static inline u64 ocrdma_get_db_addr(struct ocrdma_dev *dev, u32 pdid) in ocrdma_get_db_addr() 86 int ocrdma_init_hw(struct ocrdma_dev *); 87 void ocrdma_cleanup_hw(struct ocrdma_dev *); 90 void ocrdma_ring_cq_db(struct ocrdma_dev *, u16 cq_id, bool armed, 94 int ocrdma_mbx_get_link_speed(struct ocrdma_dev *dev, u8 *lnk_speed); 95 int ocrdma_query_config(struct ocrdma_dev *, 98 int ocrdma_mbx_alloc_pd(struct ocrdma_dev *, struct ocrdma_pd *); 99 int ocrdma_mbx_dealloc_pd(struct ocrdma_dev *, struct ocrdma_pd *); 101 int ocrdma_mbx_alloc_lkey(struct ocrdma_dev *, struct ocrdma_hw_mr *hwmr, 103 int ocrdma_mbx_dealloc_lkey(struct ocrdma_dev *, int fmr, u32 lkey); [all …]
|
D | ocrdma_main.c | 56 void ocrdma_get_guid(struct ocrdma_dev *dev, u8 *guid) in ocrdma_get_guid() 71 static bool ocrdma_add_sgid(struct ocrdma_dev *dev, union ib_gid *new_sgid) in ocrdma_add_sgid() 99 static bool ocrdma_del_sgid(struct ocrdma_dev *dev, union ib_gid *sgid) in ocrdma_del_sgid() 124 struct ocrdma_dev *dev; in ocrdma_addr_event() 205 static int ocrdma_register_device(struct ocrdma_dev *dev) in ocrdma_register_device() 307 static int ocrdma_alloc_resources(struct ocrdma_dev *dev) in ocrdma_alloc_resources() 342 static void ocrdma_free_resources(struct ocrdma_dev *dev) in ocrdma_free_resources() 354 struct ocrdma_dev *dev = dev_get_drvdata(device); in show_rev() 362 struct ocrdma_dev *dev = dev_get_drvdata(device); in show_fw_ver() 370 struct ocrdma_dev *dev = dev_get_drvdata(device); in show_hca_type() [all …]
|
D | ocrdma_hw.c | 104 static inline void *ocrdma_get_mcqe(struct ocrdma_dev *dev) in ocrdma_get_mcqe() 114 static inline void ocrdma_mcq_inc_tail(struct ocrdma_dev *dev) in ocrdma_mcq_inc_tail() 119 static inline struct ocrdma_mqe *ocrdma_get_mqe(struct ocrdma_dev *dev) in ocrdma_get_mqe() 124 static inline void ocrdma_mq_inc_head(struct ocrdma_dev *dev) in ocrdma_mq_inc_head() 129 static inline void *ocrdma_get_mqe_rsp(struct ocrdma_dev *dev) in ocrdma_get_mqe_rsp() 245 char *port_speed_string(struct ocrdma_dev *dev) in port_speed_string() 285 void ocrdma_ring_cq_db(struct ocrdma_dev *dev, u16 cq_id, bool armed, in ocrdma_ring_cq_db() 301 static void ocrdma_ring_mq_db(struct ocrdma_dev *dev) in ocrdma_ring_mq_db() 310 static void ocrdma_ring_eq_db(struct ocrdma_dev *dev, u16 eq_id, in ocrdma_ring_eq_db() 351 static void ocrdma_free_q(struct ocrdma_dev *dev, struct ocrdma_queue_info *q) in ocrdma_free_q() [all …]
|
D | ocrdma_stats.h | 53 void ocrdma_rem_port_stats(struct ocrdma_dev *dev); 54 void ocrdma_add_port_stats(struct ocrdma_dev *dev); 55 int ocrdma_pma_counters(struct ocrdma_dev *dev,
|
D | ocrdma_stats.c | 52 static bool ocrdma_alloc_stats_mem(struct ocrdma_dev *dev) in ocrdma_alloc_stats_mem() 79 static void ocrdma_release_stats_mem(struct ocrdma_dev *dev) in ocrdma_release_stats_mem() 89 static char *ocrdma_resource_stats(struct ocrdma_dev *dev) in ocrdma_resource_stats() 206 static char *ocrdma_rx_stats(struct ocrdma_dev *dev) in ocrdma_rx_stats() 253 static u64 ocrdma_sysfs_rcv_pkts(struct ocrdma_dev *dev) in ocrdma_sysfs_rcv_pkts() 264 static u64 ocrdma_sysfs_rcv_data(struct ocrdma_dev *dev) in ocrdma_sysfs_rcv_data() 274 static char *ocrdma_tx_stats(struct ocrdma_dev *dev) in ocrdma_tx_stats() 317 static u64 ocrdma_sysfs_xmit_pkts(struct ocrdma_dev *dev) in ocrdma_sysfs_xmit_pkts() 332 static u64 ocrdma_sysfs_xmit_data(struct ocrdma_dev *dev) in ocrdma_sysfs_xmit_data() 348 static char *ocrdma_wqe_stats(struct ocrdma_dev *dev) in ocrdma_wqe_stats() [all …]
|
D | ocrdma.h | 136 struct ocrdma_dev *dev; 185 struct ocrdma_dev *dev; 218 struct ocrdma_dev { struct 438 static inline struct ocrdma_dev *get_ocrdma_dev(struct ib_device *ibdev) in get_ocrdma_dev() 440 return container_of(ibdev, struct ocrdma_dev, ibdev); in get_ocrdma_dev() 510 static inline int ocrdma_resolve_dmac(struct ocrdma_dev *dev, in ocrdma_resolve_dmac() 525 static inline char *hca_name(struct ocrdma_dev *dev) in hca_name() 536 static inline int ocrdma_get_eq_table_index(struct ocrdma_dev *dev, in ocrdma_get_eq_table_index() 549 static inline u8 ocrdma_get_asic_type(struct ocrdma_dev *dev) in ocrdma_get_asic_type()
|
D | ocrdma_verbs.c | 52 struct ocrdma_dev *dev; in ocrdma_query_gid() 66 struct ocrdma_dev *dev = get_ocrdma_dev(ibdev); in ocrdma_query_device() 109 static inline void get_link_speed_and_width(struct ocrdma_dev *dev, in get_link_speed_and_width() 151 struct ocrdma_dev *dev; in ocrdma_query_port() 193 struct ocrdma_dev *dev; in ocrdma_modify_port() 257 static u16 _ocrdma_pd_mgr_get_bitmap(struct ocrdma_dev *dev, bool dpp_pool) in _ocrdma_pd_mgr_get_bitmap() 282 static int _ocrdma_pd_mgr_put_bitmap(struct ocrdma_dev *dev, u16 pd_id, in _ocrdma_pd_mgr_put_bitmap() 314 static u8 ocrdma_put_pd_num(struct ocrdma_dev *dev, u16 pd_id, in ocrdma_put_pd_num() 325 static int ocrdma_get_pd_num(struct ocrdma_dev *dev, struct ocrdma_pd *pd) in ocrdma_get_pd_num() 357 static struct ocrdma_pd *_ocrdma_alloc_pd(struct ocrdma_dev *dev, in _ocrdma_alloc_pd() [all …]
|
D | ocrdma_ah.c | 42 static inline int set_av_attr(struct ocrdma_dev *dev, struct ocrdma_ah *ah, in set_av_attr() 107 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_create_ah() 168 struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device); in ocrdma_destroy_ah() 212 struct ocrdma_dev *dev; in ocrdma_process_mad()
|
D | ocrdma_verbs.h | 44 void ocrdma_get_guid(struct ocrdma_dev *, u8 *guid);
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_roce.c | 83 adapter->ocrdma_dev = ocrdma_drv->add(&dev_info); in _be_roce_dev_add() 104 if (ocrdma_drv && ocrdma_drv->remove && adapter->ocrdma_dev) in _be_roce_dev_remove() 105 ocrdma_drv->remove(adapter->ocrdma_dev); in _be_roce_dev_remove() 106 adapter->ocrdma_dev = NULL; in _be_roce_dev_remove() 121 if (ocrdma_drv && adapter->ocrdma_dev && in _be_roce_dev_open() 123 ocrdma_drv->state_change_handler(adapter->ocrdma_dev, in _be_roce_dev_open() 138 if (ocrdma_drv && adapter->ocrdma_dev && in _be_roce_dev_close() 140 ocrdma_drv->state_change_handler(adapter->ocrdma_dev, in _be_roce_dev_close() 157 if (ocrdma_drv && adapter->ocrdma_dev && in be_roce_dev_shutdown() 159 ocrdma_drv->state_change_handler(adapter->ocrdma_dev, in be_roce_dev_shutdown() [all …]
|
D | be_roce.h | 26 struct ocrdma_dev; 58 struct ocrdma_dev *(*add) (struct be_dev_info *dev_info); 59 void (*remove) (struct ocrdma_dev *); 60 void (*state_change_handler) (struct ocrdma_dev *, u32 new_state);
|
D | be.h | 551 struct ocrdma_dev *ocrdma_dev; member
|