Home
last modified time | relevance | path

Searched refs:opts2 (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/realtek/
D8139cp.c298 __le32 opts2; member
421 u32 opts2 = le32_to_cpu(desc->opts2); in cp_rx_skb() local
428 if (opts2 & RxVlanTagged) in cp_rx_skb()
429 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff)); in cp_rx_skb()
542 cp->rx_ring[rx_tail].opts2 = 0; in cp_rx_poll()
733 __le32 opts2; in cp_start_xmit() local
756 opts2 = cpu_to_le32(cp_tx_vlan_tag(skb)); in cp_start_xmit()
783 txd->opts2 = opts2; in cp_start_xmit()
838 txd->opts2 = opts2; in cp_start_xmit()
850 txd->opts2 = opts2; in cp_start_xmit()
[all …]
Dr8169.c595 __le32 opts2; member
601 __le32 opts2; member
1640 u32 opts2 = le32_to_cpu(desc->opts2); in rtl8169_rx_vlan_tag() local
1642 if (opts2 & RxVlanTag) in rtl8169_rx_vlan_tag()
1643 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff)); in rtl8169_rx_vlan_tag()
5844 desc->opts2 = 0x00; in rtl8169_unmap_tx_skb()
5940 txd->opts2 = cpu_to_le32(opts[1]); in rtl8169_xmit_frags()
6176 txd->opts2 = cpu_to_le32(opts[1]); in rtl8169_start_xmit()
6458 desc->opts2 = 0; in rtl_rx()
/Linux-v4.19/drivers/net/usb/
Dr8152.c644 __le32 opts2; member
671 __le32 opts2; member
1641 u32 opts2; in rtl_tx_vlan_tag() local
1643 opts2 = TX_VLAN_TAG | swab16(skb_vlan_tag_get(skb)); in rtl_tx_vlan_tag()
1644 desc->opts2 |= cpu_to_le32(opts2); in rtl_tx_vlan_tag()
1650 u32 opts2 = le32_to_cpu(desc->opts2); in rtl_rx_vlan_tag() local
1652 if (opts2 & RX_VLAN_TAG) in rtl_rx_vlan_tag()
1654 swab16(opts2 & 0xffff)); in rtl_rx_vlan_tag()
1661 u32 opts1, opts2 = 0; in r8152_tx_csum() local
1696 opts2 |= min(mss, MSS_MAX) << MSS_SHIFT; in r8152_tx_csum()
[all …]
/Linux-v4.19/drivers/net/ethernet/dec/tulip/
Dde2104x.c277 __le32 opts2; member
479 de->rx_ring[rx_tail].opts2 = in de_rx()
482 de->rx_ring[rx_tail].opts2 = cpu_to_le32(de->rx_buf_sz); in de_rx()
632 txd->opts2 = cpu_to_le32(flags); in de_start_xmit()
758 dummy_txd->opts2 = (entry == (DE_TX_RING_SIZE - 1)) ? in __de_set_rx_mode()
775 txd->opts2 = cpu_to_le32(SetupFrame | RingEnd | sizeof (de->setup_frame)); in __de_set_rx_mode()
777 txd->opts2 = cpu_to_le32(SetupFrame | sizeof (de->setup_frame)); in __de_set_rx_mode()
1291 de->rx_ring[i].opts2 = in de_refill_rx()
1294 de->rx_ring[i].opts2 = cpu_to_le32(de->rx_buf_sz); in de_refill_rx()
1309 de->tx_ring[DE_TX_RING_SIZE - 1].opts2 = cpu_to_le32(RingEnd); in de_init_rings()
[all …]