Home
last modified time | relevance | path

Searched refs:desc_ops (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-net.c521 struct xlgmac_desc_ops *desc_ops = &pdata->desc_ops; in xlgmac_free_tx_data() local
535 desc_ops->unmap_desc_data(pdata, desc_data); in xlgmac_free_tx_data()
542 struct xlgmac_desc_ops *desc_ops = &pdata->desc_ops; in xlgmac_free_rx_data() local
556 desc_ops->unmap_desc_data(pdata, desc_data); in xlgmac_free_rx_data()
643 struct xlgmac_desc_ops *desc_ops; in xlgmac_open() local
646 desc_ops = &pdata->desc_ops; in xlgmac_open()
657 ret = desc_ops->alloc_channels_and_rings(pdata); in xlgmac_open()
671 desc_ops->free_channels_and_rings(pdata); in xlgmac_open()
679 struct xlgmac_desc_ops *desc_ops; in xlgmac_close() local
681 desc_ops = &pdata->desc_ops; in xlgmac_close()
[all …]
H A Ddwc-xlgmac-desc.c631 void xlgmac_init_desc_ops(struct xlgmac_desc_ops *desc_ops) in xlgmac_init_desc_ops() argument
633 desc_ops->alloc_channels_and_rings = xlgmac_alloc_channels_and_rings; in xlgmac_init_desc_ops()
634 desc_ops->free_channels_and_rings = xlgmac_free_channels_and_rings; in xlgmac_init_desc_ops()
635 desc_ops->map_tx_skb = xlgmac_map_tx_skb; in xlgmac_init_desc_ops()
636 desc_ops->map_rx_buffer = xlgmac_map_rx_buffer; in xlgmac_init_desc_ops()
637 desc_ops->unmap_desc_data = xlgmac_unmap_desc_data; in xlgmac_init_desc_ops()
638 desc_ops->tx_desc_init = xlgmac_tx_desc_init; in xlgmac_init_desc_ops()
639 desc_ops->rx_desc_init = xlgmac_rx_desc_init; in xlgmac_init_desc_ops()
H A Ddwc-xlgmac.h548 struct xlgmac_desc_ops desc_ops; member
633 void xlgmac_init_desc_ops(struct xlgmac_desc_ops *desc_ops);
H A Ddwc-xlgmac-hw.c2989 struct xlgmac_desc_ops *desc_ops = &pdata->desc_ops; in xlgmac_hw_init() local
3009 desc_ops->tx_desc_init(pdata); in xlgmac_hw_init()
3010 desc_ops->rx_desc_init(pdata); in xlgmac_hw_init()
H A Ddwc-xlgmac-common.c61 xlgmac_init_desc_ops(&pdata->desc_ops); in xlgmac_init_all_ops()
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_desc.c473 static const struct sxgbe_desc_ops desc_ops = { variable
518 return &desc_ops; in sxgbe_get_desc_ops()
/linux/drivers/net/usb/
H A Dr8152.c973 struct desc_ops { struct
978 } desc_ops; member
2770 ret = tp->desc_ops.tx_csum(tp, desc, skb, len); in rtl_tx_csum()
2772 tp->desc_ops.tx_len(tp, desc, len); in rtl_tx_csum()
3041 pkt_len = tp->desc_ops.rx_len(tp, rx_desc); in rx_bottom()
3082 skb->ip_summed = tp->desc_ops.rx_csum(tp, rx_desc); in rx_bottom()
9460 tp->desc_ops.rx_csum = r8152_rx_csum; in r8152_desc_init()
9461 tp->desc_ops.rx_len = r8152_rx_len; in r8152_desc_init()
9465 tp->desc_ops.tx_csum = r8152_tx_csum; in r8152_desc_init()
9466 tp->desc_ops.tx_len = r8152_tx_len; in r8152_desc_init()
[all …]