Searched refs:ring_header (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.c | 677 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 …]
|
D | emac.h | 340 struct emac_ring_header ring_header; member
|
/linux-6.6.21/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 963 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 …]
|
D | atl1c.h | 542 struct atl1c_ring_header ring_header; member
|
/linux-6.6.21/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 1024 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 …]
|
D | atl1.h | 761 struct atl1_ring_header ring_header; member
|
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ |
D | execlist.h | 133 struct execlist_mmio_pair ring_header; member
|
D | scheduler.c | 1017 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()
|