Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/
H A 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 …]
H A Dr8169_main.c543 __le32 opts1; member
549 __le32 opts1; member
3862 u32 eor = le32_to_cpu(desc->opts1) & RingEnd; in rtl8169_mark_to_asic()
3867 WRITE_ONCE(desc->opts1, cpu_to_le32(DescOwn | eor | R8169_RX_BUF_SIZE)); in rtl8169_mark_to_asic()
3906 tp->RxDescArray[i].opts1 = 0; in rtl8169_rx_clear()
3926 tp->RxDescArray[NUM_RX_DESC - 1].opts1 |= cpu_to_le32(RingEnd); in rtl8169_rx_fill()
4047 u32 opts1; in rtl8169_tx_map() local
4061 opts1 = opts[0] | len; in rtl8169_tx_map()
4063 opts1 |= RingEnd; in rtl8169_tx_map()
4065 opts1 |= DescOwn; in rtl8169_tx_map()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/eth/
H A Dr8152.h515 __le32 opts1; member
537 __le32 opts1; member
H A Dr8152.c1224 u32 opts1, opts2 = 0; in r8152_send_common() local
1233 opts1 = length | TX_FS | TX_LS; in r8152_send_common()
1236 tx_desc->opts1 = cpu_to_le32(opts1); in r8152_send_common()
1301 packet_len = le32_to_cpu(rx_desc->opts1) & RX_LEN_MASK; in r8152_recv()
1527 packet_len = le32_to_cpu(rx_desc->opts1) & RX_LEN_MASK; in r8152_eth_recv()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c270 __le32 opts1; member
410 status = le32_to_cpu(de->rx_ring[rx_tail].opts1); in de_rx()
484 de->rx_ring[rx_tail].opts1 = cpu_to_le32(DescOwn); in de_rx()
549 status = le32_to_cpu(de->tx_ring[tx_tail].opts1); in de_tx()
641 txd->opts1 = cpu_to_le32(DescOwn); in de_start_xmit()
783 txd->opts1 = cpu_to_le32(DescOwn); in __de_set_rx_mode()
787 dummy_txd->opts1 = cpu_to_le32(DescOwn); in __de_set_rx_mode()
1293 de->rx_ring[i].opts1 = cpu_to_le32(DescOwn); in de_refill_rx()
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dr8152.c724 __le32 opts1; member
745 __le32 opts1; member
1980 u32 opts1, opts2 = 0; in r8152_tx_csum() local
1985 opts1 = len | TX_FS | TX_LS; in r8152_tx_csum()
1998 opts1 |= GTSENDV4; in r8152_tx_csum()
2007 opts1 |= GTSENDV6; in r8152_tx_csum()
2015 opts1 |= transport_offset << GTTCPHO_SHIFT; in r8152_tx_csum()
2055 desc->opts1 = cpu_to_le32(opts1); in r8152_tx_csum()
2292 pkt_len = le32_to_cpu(rx_desc->opts1) & RX_LEN_MASK; in rx_bottom()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/
H A Dr8168.h1433 u32 opts1; member
1439 u32 opts1; member
H A Dr8168_n.c3667 txd->opts1 = cpu_to_le32(DescOwn | FirstFrag | LastFrag | len); in rtl8168_mac_loopback_test()
3676 rx_cmd = le32_to_cpu(rxd->opts1); in rtl8168_mac_loopback_test()
3685 rxd->opts1 = cpu_to_le32(DescOwn | tp->rx_buf_sz); in rtl8168_mac_loopback_test()
27080 desc->opts1 &= ~cpu_to_le32(DescOwn | RsvdMask); in rtl8168_make_unusable_by_asic()
27101 u32 eor = le32_to_cpu(desc->opts1) & RingEnd; in rtl8168_mark_to_asic()
27103 desc->opts1 = cpu_to_le32(DescOwn | eor | rx_buf_sz); in rtl8168_mark_to_asic()
27198 desc->opts1 |= cpu_to_le32(RingEnd); in rtl8168_mark_as_last_descriptor()
27222 tp->TxDescArray[i].opts1 = cpu_to_le32(RingEnd); in rtl8168_tx_desc_init()
27239 … tp->RxDescArray[i].opts1 = cpu_to_le32((ownbit | RingEnd) | (unsigned long)tp->rx_buf_sz); in rtl8168_rx_desc_offset0_init()
27241 … tp->RxDescArray[i].opts1 = cpu_to_le32(ownbit | (unsigned long)tp->rx_buf_sz); in rtl8168_rx_desc_offset0_init()
[all …]
/OK3568_Linux_fs/external/dpdk/pcie/igb_uio/
H A Digb_uio.c371 u32 opts1; member