Searched refs:ocrdma_dev (Results 1 – 12 of 12) sorted by relevance
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.h | 96 static inline u64 ocrdma_get_db_addr(struct ocrdma_dev *dev, u32 pdid) in ocrdma_get_db_addr() 101 int ocrdma_init_hw(struct ocrdma_dev *); 102 void ocrdma_cleanup_hw(struct ocrdma_dev *); 105 void ocrdma_ring_cq_db(struct ocrdma_dev *, u16 cq_id, bool armed, 109 int ocrdma_mbx_get_link_speed(struct ocrdma_dev *dev, u8 *lnk_speed, 111 int ocrdma_query_config(struct ocrdma_dev *, 114 int ocrdma_mbx_alloc_pd(struct ocrdma_dev *, struct ocrdma_pd *); 115 int ocrdma_mbx_dealloc_pd(struct ocrdma_dev *, struct ocrdma_pd *); 117 int ocrdma_mbx_alloc_lkey(struct ocrdma_dev *, struct ocrdma_hw_mr *hwmr, 119 int ocrdma_mbx_dealloc_lkey(struct ocrdma_dev *, int fmr, u32 lkey); [all …]
|
D | ocrdma_main.c | 68 void ocrdma_get_guid(struct ocrdma_dev *dev, u8 *guid) in ocrdma_get_guid() 106 static int ocrdma_register_device(struct ocrdma_dev *dev) in ocrdma_register_device() 211 static int ocrdma_alloc_resources(struct ocrdma_dev *dev) in ocrdma_alloc_resources() 240 static void ocrdma_free_resources(struct ocrdma_dev *dev) in ocrdma_free_resources() 251 struct ocrdma_dev *dev = dev_get_drvdata(device); in show_rev() 259 struct ocrdma_dev *dev = dev_get_drvdata(device); in show_fw_ver() 267 struct ocrdma_dev *dev = dev_get_drvdata(device); in show_hca_type() 282 static void ocrdma_remove_sysfiles(struct ocrdma_dev *dev) in ocrdma_remove_sysfiles() 290 static struct ocrdma_dev *ocrdma_add(struct be_dev_info *dev_info) in ocrdma_add() 294 struct ocrdma_dev *dev; in ocrdma_add() [all …]
|
D | ocrdma_hw.c | 120 static inline void *ocrdma_get_mcqe(struct ocrdma_dev *dev) in ocrdma_get_mcqe() 130 static inline void ocrdma_mcq_inc_tail(struct ocrdma_dev *dev) in ocrdma_mcq_inc_tail() 135 static inline struct ocrdma_mqe *ocrdma_get_mqe(struct ocrdma_dev *dev) in ocrdma_get_mqe() 140 static inline void ocrdma_mq_inc_head(struct ocrdma_dev *dev) in ocrdma_mq_inc_head() 145 static inline void *ocrdma_get_mqe_rsp(struct ocrdma_dev *dev) in ocrdma_get_mqe_rsp() 261 char *port_speed_string(struct ocrdma_dev *dev) in port_speed_string() 301 void ocrdma_ring_cq_db(struct ocrdma_dev *dev, u16 cq_id, bool armed, in ocrdma_ring_cq_db() 317 static void ocrdma_ring_mq_db(struct ocrdma_dev *dev) in ocrdma_ring_mq_db() 326 static void ocrdma_ring_eq_db(struct ocrdma_dev *dev, u16 eq_id, in ocrdma_ring_eq_db() 367 static void ocrdma_free_q(struct ocrdma_dev *dev, struct ocrdma_queue_info *q) in ocrdma_free_q() [all …]
|
D | ocrdma_stats.h | 68 void ocrdma_rem_port_stats(struct ocrdma_dev *dev); 69 void ocrdma_add_port_stats(struct ocrdma_dev *dev); 70 int ocrdma_pma_counters(struct ocrdma_dev *dev,
|
D | ocrdma_stats.c | 67 static bool ocrdma_alloc_stats_mem(struct ocrdma_dev *dev) in ocrdma_alloc_stats_mem() 94 static void ocrdma_release_stats_mem(struct ocrdma_dev *dev) in ocrdma_release_stats_mem() 104 static char *ocrdma_resource_stats(struct ocrdma_dev *dev) in ocrdma_resource_stats() 221 static char *ocrdma_rx_stats(struct ocrdma_dev *dev) in ocrdma_rx_stats() 268 static u64 ocrdma_sysfs_rcv_pkts(struct ocrdma_dev *dev) in ocrdma_sysfs_rcv_pkts() 279 static u64 ocrdma_sysfs_rcv_data(struct ocrdma_dev *dev) in ocrdma_sysfs_rcv_data() 289 static char *ocrdma_tx_stats(struct ocrdma_dev *dev) in ocrdma_tx_stats() 332 static u64 ocrdma_sysfs_xmit_pkts(struct ocrdma_dev *dev) in ocrdma_sysfs_xmit_pkts() 347 static u64 ocrdma_sysfs_xmit_data(struct ocrdma_dev *dev) in ocrdma_sysfs_xmit_data() 363 static char *ocrdma_wqe_stats(struct ocrdma_dev *dev) in ocrdma_wqe_stats() [all …]
|
D | ocrdma.h | 151 struct ocrdma_dev *dev; 202 struct ocrdma_dev *dev; 239 struct ocrdma_dev { struct 458 static inline struct ocrdma_dev *get_ocrdma_dev(struct ib_device *ibdev) in get_ocrdma_dev() 460 return container_of(ibdev, struct ocrdma_dev, ibdev); in get_ocrdma_dev() 530 static inline int ocrdma_resolve_dmac(struct ocrdma_dev *dev, in ocrdma_resolve_dmac() 545 static inline char *hca_name(struct ocrdma_dev *dev) in hca_name() 556 static inline int ocrdma_get_eq_table_index(struct ocrdma_dev *dev, in ocrdma_get_eq_table_index() 569 static inline u8 ocrdma_get_asic_type(struct ocrdma_dev *dev) in ocrdma_get_asic_type()
|
D | ocrdma_verbs.c | 69 struct ocrdma_dev *dev; in ocrdma_query_gid() 104 struct ocrdma_dev *dev = get_ocrdma_dev(ibdev); in ocrdma_query_device() 152 struct ocrdma_dev *dev; in ocrdma_get_netdev() 168 static inline void get_link_speed_and_width(struct ocrdma_dev *dev, in get_link_speed_and_width() 210 struct ocrdma_dev *dev; in ocrdma_query_port() 253 struct ocrdma_dev *dev; in ocrdma_modify_port() 317 static u16 _ocrdma_pd_mgr_get_bitmap(struct ocrdma_dev *dev, bool dpp_pool) in _ocrdma_pd_mgr_get_bitmap() 342 static int _ocrdma_pd_mgr_put_bitmap(struct ocrdma_dev *dev, u16 pd_id, in _ocrdma_pd_mgr_put_bitmap() 374 static u8 ocrdma_put_pd_num(struct ocrdma_dev *dev, u16 pd_id, in ocrdma_put_pd_num() 385 static int ocrdma_get_pd_num(struct ocrdma_dev *dev, struct ocrdma_pd *pd) in ocrdma_get_pd_num() [all …]
|
D | ocrdma_ah.c | 58 static inline int set_av_attr(struct ocrdma_dev *dev, struct ocrdma_ah *ah, in set_av_attr() 123 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_create_ah() 191 struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device); in ocrdma_destroy_ah() 237 struct ocrdma_dev *dev; in ocrdma_process_mad()
|
D | ocrdma_verbs.h | 63 void ocrdma_get_guid(struct ocrdma_dev *, u8 *guid);
|
/linux-4.4.14/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() 123 if (ocrdma_drv && adapter->ocrdma_dev && in be_roce_dev_shutdown() 125 ocrdma_drv->state_change_handler(adapter->ocrdma_dev, in be_roce_dev_shutdown() 158 if (dev->ocrdma_dev) in be_roce_unregister_driver()
|
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 | 568 struct ocrdma_dev *ocrdma_dev; member
|