Home
last modified time | relevance | path

Searched refs:ring_header (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/qualcomm/emac/
Demac-mac.c677 struct emac_ring_header *ring_header = &adpt->ring_header; in emac_tx_q_desc_alloc() local
687 tx_q->tpd.dma_addr = ring_header->dma_addr + ring_header->used; in emac_tx_q_desc_alloc()
688 tx_q->tpd.v_addr = ring_header->v_addr + ring_header->used; in emac_tx_q_desc_alloc()
689 ring_header->used += ALIGN(tx_q->tpd.size, 8); in emac_tx_q_desc_alloc()
718 struct emac_ring_header *ring_header = &adpt->ring_header; in emac_rx_descs_alloc() local
731 rx_q->rrd.dma_addr = ring_header->dma_addr + ring_header->used; in emac_rx_descs_alloc()
732 rx_q->rrd.v_addr = ring_header->v_addr + ring_header->used; in emac_rx_descs_alloc()
733 ring_header->used += ALIGN(rx_q->rrd.size, 8); in emac_rx_descs_alloc()
735 rx_q->rfd.dma_addr = ring_header->dma_addr + ring_header->used; in emac_rx_descs_alloc()
736 rx_q->rfd.v_addr = ring_header->v_addr + ring_header->used; in emac_rx_descs_alloc()
[all …]
Demac.h340 struct emac_ring_header ring_header; member
/linux-6.6.21/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c963 dma_free_coherent(&pdev->dev, adapter->ring_header.size, in atl1c_free_ring_resources()
964 adapter->ring_header.desc, adapter->ring_header.dma); in atl1c_free_ring_resources()
965 adapter->ring_header.desc = NULL; in atl1c_free_ring_resources()
988 struct atl1c_ring_header *ring_header = &adapter->ring_header; in atl1c_setup_ring_resources() local
1032 ring_header->size = in atl1c_setup_ring_resources()
1038 ring_header->desc = dma_alloc_coherent(&pdev->dev, ring_header->size, in atl1c_setup_ring_resources()
1039 &ring_header->dma, GFP_KERNEL); in atl1c_setup_ring_resources()
1040 if (unlikely(!ring_header->desc)) { in atl1c_setup_ring_resources()
1046 tpd_ring[0].dma = roundup(ring_header->dma, 8); in atl1c_setup_ring_resources()
1047 offset = tpd_ring[0].dma - ring_header->dma; in atl1c_setup_ring_resources()
[all …]
Datl1c.h542 struct atl1c_ring_header ring_header; member
/linux-6.6.21/drivers/net/ethernet/atheros/atlx/
Datl1.c1024 struct atl1_ring_header *ring_header = &adapter->ring_header; in atl1_setup_ring_resources() local
1045 ring_header->size = in atl1_setup_ring_resources()
1053 ring_header->desc = dma_alloc_coherent(&pdev->dev, ring_header->size, in atl1_setup_ring_resources()
1054 &ring_header->dma, GFP_KERNEL); in atl1_setup_ring_resources()
1055 if (unlikely(!ring_header->desc)) { in atl1_setup_ring_resources()
1062 tpd_ring->dma = ring_header->dma; in atl1_setup_ring_resources()
1063 offset = (tpd_ring->dma & 0x7) ? (8 - (ring_header->dma & 0x7)) : 0; in atl1_setup_ring_resources()
1065 tpd_ring->desc = (u8 *) ring_header->desc + offset; in atl1_setup_ring_resources()
1214 struct atl1_ring_header *ring_header = &adapter->ring_header; in atl1_free_ring_resources() local
1220 dma_free_coherent(&pdev->dev, ring_header->size, ring_header->desc, in atl1_free_ring_resources()
[all …]
Datl1.h761 struct atl1_ring_header ring_header; member
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dexeclist.h133 struct execlist_mmio_pair ring_header; member
Dscheduler.c1017 RING_CTX_OFF(ring_header.val), &workload->rb_tail, 4); in update_guest_context()
1648 RING_CTX_OFF(ring_header.val), &head, 4); in intel_vgpu_create_workload()