Lines Matching refs:ring_header
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()
1221 ring_header->dma); in atl1_free_ring_resources()
3476 rhdr_old = adapter->ring_header; in atl1_set_ringparam()
3506 rhdr_new = adapter->ring_header; in atl1_set_ringparam()
3510 adapter->ring_header = rhdr_old; in atl1_set_ringparam()
3521 adapter->ring_header = rhdr_new; in atl1_set_ringparam()
3535 adapter->ring_header = rhdr_old; in atl1_set_ringparam()