Home
last modified time | relevance | path

Searched refs:erdma_dev (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/infiniband/hw/erdma/
H A Derdma.h183 struct erdma_dev { struct
227 static inline struct erdma_dev *to_edev(struct ib_device *ibdev) in to_edev() argument
229 return container_of(ibdev, struct erdma_dev, ibdev); in to_edev()
232 static inline u32 erdma_reg_read32(struct erdma_dev *dev, u32 reg) in erdma_reg_read32()
237 static inline u64 erdma_reg_read64(struct erdma_dev *dev, u32 reg) in erdma_reg_read64()
242 static inline void erdma_reg_write32(struct erdma_dev *dev, u32 reg, u32 value) in erdma_reg_write32()
247 static inline void erdma_reg_write64(struct erdma_dev *dev, u32 reg, u64 value) in erdma_reg_write64()
252 static inline u32 erdma_reg_read32_filed(struct erdma_dev *dev, u32 reg, in erdma_reg_read32_filed()
262 int erdma_cmdq_init(struct erdma_dev *dev);
263 void erdma_finish_cmdq_init(struct erdma_dev *dev);
[all …]
H A Derdma_main.c23 struct erdma_dev *dev = container_of(nb, struct erdma_dev, netdev_nb); in erdma_netdev_event()
56 static int erdma_enum_and_get_netdev(struct erdma_dev *dev) in erdma_enum_and_get_netdev()
94 static int erdma_device_register(struct erdma_dev *dev) in erdma_device_register()
125 struct erdma_dev *dev = data; in erdma_comm_irq_handler()
133 static int erdma_request_vectors(struct erdma_dev *dev) in erdma_request_vectors()
149 static int erdma_comm_irq_init(struct erdma_dev *dev) in erdma_comm_irq_init()
165 static void erdma_comm_irq_uninit(struct erdma_dev *dev) in erdma_comm_irq_uninit()
171 static int erdma_device_init(struct erdma_dev *dev, struct pci_dev *pdev) in erdma_device_init()
206 static void erdma_device_uninit(struct erdma_dev *dev) in erdma_device_uninit()
212 static void erdma_hw_reset(struct erdma_dev *dev) in erdma_hw_reset()
[all …]
H A Derdma_eq.c30 void erdma_aeq_event_handler(struct erdma_dev *dev) in erdma_aeq_event_handler()
83 int erdma_eq_common_init(struct erdma_dev *dev, struct erdma_eq *eq, u32 depth) in erdma_eq_common_init()
111 void erdma_eq_destroy(struct erdma_dev *dev, struct erdma_eq *eq) in erdma_eq_destroy()
118 int erdma_aeq_init(struct erdma_dev *dev) in erdma_aeq_init()
141 struct erdma_dev *dev = ceq_cb->dev; in erdma_ceq_completion_handler()
188 static int erdma_set_ceq_irq(struct erdma_dev *dev, u16 ceqn) in erdma_set_ceq_irq()
216 static void erdma_free_ceq_irq(struct erdma_dev *dev, u16 ceqn) in erdma_free_ceq_irq()
224 static int create_eq_cmd(struct erdma_dev *dev, u32 eqn, struct erdma_eq *eq) in create_eq_cmd()
242 static int erdma_ceq_init_one(struct erdma_dev *dev, u16 ceqn) in erdma_ceq_init_one()
266 static void erdma_ceq_uninit_one(struct erdma_dev *dev, u16 ceqn) in erdma_ceq_uninit_one()
[all …]
H A Derdma_verbs.c41 struct erdma_dev *dev = to_edev(qp->ibqp.device); in create_qp_cmd()
131 static int regmr_cmd(struct erdma_dev *dev, struct erdma_mr *mr) in regmr_cmd()
186 struct erdma_dev *dev = to_edev(cq->ibcq.device); in create_cq_cmd()
312 struct erdma_dev *dev = to_edev(ibdev); in erdma_query_device()
354 struct erdma_dev *dev = to_edev(ibdev); in erdma_query_gid()
365 struct erdma_dev *dev = to_edev(ibdev); in erdma_query_port()
407 struct erdma_dev *dev = to_edev(ibpd->device); in erdma_alloc_pd()
422 struct erdma_dev *dev = to_edev(ibpd->device); in erdma_dealloc_pd()
444 static int erdma_qp_validate_cap(struct erdma_dev *dev, in erdma_qp_validate_cap()
459 static int erdma_qp_validate_attr(struct erdma_dev *dev, in erdma_qp_validate_attr()
[all …]
H A Derdma_cmdq.c11 struct erdma_dev *dev = container_of(cmdq, struct erdma_dev, cmdq); in arm_cmdq_cq()
25 struct erdma_dev *dev = container_of(cmdq, struct erdma_dev, cmdq); in kick_cmdq_db()
63 static int erdma_cmdq_wait_res_init(struct erdma_dev *dev, in erdma_cmdq_wait_res_init()
88 static int erdma_cmdq_sq_init(struct erdma_dev *dev) in erdma_cmdq_sq_init()
123 static int erdma_cmdq_cq_init(struct erdma_dev *dev) in erdma_cmdq_cq_init()
157 static int erdma_cmdq_eq_init(struct erdma_dev *dev) in erdma_cmdq_eq_init()
179 int erdma_cmdq_init(struct erdma_dev *dev) in erdma_cmdq_init()
224 void erdma_finish_cmdq_init(struct erdma_dev *dev) in erdma_finish_cmdq_init()
231 void erdma_cmdq_destroy(struct erdma_dev *dev) in erdma_cmdq_destroy()
H A Derdma_verbs.h224 struct erdma_dev *dev;
277 static inline struct erdma_qp *find_qp_by_qpn(struct erdma_dev *dev, int id) in find_qp_by_qpn()
282 static inline struct erdma_cq *find_cq_by_cqn(struct erdma_dev *dev, int id) in find_cq_by_cqn()
367 void erdma_port_event(struct erdma_dev *dev, enum ib_event_type reason);
368 void erdma_set_mtu(struct erdma_dev *dev, u32 mtu);
H A Derdma_cm.h73 struct erdma_dev;
88 struct erdma_dev *dev;
H A Derdma_cm.c92 static struct erdma_cep *erdma_cep_alloc(struct erdma_dev *dev) in erdma_cep_alloc()
182 struct erdma_dev *dev = cep->dev; in __erdma_cep_dealloc()
1002 struct erdma_dev *dev = to_edev(id->device); in erdma_connect()
1129 struct erdma_dev *dev = to_edev(id->device); in erdma_accept()
1295 struct erdma_dev *dev = to_edev(id->device); in erdma_create_listen()
H A Derdma_cq.c112 struct erdma_dev *dev = to_edev(cq->ibcq.device); in erdma_poll_one_cqe()
H A Derdma_qp.c56 struct erdma_dev *dev = qp->dev; in erdma_modify_qp_state_to_rts()
106 struct erdma_dev *dev = qp->dev; in erdma_modify_qp_state_to_stop()