Searched refs:ring_header (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/net/atl1c/ |
D | atl1c_main.c | 888 pci_free_consistent(pdev, adapter->ring_header.size, in atl1c_free_ring_resources() 889 adapter->ring_header.desc, in atl1c_free_ring_resources() 890 adapter->ring_header.dma); in atl1c_free_ring_resources() 891 adapter->ring_header.desc = NULL; in atl1c_free_ring_resources() 913 struct atl1c_ring_header *ring_header = &adapter->ring_header; in atl1c_setup_ring_resources() local 955 ring_header->size = size = in atl1c_setup_ring_resources() 962 ring_header->desc = pci_alloc_consistent(pdev, ring_header->size, in atl1c_setup_ring_resources() 963 &ring_header->dma); in atl1c_setup_ring_resources() 964 if (unlikely(!ring_header->desc)) { in atl1c_setup_ring_resources() 968 memset(ring_header->desc, 0, ring_header->size); in atl1c_setup_ring_resources() [all …]
|
D | atl1c.h | 588 struct atl1c_ring_header ring_header; member
|
/linux-2.6.39/drivers/net/atlx/ |
D | atl1.c | 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 [all …]
|
D | atl1.h | 770 struct atl1_ring_header ring_header; member
|