Lines Matching refs:ring_header
1046 struct atl1_ring_header *ring_header = &adapter->ring_header; in atl1_setup_ring_resources() local
1067 ring_header->size = size = in atl1_setup_ring_resources()
1075 ring_header->desc = pci_alloc_consistent(pdev, ring_header->size, in atl1_setup_ring_resources()
1076 &ring_header->dma); in atl1_setup_ring_resources()
1077 if (unlikely(!ring_header->desc)) { in atl1_setup_ring_resources()
1083 memset(ring_header->desc, 0, ring_header->size); in atl1_setup_ring_resources()
1086 tpd_ring->dma = ring_header->dma; in atl1_setup_ring_resources()
1087 offset = (tpd_ring->dma & 0x7) ? (8 - (ring_header->dma & 0x7)) : 0; in atl1_setup_ring_resources()
1089 tpd_ring->desc = (u8 *) ring_header->desc + offset; in atl1_setup_ring_resources()
1238 struct atl1_ring_header *ring_header = &adapter->ring_header; in atl1_free_ring_resources() local
1244 pci_free_consistent(pdev, ring_header->size, ring_header->desc, in atl1_free_ring_resources()
1245 ring_header->dma); in atl1_free_ring_resources()
3499 rhdr_old = adapter->ring_header; in atl1_set_ringparam()
3529 rhdr_new = adapter->ring_header; in atl1_set_ringparam()
3533 adapter->ring_header = rhdr_old; in atl1_set_ringparam()
3544 adapter->ring_header = rhdr_new; in atl1_set_ringparam()
3558 adapter->ring_header = rhdr_old; in atl1_set_ringparam()