Lines Matching refs:rxring
120 rx_desc *rxring; member
758 if (data->rxring[rx].misc & TSI108_RX_OWN) in tsi108_complete_rx()
766 if (data->rxring[rx].misc & TSI108_RX_BAD) { in tsi108_complete_rx()
769 if (data->rxring[rx].misc & TSI108_RX_CRC) in tsi108_complete_rx()
771 if (data->rxring[rx].misc & TSI108_RX_OVER) in tsi108_complete_rx()
782 dev->name, data->rxring[rx].len); in tsi108_complete_rx()
783 for (i = 0; i < data->rxring[rx].len; i++) in tsi108_complete_rx()
788 skb_put(skb, data->rxring[rx].len); in tsi108_complete_rx()
812 data->rxring[rx].buf0 = dma_map_single(NULL, skb->data, in tsi108_refill_rx()
821 data->rxring[rx].blen = TSI108_RX_SKB_SIZE; in tsi108_refill_rx()
822 data->rxring[rx].misc = TSI108_RX_OWN | TSI108_RX_INT; in tsi108_refill_rx()
1320 data->rxring = dma_alloc_coherent(NULL, rxring_size, in tsi108_open()
1323 if (!data->rxring) { in tsi108_open()
1328 memset(data->rxring, 0, rxring_size); in tsi108_open()
1337 pci_free_consistent(0, rxring_size, data->rxring, data->rxdma); in tsi108_open()
1344 data->rxring[i].next0 = data->rxdma + (i + 1) * sizeof(rx_desc); in tsi108_open()
1345 data->rxring[i].blen = TSI108_RXBUF_SIZE; in tsi108_open()
1346 data->rxring[i].vlan = 0; in tsi108_open()
1349 data->rxring[TSI108_RXRING_LEN - 1].next0 = data->rxdma; in tsi108_open()
1374 data->rxring[i].buf0 = virt_to_phys(data->rxskbs[i]->data); in tsi108_open()
1375 data->rxring[i].misc = TSI108_RX_OWN | TSI108_RX_INT; in tsi108_open()
1455 data->rxring, data->rxdma); in tsi108_close()