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

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dznet.c328 ushort event, tx_status, rx_offset, state;
333 tx_status = inw (ioaddr);
339 " resetting.\n", dev->name, event, tx_status, rx_offset, state);
340 if (tx_status == 0x0400)
453 int tx_status;
455 tx_status = inw(ioaddr);
456 /* It's undocumented, but tx_status seems to match the i82586. */
457 if (tx_status & 0x2000) {
459 lp->stats.collisions += tx_status & 0xf;
461 if (tx_status
326 ushort event, tx_status, rx_offset, state; local
451 int tx_status; local
[all...]
H A Dsaa9730.c560 unsigned int tx_status; local
575 tx_status = le32_to_cpu(*pPacket);
578 if ((tx_status & TX_STAT_CTL_OWNER_MSK) !=
582 if (tx_status & TX_STAT_CTL_ERROR_MSK) {
585 tx_status);
588 if (tx_status &
591 if (tx_status &
595 if (tx_status &
598 if (tx_status &
601 if (tx_status
813 unsigned int tx_status; local
[all...]
H A Dyellowfin.c370 struct tx_status_words *tx_status;
497 np->tx_status = (struct tx_status_words *)ring_space;
560 pci_free_consistent(pdev, STATUS_TOTAL_SIZE, np->tx_status,
755 printk(" %4.4x /%8.8x", yp->tx_status[i].tx_errs,
831 cpu_to_le32(CMD_TXSTATUS | sizeof(*yp->tx_status));
832 yp->tx_ring[j].request_cnt = sizeof(*yp->tx_status);
843 &(yp->tx_status[0].tx_errs) -
844 &(yp->tx_status[0]));
853 yp->tx_tail_desc = &yp->tx_status[0];
996 u16 tx_errs = yp->tx_status[entr
369 struct tx_status_words *tx_status; member in struct:yellowfin_private
[all...]
H A D3c507.c556 unsigned short tx_status = isa_readw(shmem+lp->tx_reap);
557 if (!(tx_status & 0x8000)) {
563 if (!(tx_status & 0x2000) || (tx_status & 0x0f3f)) {
565 if (tx_status & 0x0600) lp->stats.tx_carrier_errors++;
566 if (tx_status & 0x0100) lp->stats.tx_fifo_errors++;
567 if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++;
568 if (tx_status & 0x0020) lp->stats.tx_aborted_errors++;
569 lp->stats.collisions += tx_status & 0xf;
573 printk("Reaped %x, Tx status %04x.\n" , lp->tx_reap, tx_status);
555 unsigned short tx_status = isa_readw(shmem+lp->tx_reap); local
[all...]
H A D3c509.c700 short tx_status; local
703 while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) {
704 if (tx_status & 0x38) lp->stats.tx_aborted_errors++;
705 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD);
706 if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD);
760 short tx_status; local
763 while (--i>0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) {
764 if (tx_status & 0x38) lp->stats.tx_aborted_errors++;
765 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD);
766 if (tx_status
[all...]
H A Dsundance.c1163 int tx_status; local
1187 tx_status = readw (ioaddr + TxStatus);
1188 for (tx_cnt=32; tx_status & 0x80; --tx_cnt) {
1192 dev->name, tx_status);
1193 if (tx_status & 0x1e) {
1195 if (tx_status & 0x10)
1197 if (tx_status & 0x08)
1199 if (tx_status & 0x02)
1202 if (tx_status & 0x10) { /* Reset the Tx. */
1208 if (tx_status
[all...]
H A Dsonic.c139 lp->tda[entry].tx_status = 0; /* clear status */
196 int status = lp->tda[entry].tx_status;
211 lp->tda[entry].tx_status = 0;
547 lp->tda[i].tx_status = 0;
H A D3c59x.c1753 printk(KERN_ERR "%s: transmit timed out, tx_status %2.2x status %4.4x.\n",
1821 unsigned char tx_status = 0;
1828 tx_status = inb(ioaddr + TxStatus);
1831 || (tx_status != 0x88 && vortex_debug > 0)) {
1833 dev->name, tx_status);
1834 if (tx_status == 0x82) {
1840 if (tx_status & 0x14) vp->stats.tx_fifo_errors++;
1841 if (tx_status & 0x38) vp->stats.tx_aborted_errors++;
1843 if (tx_status & 0x30) { /* txJabber or txUnderrun */
1845 } else if ((tx_status
1820 unsigned char tx_status = 0; local
1950 int tx_status; local
[all...]
H A Dsis900.c1660 u32 tx_status; local
1663 tx_status = sis_priv->tx_ring[entry].cmdsts;
1665 if (tx_status & OWN) {
1672 if (tx_status & (ABORT | UNDERRUN | OWCOLL)) {
1677 net_dev->name, tx_status);
1679 if (tx_status & UNDERRUN)
1681 if (tx_status & ABORT)
1683 if (tx_status & NOCARRIER)
1685 if (tx_status & OWCOLL)
1689 sis_priv->stats.collisions += (tx_status
[all...]
H A Dwinbond-840.c1126 int tx_status = np->tx_ring[entry].status;
1128 if (tx_status < 0)
1130 if (tx_status & 0x8000) { /* There was an error, log it. */
1134 dev->name, tx_status);
1137 if (tx_status & 0x0104) np->stats.tx_aborted_errors++;
1138 if (tx_status & 0x0C80) np->stats.tx_carrier_errors++;
1139 if (tx_status & 0x0200) np->stats.tx_window_errors++;
1140 if (tx_status & 0x0002) np->stats.tx_fifo_errors++;
1141 if ((tx_status & 0x0080) && np->mii_if.full_duplex == 0)
1147 dev->name, entry, tx_status);
1122 int tx_status = np->tx_ring[entry].status; local
[all...]
H A Ddl2k.c88 static void tx_error (struct net_device *dev, int tx_status);
687 int tx_status; local
688 tx_status = readl (ioaddr + TxStatus);
689 if (tx_status & 0x01)
690 tx_error (dev, tx_status);
752 tx_error (struct net_device *dev, int tx_status) argument
761 frame_id = (tx_status & 0xffff0000);
763 dev->name, tx_status, frame_id);
766 if (tx_status & 0x10) {
789 if (tx_status
[all...]
H A Dsonic.h277 u16 tx_status; /* status after transmission of a packet */ member in struct:__anon1939
377 u16 tx_status; /* status after transmission of a packet */ member in struct:__anon1944
H A Dsmc9194.c1343 word tx_status; local
1358 tx_status = inw( ioaddr + DATA_1 );
1359 PRINTK3((CARDNAME": TX DONE STATUS: %4x \n", tx_status ));
1362 if ( tx_status & TS_LOSTCAR ) lp->stats.tx_carrier_errors++;
1363 if ( tx_status & TS_LATCOL ) {
1369 if ( tx_status & TS_SUCCESS ) {
H A Dewrk3.c1081 u_char tx_status;
1083 while ((tx_status = inb(EWRK3_TDQ)) > 0) { /* Whilst there's old buffers */
1084 if (tx_status & T_VSTS) { /* The status is valid */
1085 if (tx_status & T_TXE) {
1087 if (tx_status & T_NCL)
1089 if (tx_status & T_LCL)
1091 if (tx_status & T_CTU) {
1092 if ((tx_status & T_COLL) ^ T_XUR) {
1097 } else if (tx_status & T_COLL) {
1098 if ((tx_status
1080 u_char tx_status; local
[all...]
H A Dfealnx.c1455 long tx_status = np->cur_tx->status; local
1462 tx_status = next->status;
1466 if (tx_status & TXOWN)
1470 if (tx_status & (CSL | LC | EC | UDF | HF)) {
1472 if (tx_status & EC)
1474 if (tx_status & CSL)
1476 if (tx_status & LC)
1478 if (tx_status & UDF)
1480 if ((tx_status & HF) && np->mii.full_duplex == 0)
1488 ((tx_status
[all...]
H A D3c515.c1009 "%s: transmit timed out, tx_status %2.2x status %4.4x.\n",
1141 short tx_status;
1144 while (--i > 0 && (tx_status = inb(ioaddr + TxStatus)) > 0) {
1145 if (tx_status & 0x3C) { /* A Tx-disabling error occurred. */
1148 dev->name, tx_status);
1149 if (tx_status & 0x04)
1151 if (tx_status & 0x38)
1153 if (tx_status & 0x30) {
1139 short tx_status; local
H A Dwavelan.c731 unsigned short tx_status; local
735 (unsigned char *) &tx_status,
736 sizeof(tx_status));
739 if ((tx_status & AC_SFLD_C) == 0)
743 if (tx_status == 0xFFFF)
769 if (tx_status == 0xFFFF)
773 if (tx_status & AC_SFLD_OK) {
777 ncollisions = tx_status & AC_SFLD_MAXCOL;
787 if (tx_status & AC_SFLD_S10) {
795 if (tx_status
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acorn/net/
H A Dether1.h65 unsigned short tx_status; member in struct:__anon714
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dwanpipe.h476 void* tx_status; /* Tx status element */ member in struct:sdla::__anon11573::__anon11577
510 void* tx_status; /* Tx status element */ member in struct:sdla::__anon11573::__anon11578
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dwanpipe.h476 void* tx_status; /* Tx status element */ member in struct:sdla::__anon7167::__anon7171
510 void* tx_status; /* Tx status element */ member in struct:sdla::__anon7167::__anon7172
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/
H A Dcosa.c139 int tx_status, rx_status;
884 chan->tx_status=0;
889 while(!chan->tx_status) {
894 if (signal_pending(current) && chan->tx_status == 0) {
895 chan->tx_status = 1;
898 chan->tx_status = 1;
913 if (chan->tx_status) { /* Writer was interrupted */
917 chan->tx_status = 1;
138 int tx_status, rx_status; member in struct:channel_data
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/pcmcia/
H A D3c574_cs.c888 u_char tx_status = inb(ioaddr + TxStatus); local
889 if (!(tx_status & 0x84)) break;
891 if (tx_status & 0x30)
893 if (tx_status & 0x38) {
895 dev->name, tx_status);
H A D3c589_cs.c777 u_char tx_status = inb(ioaddr + TX_STATUS); local
778 if (!(tx_status & 0x84)) break;
780 if (tx_status & 0x30)
782 if (tx_status & 0x38) {
784 dev->name, tx_status);
H A Dwavelan_cs.c4020 u_int tx_status; local
4144 tx_status = inb(LCSR(base));
4145 tx_status |= (inb(LCSR(base)) << 8);
4155 printk(KERN_DEBUG "tx_status 0x%02x rcv_bytes 0x%02x status3 0x%x\n",
4156 tx_status, rcv_bytes, (u_int) status3);
4160 if((tx_status & TX_OK) != TX_OK)
4164 if(tx_status & TX_FRTL)
4171 if(tx_status & TX_UND_RUN)
4179 if(tx_status & TX_LOST_CTS)
4186 if(tx_status
[all...]
H A Dxirc2ps_cs.c1280 unsigned int_status, eth_status, rx_status, tx_status; local
1310 tx_status = GetByte(XIRCREG40_TXST0);
1311 tx_status |= GetByte(XIRCREG40_TXST1) << 8;
1316 dev->name, int_status, eth_status, rx_status, tx_status);
1445 if (tx_status & 0x0002) { /* Execessive collissions */
1449 if (tx_status & 0x0040)

Completed in 162 milliseconds

12