Lines Matching refs:alloc
568 txring->alloc = dma_alloc_coherent(&(jme->pdev->dev), in jme_setup_tx_resources()
573 if (!txring->alloc) in jme_setup_tx_resources()
579 txring->desc = (void *)ALIGN((unsigned long)(txring->alloc), in jme_setup_tx_resources()
594 memset(txring->alloc, 0, TX_RING_ALLOC_SIZE(jme->tx_ring_size)); in jme_setup_tx_resources()
603 txring->alloc, in jme_setup_tx_resources()
622 if (txring->alloc) { in jme_free_tx_resources()
640 txring->alloc, in jme_free_tx_resources()
643 txring->alloc = NULL; in jme_free_tx_resources()
805 if (rxring->alloc) { in jme_free_rx_resources()
814 rxring->alloc, in jme_free_rx_resources()
816 rxring->alloc = NULL; in jme_free_rx_resources()
832 rxring->alloc = dma_alloc_coherent(&(jme->pdev->dev), in jme_setup_rx_resources()
836 if (!rxring->alloc) in jme_setup_rx_resources()
842 rxring->desc = (void *)ALIGN((unsigned long)(rxring->alloc), in jme_setup_rx_resources()
872 rxring->alloc, in jme_setup_rx_resources()