Lines Matching refs:desc_ops
520 struct xlgmac_desc_ops *desc_ops = &pdata->desc_ops; in xlgmac_free_tx_data() local
534 desc_ops->unmap_desc_data(pdata, desc_data); in xlgmac_free_tx_data()
541 struct xlgmac_desc_ops *desc_ops = &pdata->desc_ops; in xlgmac_free_rx_data() local
555 desc_ops->unmap_desc_data(pdata, desc_data); in xlgmac_free_rx_data()
642 struct xlgmac_desc_ops *desc_ops; in xlgmac_open() local
645 desc_ops = &pdata->desc_ops; in xlgmac_open()
656 ret = desc_ops->alloc_channels_and_rings(pdata); in xlgmac_open()
670 desc_ops->free_channels_and_rings(pdata); in xlgmac_open()
678 struct xlgmac_desc_ops *desc_ops; in xlgmac_close() local
680 desc_ops = &pdata->desc_ops; in xlgmac_close()
686 desc_ops->free_channels_and_rings(pdata); in xlgmac_close()
703 struct xlgmac_desc_ops *desc_ops; in xlgmac_xmit() local
710 desc_ops = &pdata->desc_ops; in xlgmac_xmit()
746 if (!desc_ops->map_tx_skb(channel, skb)) { in xlgmac_xmit()
955 struct xlgmac_desc_ops *desc_ops; in xlgmac_rx_refresh() local
958 desc_ops = &pdata->desc_ops; in xlgmac_rx_refresh()
965 desc_ops->unmap_desc_data(pdata, desc_data); in xlgmac_rx_refresh()
967 if (desc_ops->map_rx_buffer(pdata, ring, desc_data)) in xlgmac_rx_refresh()
1041 struct xlgmac_desc_ops *desc_ops; in xlgmac_tx_poll() local
1047 desc_ops = &pdata->desc_ops; in xlgmac_tx_poll()
1083 desc_ops->unmap_desc_data(pdata, desc_data); in xlgmac_tx_poll()