Searched refs:gdma_queue (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/include/net/mana/ |
H A D | gdma.h | 264 struct gdma_queue; 267 struct gdma_queue *eq; 270 typedef void gdma_eq_callback(void *context, struct gdma_queue *q, 273 typedef void gdma_cq_callback(void *context, struct gdma_queue *q); 289 struct gdma_queue { struct 322 struct gdma_queue *parent; /* For CQ/EQ relationship */ argument 345 struct gdma_queue *parent_eq; 374 struct gdma_queue **cq_table; 412 u8 *mana_gd_get_wqe_ptr(const struct gdma_queue *wq, u32 wqe_offset); 413 u32 mana_gd_wq_avail_space(struct gdma_queue *wq); [all …]
|
H A D | hw_channel.h | 136 struct gdma_queue *gdma_cq; 137 struct gdma_queue *gdma_eq; 151 struct gdma_queue *gdma_wq;
|
H A D | mana.h | 80 struct gdma_queue *gdma_sq; 256 struct gdma_queue *gdma_cq; 308 struct gdma_queue *gdma_rq;
|
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | gdma_main.c | 204 struct gdma_queue *queue) in mana_gd_create_hw_eq() 238 static int mana_gd_disable_queue(struct gdma_queue *queue) in mana_gd_disable_queue() 320 void mana_gd_wq_ring_doorbell(struct gdma_context *gc, struct gdma_queue *queue) in mana_gd_wq_ring_doorbell() 329 void mana_gd_ring_cq(struct gdma_queue *cq, u8 arm_bit) in mana_gd_ring_cq() 341 static void mana_gd_process_eqe(struct gdma_queue *eq) in mana_gd_process_eqe() 349 struct gdma_queue *cq; in mana_gd_process_eqe() 398 struct gdma_queue *eq = arg; in mana_gd_process_eq_events() 442 static int mana_gd_register_irq(struct gdma_queue *queue, in mana_gd_register_irq() 488 static void mana_gd_deregiser_irq(struct gdma_queue *queue) in mana_gd_deregiser_irq() 516 int mana_gd_test_eq(struct gdma_context *gc, struct gdma_queue *eq) in mana_gd_test_eq() [all …]
|
H A D | hw_channel.c | 111 static void mana_hwc_init_event_handler(void *ctx, struct gdma_queue *q_self, in mana_hwc_init_event_handler() 217 struct gdma_queue *rq; in mana_hwc_rx_event_handler() 264 struct gdma_queue **queue) in mana_hwc_create_gdma_wq() 281 struct gdma_queue *parent_eq, in mana_hwc_create_gdma_cq() 282 struct gdma_queue **queue) in mana_hwc_create_gdma_cq() 299 struct gdma_queue **queue) in mana_hwc_create_gdma_eq() 313 static void mana_hwc_comp_event(void *ctx, struct gdma_queue *q_self) in mana_hwc_comp_event() 362 struct gdma_queue *eq, *cq; in mana_hwc_create_cq() 492 struct gdma_queue *queue; in mana_hwc_create_wq() 626 struct gdma_queue *rq = hwc->rxq->gdma_wq; in mana_hwc_establish_channel() [all …]
|
H A D | mana_en.c | 65 static bool mana_can_tx(struct gdma_queue *wq) in mana_can_tx() 231 struct gdma_queue *gdma_sq; in mana_start_xmit() 1212 struct gdma_queue *eq; in mana_destroy_eq() 1317 static int mana_move_wq_tail(struct gdma_queue *wq, u32 num_units) in mana_move_wq_tail() 1360 struct gdma_queue *gdma_wq; in mana_poll_tx_cq() 1778 static int mana_cq_handler(void *context, struct gdma_queue *gdma_queue) in mana_cq_handler() argument 1783 WARN_ON_ONCE(cq->gdma_cq != gdma_queue); in mana_cq_handler() 1794 mana_gd_ring_cq(gdma_queue, SET_ARM_BIT); in mana_cq_handler() 1804 mana_gd_ring_cq(gdma_queue, 0); in mana_cq_handler() 1824 static void mana_schedule_napi(void *context, struct gdma_queue *gdma_queue) in mana_schedule_napi() argument
|