Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/
H A 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()
738 __le32 opts2; in cp_start_xmit() local
761 opts2 = cpu_to_le32(cp_tx_vlan_tag(skb)); in cp_start_xmit()
788 txd->opts2 = opts2; in cp_start_xmit()
843 txd->opts2 = opts2; in cp_start_xmit()
855 txd->opts2 = opts2; in cp_start_xmit()
[all …]
H A Dr8169_main.c544 __le32 opts2; member
550 __le32 opts2; member
1533 u32 opts2 = le32_to_cpu(desc->opts2); in rtl8169_rx_vlan_tag() local
1535 if (opts2 & RxVlanTag) in rtl8169_rx_vlan_tag()
1536 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff)); in rtl8169_rx_vlan_tag()
3864 desc->opts2 = 0; in rtl8169_mark_to_asic()
4059 txd->opts2 = cpu_to_le32(opts[1]); in rtl8169_tx_map()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c271 __le32 opts2; member
478 de->rx_ring[rx_tail].opts2 = in de_rx()
481 de->rx_ring[rx_tail].opts2 = cpu_to_le32(de->rx_buf_sz); in de_rx()
634 txd->opts2 = cpu_to_le32(flags); in de_start_xmit()
760 dummy_txd->opts2 = (entry == (DE_TX_RING_SIZE - 1)) ? in __de_set_rx_mode()
777 txd->opts2 = cpu_to_le32(SetupFrame | RingEnd | sizeof (de->setup_frame)); in __de_set_rx_mode()
779 txd->opts2 = cpu_to_le32(SetupFrame | sizeof (de->setup_frame)); in __de_set_rx_mode()
1295 de->rx_ring[i].opts2 = in de_refill_rx()
1298 de->rx_ring[i].opts2 = cpu_to_le32(de->rx_buf_sz); in de_refill_rx()
1313 de->tx_ring[DE_TX_RING_SIZE - 1].opts2 = cpu_to_le32(RingEnd); in de_init_rings()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dr8152.c727 __le32 opts2; member
754 __le32 opts2; member
1960 u32 opts2; in rtl_tx_vlan_tag() local
1962 opts2 = TX_VLAN_TAG | swab16(skb_vlan_tag_get(skb)); in rtl_tx_vlan_tag()
1963 desc->opts2 |= cpu_to_le32(opts2); in rtl_tx_vlan_tag()
1969 u32 opts2 = le32_to_cpu(desc->opts2); in rtl_rx_vlan_tag() local
1971 if (opts2 & RX_VLAN_TAG) in rtl_rx_vlan_tag()
1973 swab16(opts2 & 0xffff)); in rtl_rx_vlan_tag()
1980 u32 opts1, opts2 = 0; in r8152_tx_csum() local
2016 opts2 |= min(mss, MSS_MAX) << MSS_SHIFT; in r8152_tx_csum()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/eth/
H A Dr8152.h519 __le32 opts2; member
547 __le32 opts2; member
H A Dr8152.c1224 u32 opts1, opts2 = 0; in r8152_send_common() local
1235 tx_desc->opts2 = cpu_to_le32(opts2); in r8152_send_common()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/
H A Dr8168.h1434 u32 opts2; member
1440 u32 opts2; member
H A Dr8168_n.c3661 txd->opts2 = 0; in rtl8168_mac_loopback_test()
5414 u32 opts2 = le32_to_cpu(desc->opts2); in rtl8168_rx_vlan_skb() local
5418 if (tp->vlgrp && (opts2 & RxVlanTag)) { in rtl8168_rx_vlan_skb()
5420 swab16(opts2 & 0xffff)); in rtl8168_rx_vlan_skb()
5424 if (opts2 & RxVlanTag) in rtl8168_rx_vlan_skb()
5425 __vlan_hwaccel_put_tag(skb, swab16(opts2 & 0xffff)); in rtl8168_rx_vlan_skb()
5427 if (opts2 & RxVlanTag) in rtl8168_rx_vlan_skb()
5428 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff)); in rtl8168_rx_vlan_skb()
5431 desc->opts2 = 0; in rtl8168_rx_vlan_skb()
27286 desc->opts2 = 0x00; in rtl8168_unmap_tx_skb()
[all …]
/OK3568_Linux_fs/external/dpdk/pcie/igb_uio/
H A Digb_uio.c372 u32 opts2; member