Lines Matching refs:alloc
574 txring->alloc = dma_alloc_coherent(&(jme->pdev->dev), in jme_setup_tx_resources()
579 if (!txring->alloc) in jme_setup_tx_resources()
585 txring->desc = (void *)ALIGN((unsigned long)(txring->alloc), in jme_setup_tx_resources()
600 memset(txring->alloc, 0, TX_RING_ALLOC_SIZE(jme->tx_ring_size)); in jme_setup_tx_resources()
607 txring->alloc, in jme_setup_tx_resources()
626 if (txring->alloc) { in jme_free_tx_resources()
644 txring->alloc, in jme_free_tx_resources()
647 txring->alloc = NULL; in jme_free_tx_resources()
809 if (rxring->alloc) { in jme_free_rx_resources()
818 rxring->alloc, in jme_free_rx_resources()
820 rxring->alloc = NULL; in jme_free_rx_resources()
836 rxring->alloc = dma_alloc_coherent(&(jme->pdev->dev), in jme_setup_rx_resources()
840 if (!rxring->alloc) in jme_setup_rx_resources()
846 rxring->desc = (void *)ALIGN((unsigned long)(rxring->alloc), in jme_setup_rx_resources()
874 rxring->alloc, in jme_setup_rx_resources()