Searched refs:desc_ops (Results 1 – 6 of 6) sorted by relevance
520 struct xlgmac_desc_ops *desc_ops = &pdata->desc_ops; in xlgmac_free_tx_data() local534 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() local555 desc_ops->unmap_desc_data(pdata, desc_data); in xlgmac_free_rx_data()642 struct xlgmac_desc_ops *desc_ops; in xlgmac_open() local645 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() local680 desc_ops = &pdata->desc_ops; in xlgmac_close()[all …]
635 void xlgmac_init_desc_ops(struct xlgmac_desc_ops *desc_ops) in xlgmac_init_desc_ops() argument637 desc_ops->alloc_channels_and_rings = xlgmac_alloc_channels_and_rings; in xlgmac_init_desc_ops()638 desc_ops->free_channels_and_rings = xlgmac_free_channels_and_rings; in xlgmac_init_desc_ops()639 desc_ops->map_tx_skb = xlgmac_map_tx_skb; in xlgmac_init_desc_ops()640 desc_ops->map_rx_buffer = xlgmac_map_rx_buffer; in xlgmac_init_desc_ops()641 desc_ops->unmap_desc_data = xlgmac_unmap_desc_data; in xlgmac_init_desc_ops()642 desc_ops->tx_desc_init = xlgmac_tx_desc_init; in xlgmac_init_desc_ops()643 desc_ops->rx_desc_init = xlgmac_rx_desc_init; in xlgmac_init_desc_ops()
548 struct xlgmac_desc_ops desc_ops; member633 void xlgmac_init_desc_ops(struct xlgmac_desc_ops *desc_ops);
2989 struct xlgmac_desc_ops *desc_ops = &pdata->desc_ops; in xlgmac_hw_init() local3009 desc_ops->tx_desc_init(pdata); in xlgmac_hw_init()3010 desc_ops->rx_desc_init(pdata); in xlgmac_hw_init()
61 xlgmac_init_desc_ops(&pdata->desc_ops); in xlgmac_init_all_ops()
473 static const struct sxgbe_desc_ops desc_ops = { variable518 return &desc_ops; in sxgbe_get_desc_ops()