Searched refs:tx_status (Results 1 - 25 of 36) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dsaa9730.c583 unsigned int tx_status; local
596 tx_status = le32_to_cpu(*pPacket);
599 if ((tx_status & TX_STAT_CTL_OWNER_MSK) !=
603 if (tx_status & TX_STAT_CTL_ERROR_MSK) {
606 tx_status);
609 if (tx_status &
612 if (tx_status &
615 if (tx_status &
618 if (tx_status &
621 if (tx_status
804 unsigned int tx_status; local
[all...]
H A Dznet.c513 ushort event, tx_status, rx_offset, state; local
518 tx_status = inw (ioaddr);
524 " resetting.\n", dev->name, event, tx_status, rx_offset, state);
525 if (tx_status == TX_LOST_CRS)
637 int tx_status; local
639 tx_status = inw(ioaddr);
640 /* It's undocumented, but tx_status seems to match the i82586. */
641 if (tx_status & TX_OK) {
643 znet->stats.collisions += tx_status & TX_NCOL_MASK;
645 if (tx_status
[all...]
H A Dyellowfin.c316 struct tx_status_words *tx_status; member in struct:yellowfin_private
448 np->tx_status = (struct tx_status_words *)ring_space;
513 pci_free_consistent(pdev, STATUS_TOTAL_SIZE, np->tx_status,
705 printk(" %4.4x /%8.8x", yp->tx_status[i].tx_errs,
781 cpu_to_le32(CMD_TXSTATUS | sizeof(*yp->tx_status));
782 yp->tx_ring[j].request_cnt = sizeof(*yp->tx_status);
793 &(yp->tx_status[0].tx_errs) -
794 &(yp->tx_status[0]));
803 yp->tx_tail_desc = &yp->tx_status[0];
948 u16 tx_errs = yp->tx_status[entr
[all...]
H A Dsc92031.c666 u32 tx_status; local
671 tx_status = ioread32(port_base + TxStatus0 + entry * 4);
673 if (!(tx_status & (TxStatOK | TxUnderrun | TxAborted)))
678 if (tx_status & TxStatOK) {
679 priv->stats.tx_bytes += tx_status & 0x1fff;
682 priv->stats.collisions += (tx_status >> 22) & 0xf;
685 if (tx_status & (TxOutOfWindow | TxAborted)) {
688 if (tx_status & TxAborted)
691 if (tx_status & TxCarrierLost)
694 if (tx_status
957 u32 tx_status; local
[all...]
H A D3c507.c576 unsigned short tx_status = readw(shmem+lp->tx_reap); local
577 if (!(tx_status & 0x8000)) {
583 if (!(tx_status & 0x2000) || (tx_status & 0x0f3f)) {
585 if (tx_status & 0x0600) lp->stats.tx_carrier_errors++;
586 if (tx_status & 0x0100) lp->stats.tx_fifo_errors++;
587 if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++;
588 if (tx_status & 0x0020) lp->stats.tx_aborted_errors++;
589 lp->stats.collisions += tx_status & 0xf;
593 printk("Reaped %x, Tx status %04x.\n" , lp->tx_reap, tx_status);
[all...]
H A D3c509.c820 short tx_status; local
823 while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) {
824 if (tx_status & 0x38) lp->stats.tx_aborted_errors++;
825 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD);
826 if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD);
875 short tx_status; local
878 while (--i>0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) {
879 if (tx_status & 0x38) lp->stats.tx_aborted_errors++;
880 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD);
881 if (tx_status
[all...]
H A Dsundance.c1119 int tx_status; local
1145 tx_status = ioread16 (ioaddr + TxStatus);
1146 for (tx_cnt=32; tx_status & 0x80; --tx_cnt) {
1150 dev->name, tx_status);
1151 if (tx_status & 0x1e) {
1154 dev->name, tx_status);
1156 if (tx_status & 0x10)
1158 if (tx_status & 0x08)
1160 if (tx_status & 0x04)
1162 if (tx_status
[all...]
H A Ddl2k.c65 static void tx_error (struct net_device *dev, int tx_status);
677 int tx_status; local
678 tx_status = readl (ioaddr + TxStatus);
679 if (tx_status & 0x01)
680 tx_error (dev, tx_status);
744 tx_error (struct net_device *dev, int tx_status) argument
753 frame_id = (tx_status & 0xffff0000);
755 dev->name, tx_status, frame_id);
758 if (tx_status & 0x10) {
781 if (tx_status
[all...]
H A Dsmc911x.c659 unsigned int tx_status; local
669 tx_status = SMC_GET_TX_STS_FIFO();
671 lp->stats.tx_bytes+=tx_status>>16;
673 dev->name, (tx_status & 0xffff0000) >> 16,
674 tx_status & 0x0000ffff);
677 if ((tx_status & TX_STS_ES_) && !(lp->ctl_rfduplx &&
678 !(tx_status & 0x00000306))) {
681 if (tx_status & TX_STS_MANY_COLL_) {
685 lp->stats.collisions+=(tx_status & TX_STS_COLL_CNT_) >> 3;
688 if ((tx_status
[all...]
H A Dsmc9194.c1282 word tx_status; local
1297 tx_status = inw( ioaddr + DATA_1 );
1298 PRINTK3((CARDNAME": TX DONE STATUS: %4x \n", tx_status ));
1301 if ( tx_status & TS_LOSTCAR ) lp->stats.tx_carrier_errors++;
1302 if ( tx_status & TS_LATCOL ) {
1308 if ( tx_status & TS_SUCCESS ) {
H A Dewrk3.c1070 u_char tx_status; local
1072 while ((tx_status = inb(EWRK3_TDQ)) > 0) { /* Whilst there's old buffers */
1073 if (tx_status & T_VSTS) { /* The status is valid */
1074 if (tx_status & T_TXE) {
1076 if (tx_status & T_NCL)
1078 if (tx_status & T_LCL)
1080 if (tx_status & T_CTU) {
1081 if ((tx_status & T_COLL) ^ T_XUR) {
1086 } else if (tx_status & T_COLL) {
1087 if ((tx_status
[all...]
H A Dfealnx.c1498 long tx_status = np->cur_tx->status; local
1505 tx_status = next->status;
1509 if (tx_status & TXOWN)
1513 if (tx_status & (CSL | LC | EC | UDF | HF)) {
1515 if (tx_status & EC)
1517 if (tx_status & CSL)
1519 if (tx_status & LC)
1521 if (tx_status & UDF)
1523 if ((tx_status & HF) && np->mii.full_duplex == 0)
1531 ((tx_status
[all...]
H A Dpasemi_mac.c417 pcnt = *mac->tx_status & PAS_STATUS_PCNT_M;
602 if (!(*mac->tx_status & PAS_STATUS_CAUSE_M))
607 pcnt = *mac->tx_status & PAS_STATUS_PCNT_M;
611 if (*mac->tx_status & PAS_STATUS_SOFT)
613 if (*mac->tx_status & PAS_STATUS_ERROR)
1165 mac->tx_status = &dma_status->tx_sta[mac->dma_txch];
H A Dsis900.c1785 u32 tx_status; local
1788 tx_status = sis_priv->tx_ring[entry].cmdsts;
1790 if (tx_status & OWN) {
1797 if (tx_status & (ABORT | UNDERRUN | OWCOLL)) {
1802 net_dev->name, tx_status);
1804 if (tx_status & UNDERRUN)
1806 if (tx_status & ABORT)
1808 if (tx_status & NOCARRIER)
1810 if (tx_status & OWCOLL)
1814 sis_priv->stats.collisions += (tx_status
[all...]
H A D3c59x.c1820 printk(KERN_ERR "%s: transmit timed out, tx_status %2.2x status %4.4x.\n",
1890 unsigned char tx_status = 0; local
1897 tx_status = ioread8(ioaddr + TxStatus);
1900 || (tx_status != 0x88 && vortex_debug > 0)) {
1902 dev->name, tx_status);
1903 if (tx_status == 0x82) {
1909 if (tx_status & 0x14) vp->stats.tx_fifo_errors++;
1910 if (tx_status & 0x38) vp->stats.tx_aborted_errors++;
1911 if (tx_status & 0x08) vp->xstats.tx_max_collisions++;
1913 if (tx_status
2024 int tx_status; local
[all...]
H A Dsmc91x.c784 unsigned int saved_packet, packet_no, tx_status, pkt_len; local
801 SMC_GET_PKT_HDR(tx_status, pkt_len);
803 dev->name, tx_status, packet_no);
805 if (!(tx_status & ES_TX_SUC))
808 if (tx_status & ES_LOSTCARR)
811 if (tx_status & (ES_LATCOL | ES_16COL)) {
813 (tx_status & ES_LATCOL) ?
H A D3c515.c959 "%s: transmit timed out, tx_status %2.2x status %4.4x.\n",
1088 short tx_status; local
1091 while (--i > 0 && (tx_status = inb(ioaddr + TxStatus)) > 0) {
1092 if (tx_status & 0x3C) { /* A Tx-disabling error occurred. */
1095 dev->name, tx_status);
1096 if (tx_status & 0x04)
1098 if (tx_status & 0x38)
1100 if (tx_status & 0x30) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/mac80211/
H A Dieee80211_rate.h42 void (*tx_status)(void *priv, struct net_device *dev, member in struct:rate_control_ops
86 ref->ops->tx_status(ref->priv, dev, skb, status);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/arm/
H A Dether1.h68 unsigned short tx_status; member in struct:__anon5201
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Dwinbond-840.c1063 int tx_status = np->tx_ring[entry].status; local
1065 if (tx_status < 0)
1067 if (tx_status & 0x8000) { /* There was an error, log it. */
1071 dev->name, tx_status);
1074 if (tx_status & 0x0104) np->stats.tx_aborted_errors++;
1075 if (tx_status & 0x0C80) np->stats.tx_carrier_errors++;
1076 if (tx_status & 0x0200) np->stats.tx_window_errors++;
1077 if (tx_status & 0x0002) np->stats.tx_fifo_errors++;
1078 if ((tx_status & 0x0080) && np->mii_if.full_duplex == 0)
1084 dev->name, entry, tx_status);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/pcmcia/
H A D3c589_cs.c590 u_char tx_status = inb(ioaddr + TX_STATUS); local
591 if (!(tx_status & 0x84)) break;
593 if (tx_status & 0x30)
595 if (tx_status & 0x38) {
597 dev->name, tx_status);
H A D3c574_cs.c760 u_char tx_status = inb(ioaddr + TxStatus); local
761 if (!(tx_status & 0x84))
764 if (tx_status & 0x30)
766 if (tx_status & 0x38) {
768 dev->name, tx_status);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/
H A Dcosa.c135 int tx_status, rx_status;
922 chan->tx_status=0;
927 while(!chan->tx_status) {
932 if (signal_pending(current) && chan->tx_status == 0) {
933 chan->tx_status = 1;
936 chan->tx_status = 1;
951 if (chan->tx_status) { /* Writer was interrupted */
955 chan->tx_status = 1;
134 int tx_status, rx_status; member in struct:channel_data
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/
H A Dwavelan_cs.c4081 u_int tx_status; local
4196 tx_status = inb(LCSR(base));
4197 tx_status |= (inb(LCSR(base)) << 8);
4207 printk(KERN_DEBUG "tx_status 0x%02x rcv_bytes 0x%02x status3 0x%x\n",
4208 tx_status, rcv_bytes, (u_int) status3);
4212 if((tx_status & TX_OK) != TX_OK)
4216 if(tx_status & TX_FRTL)
4223 if(tx_status & TX_UND_RUN)
4231 if(tx_status & TX_LOST_CTS)
4238 if(tx_status
[all...]
H A Dwavelan.c714 unsigned short tx_status; local
718 (unsigned char *) &tx_status,
719 sizeof(tx_status));
722 if ((tx_status & AC_SFLD_C) == 0)
726 if (tx_status == 0xFFFF)
752 if (tx_status == 0xFFFF)
756 if (tx_status & AC_SFLD_OK) {
760 ncollisions = tx_status & AC_SFLD_MAXCOL;
770 if (tx_status & AC_SFLD_S10) {
778 if (tx_status
[all...]

Completed in 346 milliseconds

12