Home
last modified time | relevance | path

Searched refs:DescOwn (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/packetengines/
H A Dhamachi.c475 DescOwn=0x80000000, DescEndPacket=0x40000000, DescEndRing=0x20000000, enumerator
1001 if (hmp->tx_ring[entry].status_n_length & cpu_to_le32(DescOwn)) in hamachi_tx()
1081 hmp->rx_ring[i].status_n_length &= cpu_to_le32(~DescOwn); in hamachi_tx_timeout()
1141 hmp->rx_ring[i].status_n_length = cpu_to_le32(DescOwn | in hamachi_tx_timeout()
1196 hmp->rx_ring[i].status_n_length = cpu_to_le32(DescOwn | in hamachi_init_ring()
1258 hmp->tx_ring[entry].status_n_length = cpu_to_le32(DescOwn | in hamachi_start_xmit()
1261 hmp->tx_ring[entry].status_n_length = cpu_to_le32(DescOwn | in hamachi_start_xmit()
1340 if (hmp->tx_ring[entry].status_n_length & cpu_to_le32(DescOwn)) in hamachi_interrupt()
1423 if (desc_status & DescOwn) in hamachi_rx()
1605 desc->status_n_length |= cpu_to_le32(DescOwn | in hamachi_rx()
[all …]
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dns8382x.c171 DescOwn = 0x80000000, DescMore = 0x40000000, DescIntr = 0x20000000, enumerator
751 txd.cmdsts = cpu_to_le32(DescOwn | length); in ns8382x_send()
765 for (i = 0; (tx_stat = le32_to_cpu(txd.cmdsts)) & DescOwn; i++) { in ns8382x_send()
802 if (!(rx_status & (u32) DescOwn)) in ns8382x_poll()
H A Dnatsemi.c191 DescOwn = 0x80000000, DescMore = 0x40000000, DescIntr = 0x20000000, enumerator
774 txd.cmdsts = cpu_to_le32(DescOwn | length); in natsemi_send()
787 (*res = le32_to_cpu(txd.cmdsts)) & DescOwn; in natsemi_send()
829 if (!(rx_status & (u32) DescOwn)) in natsemi_poll()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c166 DescOwn = (1 << 31), enumerator
411 if (status & DescOwn) in de_rx()
484 de->rx_ring[rx_tail].opts1 = cpu_to_le32(DescOwn); in de_rx()
550 if (status & DescOwn) 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/ethernet/smsc/
H A Depic100.c248 DescOwn=0x8000, enumerator
929 ep->rx_ring[i].rxstatus = DescOwn; in epic_init_ring()
981 | DescOwn; in epic_start_xmit()
1034 if (txstatus & DescOwn) in epic_tx()
1154 while ((ep->rx_ring[entry].rxstatus & DescOwn) == 0) { in epic_rx()
1232 ep->rx_ring[entry].rxstatus = DescOwn; in epic_rx()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/
H A D8139cp.c172 DescOwn = (1 << 31), /* Descriptor is owned by NIC */ enumerator
484 if (status & DescOwn) 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()
661 if (status & DescOwn) in cp_tx()
762 opts1 = DescOwn; in cp_start_xmit()
1083 cpu_to_le32(DescOwn | RingEnd | cp->rx_buf_sz); in cp_refill_rx()
1086 cpu_to_le32(DescOwn | cp->rx_buf_sz); in cp_refill_rx()
H A Dr8169_main.c478 DescOwn = (1 << 31), /* Descriptor is owned by NIC */ enumerator
3867 WRITE_ONCE(desc->opts1, cpu_to_le32(DescOwn | eor | R8169_RX_BUF_SIZE)); in rtl8169_mark_to_asic()
4065 opts1 |= DescOwn; in rtl8169_tx_map()
4289 if (unlikely(le32_to_cpu(txd_first->opts1) & DescOwn)) in rtl8169_start_xmit()
4321 txd_first->opts1 |= cpu_to_le32(DescOwn | FirstFrag); in rtl8169_start_xmit()
4475 if (status & DescOwn) in rtl_tx()
4549 if (status & DescOwn) in rtl_rx()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/via/
H A Dvia-rhine.c409 DescOwn=0x80000000 enumerator
1231 rp->rx_ring[i].rx_status = cpu_to_le32(DescOwn); in rhine_reset_rbufs()
1843 rp->tx_ring[entry].tx_status |= cpu_to_le32(DescOwn); in rhine_start_tx()
1939 if (txstatus & DescOwn) in rhine_tx()
1957 rp->tx_ring[entry].tx_status = cpu_to_le32(DescOwn); in rhine_tx()
2048 if (desc_status & DescOwn) in rhine_rx()
2135 desc->rx_status = cpu_to_le32(DescOwn); in rhine_rx()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/natsemi/
H A Dnatsemi.c522 DescOwn=0x80000000, DescMore=0x40000000, DescIntr=0x20000000, enumerator
1999 np->rx_ring[i].cmd_status = cpu_to_le32(DescOwn); in init_ring()
2067 np->rx_ring[i].cmd_status = cpu_to_le32(DescOwn); in reinit_rx()
2114 np->tx_ring[entry].cmd_status = cpu_to_le32(DescOwn | skb->len); in start_tx()
2145 if (np->tx_ring[entry].cmd_status & cpu_to_le32(DescOwn)) in netdev_tx_done()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/dlink/
H A Dsundance.c348 DescOwn=0x8000, enumerator
1334 if (!(frame_status & DescOwn)) in rx_poll()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/
H A Dr8168.h1327 DescOwn = (1 << 31), /* Descriptor is owned by NIC */ enumerator
H A Dr8168_n.c3667 txd->opts1 = cpu_to_le32(DescOwn | FirstFrag | LastFrag | len); in rtl8168_mac_loopback_test()
3677 if ((rx_cmd & DescOwn) == 0) 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()
27103 desc->opts1 = cpu_to_le32(DescOwn | eor | rx_buf_sz); in rtl8168_mark_to_asic()
27235 ownbit = DescOwn; in rtl8168_rx_desc_offset0_init()
27778 if (unlikely(le32_to_cpu(txd->opts1) & DescOwn)) {
27787 opts[0] = DescOwn;
27939 if (status & DescOwn)
28087 if (status & DescOwn)