Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/realtek/
D8139cp.c297 __le32 opts1; member
483 status = le32_to_cpu(desc->opts1); in cp_rx_poll()
545 desc->opts1 = cpu_to_le32(DescOwn | RingEnd | in cp_rx_poll()
548 desc->opts1 = cpu_to_le32(DescOwn | cp->rx_buf_sz); in cp_rx_poll()
660 status = le32_to_cpu(txd->opts1); in cp_tx()
736 u32 eor, opts1; in cp_start_xmit() local
762 opts1 = DescOwn; in cp_start_xmit()
764 opts1 |= LargeSend | (mss << MSSShift); in cp_start_xmit()
768 opts1 |= IPCS | TCPCS; in cp_start_xmit()
770 opts1 |= IPCS | UDPCS; in cp_start_xmit()
[all …]
Dr8169_main.c596 __le32 opts1; member
602 __le32 opts1; member
5509 desc->opts1 &= ~cpu_to_le32(DescOwn | RsvdMask); in rtl8169_make_unusable_by_asic()
5514 u32 eor = le32_to_cpu(desc->opts1) & RingEnd; in rtl8169_mark_to_asic()
5519 desc->opts1 = cpu_to_le32(DescOwn | eor | R8169_RX_BUF_SIZE); in rtl8169_mark_to_asic()
5564 desc->opts1 |= cpu_to_le32(RingEnd); in rtl8169_mark_as_last_descriptor()
5607 desc->opts1 = 0x00; in rtl8169_unmap_tx_skb()
5710 txd->opts1 = rtl8169_get_txd_opts1(opts[0], len, entry); in rtl8169_xmit_frags()
5719 txd->opts1 |= cpu_to_le32(LastFrag); in rtl8169_xmit_frags()
5884 if (unlikely(le32_to_cpu(txd->opts1) & DescOwn)) in rtl8169_start_xmit()
[all …]
/Linux-v5.4/drivers/net/ethernet/dec/tulip/
Dde2104x.c276 __le32 opts1; member
416 status = le32_to_cpu(de->rx_ring[rx_tail].opts1); in de_rx()
485 de->rx_ring[rx_tail].opts1 = cpu_to_le32(DescOwn); in de_rx()
550 status = le32_to_cpu(de->tx_ring[tx_tail].opts1); in de_tx()
639 txd->opts1 = cpu_to_le32(DescOwn); in de_start_xmit()
781 txd->opts1 = cpu_to_le32(DescOwn); in __de_set_rx_mode()
785 dummy_txd->opts1 = cpu_to_le32(DescOwn); in __de_set_rx_mode()
1289 de->rx_ring[i].opts1 = cpu_to_le32(DescOwn); in de_refill_rx()
/Linux-v5.4/drivers/net/usb/
Dr8152.c656 __le32 opts1; member
677 __le32 opts1; member
1779 u32 opts1, opts2 = 0; in r8152_tx_csum() local
1784 opts1 = len | TX_FS | TX_LS; in r8152_tx_csum()
1797 opts1 |= GTSENDV4; in r8152_tx_csum()
1805 opts1 |= GTSENDV6; in r8152_tx_csum()
1813 opts1 |= transport_offset << GTTCPHO_SHIFT; in r8152_tx_csum()
1853 desc->opts1 = cpu_to_le32(opts1); in r8152_tx_csum()
2090 pkt_len = le32_to_cpu(rx_desc->opts1) & RX_LEN_MASK; in rx_bottom()