Home
last modified time | relevance | path

Searched refs:ocrdma_dev (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_hw.h96 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 …]
Docrdma_main.c75 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()
106 rdma_device_to_drv_device(device, struct ocrdma_dev, ibdev); in hw_rev_show()
115 struct ocrdma_dev *dev = in hca_type_show()
116 rdma_device_to_drv_device(device, struct ocrdma_dev, ibdev); 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()
254 static void ocrdma_free_resources(struct ocrdma_dev *dev) in ocrdma_free_resources()
262 static struct ocrdma_dev *ocrdma_add(struct be_dev_info *dev_info) in ocrdma_add()
[all …]
Docrdma_stats.h68 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);
Docrdma_hw.c121 static inline void *ocrdma_get_mcqe(struct ocrdma_dev *dev) in ocrdma_get_mcqe()
131 static inline void ocrdma_mcq_inc_tail(struct ocrdma_dev *dev) in ocrdma_mcq_inc_tail()
136 static inline struct ocrdma_mqe *ocrdma_get_mqe(struct ocrdma_dev *dev) in ocrdma_get_mqe()
141 static inline void ocrdma_mq_inc_head(struct ocrdma_dev *dev) in ocrdma_mq_inc_head()
146 static inline void *ocrdma_get_mqe_rsp(struct ocrdma_dev *dev) in ocrdma_get_mqe_rsp()
265 char *port_speed_string(struct ocrdma_dev *dev) in port_speed_string()
305 void ocrdma_ring_cq_db(struct ocrdma_dev *dev, u16 cq_id, bool armed, in ocrdma_ring_cq_db()
321 static void ocrdma_ring_mq_db(struct ocrdma_dev *dev) in ocrdma_ring_mq_db()
330 static void ocrdma_ring_eq_db(struct ocrdma_dev *dev, u16 eq_id, in ocrdma_ring_eq_db()
371 static void ocrdma_free_q(struct ocrdma_dev *dev, struct ocrdma_queue_info *q) in ocrdma_free_q()
[all …]
Docrdma_stats.c67 bool ocrdma_alloc_stats_resources(struct ocrdma_dev *dev) in ocrdma_alloc_stats_resources()
91 void ocrdma_release_stats_resources(struct ocrdma_dev *dev) in ocrdma_release_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()
277 static u64 ocrdma_sysfs_rcv_data(struct ocrdma_dev *dev) in ocrdma_sysfs_rcv_data()
287 static char *ocrdma_tx_stats(struct ocrdma_dev *dev) in ocrdma_tx_stats()
330 static u64 ocrdma_sysfs_xmit_pkts(struct ocrdma_dev *dev) in ocrdma_sysfs_xmit_pkts()
345 static u64 ocrdma_sysfs_xmit_data(struct ocrdma_dev *dev) in ocrdma_sysfs_xmit_data()
361 static char *ocrdma_wqe_stats(struct ocrdma_dev *dev) in ocrdma_wqe_stats()
[all …]
Docrdma.h151 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()
Docrdma_verbs.c70 struct ocrdma_dev *dev = get_ocrdma_dev(ibdev); in ocrdma_query_device()
116 static inline void get_link_speed_and_width(struct ocrdma_dev *dev, in get_link_speed_and_width()
158 struct ocrdma_dev *dev; in ocrdma_query_port()
247 static u16 _ocrdma_pd_mgr_get_bitmap(struct ocrdma_dev *dev, bool dpp_pool) in _ocrdma_pd_mgr_get_bitmap()
272 static int _ocrdma_pd_mgr_put_bitmap(struct ocrdma_dev *dev, u16 pd_id, in _ocrdma_pd_mgr_put_bitmap()
304 static int ocrdma_put_pd_num(struct ocrdma_dev *dev, u16 pd_id, in ocrdma_put_pd_num()
315 static int ocrdma_get_pd_num(struct ocrdma_dev *dev, struct ocrdma_pd *pd) in ocrdma_get_pd_num()
357 static int _ocrdma_alloc_pd(struct ocrdma_dev *dev, struct ocrdma_pd *pd, in _ocrdma_alloc_pd()
394 static void _ocrdma_dealloc_pd(struct ocrdma_dev *dev, in _ocrdma_dealloc_pd()
403 static int ocrdma_alloc_ucontext_pd(struct ocrdma_dev *dev, in ocrdma_alloc_ucontext_pd()
[all …]
Docrdma_ah.c73 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()
/linux-6.1.9/drivers/net/ethernet/emulex/benet/
Dbe_roce.c79 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()
Dbe_roce.h22 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);
Dbe.h638 struct ocrdma_dev *ocrdma_dev; member