Searched refs:ceqs (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_eqs.c | 148 void hinic_ceq_register_cb(struct hinic_ceqs *ceqs, in hinic_ceq_register_cb() argument 152 struct hinic_ceq_cb *ceq_cb = &ceqs->ceq_cb[event]; in hinic_ceq_register_cb() 164 void hinic_ceq_unregister_cb(struct hinic_ceqs *ceqs, in hinic_ceq_unregister_cb() argument 167 struct hinic_ceq_cb *ceq_cb = &ceqs->ceq_cb[event]; in hinic_ceq_unregister_cb() 282 static void ceq_event_handler(struct hinic_ceqs *ceqs, u32 ceqe) in ceq_event_handler() argument 284 struct hinic_hwif *hwif = ceqs->hwif; in ceq_event_handler() 296 ceq_cb = &ceqs->ceq_cb[event]; in ceq_event_handler() 316 struct hinic_ceqs *ceqs = ceq_to_ceqs(eq); in ceq_irq_handler() local 330 ceq_event_handler(ceqs, ceqe); in ceq_irq_handler() 918 int hinic_ceqs_init(struct hinic_ceqs *ceqs, struct hinic_hwif *hwif, in hinic_ceqs_init() argument [all …]
|
H A D | hinic_hw_eqs.h | 239 void hinic_ceq_register_cb(struct hinic_ceqs *ceqs, 243 void hinic_ceq_unregister_cb(struct hinic_ceqs *ceqs, 252 int hinic_ceqs_init(struct hinic_ceqs *ceqs, struct hinic_hwif *hwif, 256 void hinic_ceqs_free(struct hinic_ceqs *ceqs);
|
H A D | hinic_hw_io.c | 540 func_to_io->ceqs.hwdev = func_to_io->hwdev; in hinic_io_init() 542 err = hinic_ceqs_init(&func_to_io->ceqs, hwif, num_ceqs, in hinic_io_init() 609 hinic_ceqs_free(&func_to_io->ceqs); in hinic_io_init() 633 hinic_ceqs_free(&func_to_io->ceqs); in hinic_io_free()
|
H A D | hinic_hw_io.h | 63 struct hinic_ceqs ceqs; member
|
H A D | hinic_hw_cmdq.c | 914 hinic_ceq_register_cb(&func_to_io->ceqs, HINIC_CEQ_CMDQ, cmdqs, in hinic_init_cmdqs() 926 hinic_ceq_unregister_cb(&func_to_io->ceqs, HINIC_CEQ_CMDQ); in hinic_init_cmdqs() 951 hinic_ceq_unregister_cb(&func_to_io->ceqs, HINIC_CEQ_CMDQ); in hinic_free_cmdqs()
|
/linux/drivers/infiniband/hw/erdma/ |
H A D | erdma_eq.c | 190 struct erdma_eq_cb *eqc = &dev->ceqs[ceqn]; in erdma_set_ceq_irq() 197 tasklet_init(&dev->ceqs[ceqn].tasklet, erdma_intr_ceq_task, in erdma_set_ceq_irq() 198 (unsigned long)&dev->ceqs[ceqn]); in erdma_set_ceq_irq() 218 struct erdma_eq_cb *eqc = &dev->ceqs[ceqn]; in erdma_free_ceq_irq() 244 struct erdma_eq *eq = &dev->ceqs[ceqn].eq; in erdma_ceq_init_one() 253 dev->ceqs[ceqn].dev = dev; in erdma_ceq_init_one() 254 dev->ceqs[ceqn].ready = true; in erdma_ceq_init_one() 260 dev->ceqs[ceqn].ready = false; in erdma_ceq_init_one() 268 struct erdma_eq *eq = &dev->ceqs[ceqn].eq; in erdma_ceq_uninit_one() 272 dev->ceqs[ceqn].ready = 0; in erdma_ceq_uninit_one()
|
H A D | erdma.h | 203 struct erdma_eq_cb ceqs[ERDMA_NUM_MSIX_VEC - 1]; member
|