Searched refs:gdma_context (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/dev/mana/ |
H A D | gdma_main.c | 68 mana_gd_r32(struct gdma_context *g, uint64_t offset) in mana_gd_r32() 78 mana_gd_r64(struct gdma_context *g, uint64_t offset) in mana_gd_r64() 87 mana_gd_r64(struct gdma_context *g, uint64_t offset) in mana_gd_r64() 102 struct gdma_context *gc = device_get_softc(dev); in mana_gd_query_max_resources() 151 struct gdma_context *gc = device_get_softc(dev); in mana_gd_detect_devices() 184 gc->mana.gdma_context = gc; in mana_gd_detect_devices() 193 mana_gd_send_request(struct gdma_context *gc, uint32_t req_len, in mana_gd_send_request() 214 mana_gd_alloc_memory(struct gdma_context *gc, unsigned int length, in mana_gd_alloc_memory() 285 mana_gd_destroy_doorbell_page(struct gdma_context *gc, int doorbell_page) in mana_gd_destroy_doorbell_page() 310 mana_gd_allocate_doorbell_page(struct gdma_context *gc, int *doorbell_page) in mana_gd_allocate_doorbell_page() [all …]
|
H A D | gdma.h | 258 struct gdma_context *gdma_context; member 400 struct gdma_context { struct 454 int mana_gd_test_eq(struct gdma_context *gc, struct gdma_queue *eq); argument 468 void mana_gd_destroy_queue(struct gdma_context *gc, struct gdma_queue *queue); 855 void mana_gd_wq_ring_doorbell(struct gdma_context *gc, 858 int mana_gd_alloc_memory(struct gdma_context *gc, unsigned int length, 866 int mana_gd_send_request(struct gdma_context *gc, uint32_t req_len, 869 int mana_gd_allocate_doorbell_page(struct gdma_context *gc, 872 int mana_gd_destroy_doorbell_page(struct gdma_context *gc, 875 int mana_gd_destroy_dma_region(struct gdma_context *gc,
|
H A D | hw_channel.c | 193 gd->gdma_context->max_num_cqs = val; in mana_hwc_init_event_handler() 382 mana_hwc_destroy_cq(struct gdma_context *gc, struct hwc_cq *hwc_cq) in mana_hwc_destroy_cq() 451 mana_hwc_destroy_cq(hwc->gdma_dev->gdma_context, hwc_cq); in mana_hwc_create_cq() 460 struct gdma_context *gc = hwc->gdma_dev->gdma_context; in mana_hwc_alloc_dma_buf() 524 mana_gd_destroy_queue(hwc->gdma_dev->gdma_context, in mana_hwc_destroy_wq() 645 struct gdma_context *gc = hwc->gdma_dev->gdma_context; in mana_hwc_test_channel() 672 mana_hwc_establish_channel(struct gdma_context *gc, uint16_t *q_depth, in mana_hwc_establish_channel() 761 mana_hwc_create_channel(struct gdma_context *gc) in mana_hwc_create_channel() 771 gd->gdma_context = gc; in mana_hwc_create_channel() 819 mana_hwc_destroy_channel(struct gdma_context *gc) in mana_hwc_destroy_channel() [all …]
|
H A D | mana_en.c | 644 mana_gd_wq_ring_doorbell(gd->gdma_context, gdma_sq); in mana_xmit() 881 device_t dev = apc->ac->gdma_dev->gdma_context->dev; in mana_init_port_context() 931 struct gdma_context *gc = ac->gdma_dev->gdma_context; in mana_send_request() 985 struct gdma_context *gc = ac->gdma_dev->gdma_context; in mana_query_device_cfg() 1289 struct gdma_context *gc = ac->gdma_dev->gdma_context; in mana_destroy_eq() 1312 struct gdma_context *gc = gd->gdma_context; in mana_create_eq() 1838 struct gdma_context *gc = in mana_poll_rx_cq() 1839 cq->rxq->gdma_rq->gdma_dev->gdma_context; in mana_poll_rx_cq() 1931 mana_gd_destroy_queue(gd->gdma_context, cq->gdma_cq); in mana_deinit_cq() 1992 mana_gd_destroy_queue(gd->gdma_context, txq->gdma_sq); in mana_deinit_txq() [all …]
|
H A D | hw_channel.h | 214 int mana_hwc_create_channel(struct gdma_context *gc); 215 void mana_hwc_destroy_channel(struct gdma_context *gc);
|
H A D | mana_sysctl.c | 142 struct gdma_context *gc = apc->ac->gdma_dev->gdma_context; in mana_sysctl_add_port()
|