Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/erdma/
Derdma.h183 struct erdma_dev { struct
224 static inline struct erdma_dev *to_edev(struct ib_device *ibdev) in to_edev() argument
226 return container_of(ibdev, struct erdma_dev, ibdev); in to_edev()
229 static inline u32 erdma_reg_read32(struct erdma_dev *dev, u32 reg) in erdma_reg_read32()
234 static inline u64 erdma_reg_read64(struct erdma_dev *dev, u32 reg) in erdma_reg_read64()
239 static inline void erdma_reg_write32(struct erdma_dev *dev, u32 reg, u32 value) in erdma_reg_write32()
244 static inline void erdma_reg_write64(struct erdma_dev *dev, u32 reg, u64 value) in erdma_reg_write64()
249 static inline u32 erdma_reg_read32_filed(struct erdma_dev *dev, u32 reg, in erdma_reg_read32_filed()
259 int erdma_cmdq_init(struct erdma_dev *dev);
260 void erdma_finish_cmdq_init(struct erdma_dev *dev);
[all …]
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()
185 static void erdma_hw_reset(struct erdma_dev *dev) in erdma_hw_reset()
192 static int erdma_wait_hw_init_done(struct erdma_dev *dev) in erdma_wait_hw_init_done()
[all …]
Derdma_eq.c30 void erdma_aeq_event_handler(struct erdma_dev *dev) in erdma_aeq_event_handler()
83 int erdma_aeq_init(struct erdma_dev *dev) in erdma_aeq_init()
115 void erdma_aeq_destroy(struct erdma_dev *dev) in erdma_aeq_destroy()
126 struct erdma_dev *dev = ceq_cb->dev; in erdma_ceq_completion_handler()
173 static int erdma_set_ceq_irq(struct erdma_dev *dev, u16 ceqn) in erdma_set_ceq_irq()
201 static void erdma_free_ceq_irq(struct erdma_dev *dev, u16 ceqn) in erdma_free_ceq_irq()
209 static int create_eq_cmd(struct erdma_dev *dev, u32 eqn, struct erdma_eq *eq) in create_eq_cmd()
229 static int erdma_ceq_init_one(struct erdma_dev *dev, u16 ceqn) in erdma_ceq_init_one()
259 static void erdma_ceq_uninit_one(struct erdma_dev *dev, u16 ceqn) in erdma_ceq_uninit_one()
283 int erdma_ceqs_init(struct erdma_dev *dev) in erdma_ceqs_init()
[all …]
Derdma_verbs.c41 struct erdma_dev *dev = to_edev(qp->ibqp.device); in create_qp_cmd()
133 static int regmr_cmd(struct erdma_dev *dev, struct erdma_mr *mr) in regmr_cmd()
188 struct erdma_dev *dev = to_edev(cq->ibcq.device); in create_cq_cmd()
315 struct erdma_dev *dev = to_edev(ibdev); in erdma_query_device()
357 struct erdma_dev *dev = to_edev(ibdev); in erdma_query_gid()
368 struct erdma_dev *dev = to_edev(ibdev); in erdma_query_port()
410 struct erdma_dev *dev = to_edev(ibpd->device); in erdma_alloc_pd()
425 struct erdma_dev *dev = to_edev(ibpd->device); in erdma_dealloc_pd()
447 static int erdma_qp_validate_cap(struct erdma_dev *dev, in erdma_qp_validate_cap()
462 static int erdma_qp_validate_attr(struct erdma_dev *dev, in erdma_qp_validate_attr()
[all …]
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()
120 static int erdma_cmdq_cq_init(struct erdma_dev *dev) in erdma_cmdq_cq_init()
151 static int erdma_cmdq_eq_init(struct erdma_dev *dev) in erdma_cmdq_eq_init()
183 int erdma_cmdq_init(struct erdma_dev *dev) in erdma_cmdq_init()
228 void erdma_finish_cmdq_init(struct erdma_dev *dev) in erdma_finish_cmdq_init()
235 void erdma_cmdq_destroy(struct erdma_dev *dev) in erdma_cmdq_destroy()
Derdma_verbs.h221 struct erdma_dev *dev;
273 static inline struct erdma_qp *find_qp_by_qpn(struct erdma_dev *dev, int id) in find_qp_by_qpn()
278 static inline struct erdma_cq *find_cq_by_cqn(struct erdma_dev *dev, int id) in find_cq_by_cqn()
362 void erdma_port_event(struct erdma_dev *dev, enum ib_event_type reason);
363 void erdma_set_mtu(struct erdma_dev *dev, u32 mtu);
Derdma_cm.h73 struct erdma_dev;
88 struct erdma_dev *dev;
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()
Derdma_cq.c112 struct erdma_dev *dev = to_edev(cq->ibcq.device); in erdma_poll_one_cqe()
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()