Searched refs:opts2 (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/realtek/ |
D | 8139cp.c | 298 __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 …]
|
D | r8169_main.c | 540 __le32 opts2; member 546 __le32 opts2; member 1562 u32 opts2 = le32_to_cpu(desc->opts2); in rtl8169_rx_vlan_tag() local 1564 if (opts2 & RxVlanTag) in rtl8169_rx_vlan_tag() 1565 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff)); in rtl8169_rx_vlan_tag() 3803 desc->opts2 = 0; in rtl8169_mark_to_asic() 3994 txd->opts2 = cpu_to_le32(opts[1]); in rtl8169_tx_map()
|
/Linux-v6.6/drivers/net/ethernet/dec/tulip/ |
D | de2104x.c | 271 __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 …]
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | xfrm_info.c | 76 LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, .priority = 1, in attach_tc_prog() 95 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
|
D | test_tunnel.c | 279 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, in attach_tc_prog() 298 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
|
/Linux-v6.6/drivers/net/usb/ |
D | r8152.c | 808 __le32 opts2; member 835 __le32 opts2; member 2252 u32 opts2; in rtl_tx_vlan_tag() local 2254 opts2 = TX_VLAN_TAG | swab16(skb_vlan_tag_get(skb)); in rtl_tx_vlan_tag() 2255 desc->opts2 |= cpu_to_le32(opts2); in rtl_tx_vlan_tag() 2261 u32 opts2 = le32_to_cpu(desc->opts2); in rtl_rx_vlan_tag() local 2263 if (opts2 & RX_VLAN_TAG) in rtl_rx_vlan_tag() 2265 swab16(opts2 & 0xffff)); in rtl_rx_vlan_tag() 2272 u32 opts1, opts2 = 0; in r8152_tx_csum() local 2310 opts2 |= min(mss, MSS_MAX) << MSS_SHIFT; in r8152_tx_csum() [all …]
|