Searched refs:gdma_queue (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/microsoft/mana/ |
D | gdma.h | 240 struct gdma_queue; 243 struct gdma_queue *eq; 246 typedef void gdma_eq_callback(void *context, struct gdma_queue *q, 249 typedef void gdma_cq_callback(void *context, struct gdma_queue *q); 265 struct gdma_queue { struct 298 struct gdma_queue *parent; /* For CQ/EQ relationship */ argument 321 struct gdma_queue *parent_eq; 344 struct gdma_queue **cq_table; 379 u8 *mana_gd_get_wqe_ptr(const struct gdma_queue *wq, u32 wqe_offset); 380 u32 mana_gd_wq_avail_space(struct gdma_queue *wq); [all …]
|
D | gdma_main.c | 181 struct gdma_queue *queue) in mana_gd_create_hw_eq() 215 static int mana_gd_disable_queue(struct gdma_queue *queue) in mana_gd_disable_queue() 297 void mana_gd_wq_ring_doorbell(struct gdma_context *gc, struct gdma_queue *queue) in mana_gd_wq_ring_doorbell() 303 void mana_gd_ring_cq(struct gdma_queue *cq, u8 arm_bit) in mana_gd_ring_cq() 315 static void mana_gd_process_eqe(struct gdma_queue *eq) in mana_gd_process_eqe() 323 struct gdma_queue *cq; in mana_gd_process_eqe() 372 struct gdma_queue *eq = arg; in mana_gd_process_eq_events() 416 static int mana_gd_register_irq(struct gdma_queue *queue, in mana_gd_register_irq() 462 static void mana_gd_deregiser_irq(struct gdma_queue *queue) in mana_gd_deregiser_irq() 490 int mana_gd_test_eq(struct gdma_context *gc, struct gdma_queue *eq) in mana_gd_test_eq() [all …]
|
D | hw_channel.c | 103 static void mana_hwc_init_event_handler(void *ctx, struct gdma_queue *q_self, in mana_hwc_init_event_handler() 191 struct gdma_queue *rq; in mana_hwc_rx_event_handler() 240 struct gdma_queue **queue) in mana_hwc_create_gdma_wq() 257 struct gdma_queue *parent_eq, in mana_hwc_create_gdma_cq() 258 struct gdma_queue **queue) in mana_hwc_create_gdma_cq() 275 struct gdma_queue **queue) in mana_hwc_create_gdma_eq() 289 static void mana_hwc_comp_event(void *ctx, struct gdma_queue *q_self) in mana_hwc_comp_event() 338 struct gdma_queue *eq, *cq; in mana_hwc_create_cq() 468 struct gdma_queue *queue; in mana_hwc_create_wq() 602 struct gdma_queue *rq = hwc->rxq->gdma_wq; in mana_hwc_establish_channel() [all …]
|
D | hw_channel.h | 132 struct gdma_queue *gdma_cq; 133 struct gdma_queue *gdma_eq; 147 struct gdma_queue *gdma_wq;
|
D | mana.h | 68 struct gdma_queue *gdma_sq; 241 struct gdma_queue *gdma_cq; 289 struct gdma_queue *gdma_rq;
|
D | mana_en.c | 49 static bool mana_can_tx(struct gdma_queue *wq) in mana_can_tx() 141 struct gdma_queue *gdma_sq; in mana_start_xmit() 821 struct gdma_queue *eq; in mana_destroy_eq() 926 static int mana_move_wq_tail(struct gdma_queue *wq, u32 num_units) in mana_move_wq_tail() 964 struct gdma_queue *gdma_wq; in mana_poll_tx_cq() 1306 static int mana_cq_handler(void *context, struct gdma_queue *gdma_queue) in mana_cq_handler() argument 1312 WARN_ON_ONCE(cq->gdma_cq != gdma_queue); in mana_cq_handler() 1328 mana_gd_ring_cq(gdma_queue, arm_bit); in mana_cq_handler() 1346 static void mana_schedule_napi(void *context, struct gdma_queue *gdma_queue) in mana_schedule_napi() argument
|