/linux-3.3/drivers/net/wireless/ath/ath5k/ |
D | desc.c | 445 struct ath5k_hw_tx_status *tx_status; in ath5k_hw_proc_2word_tx_status() local 448 tx_status = &desc->ud.ds_tx5210.tx_stat; in ath5k_hw_proc_2word_tx_status() 451 if (unlikely((tx_status->tx_status_1 & AR5K_DESC_TX_STATUS1_DONE) == 0)) in ath5k_hw_proc_2word_tx_status() 457 ts->ts_tstamp = AR5K_REG_MS(tx_status->tx_status_0, in ath5k_hw_proc_2word_tx_status() 459 ts->ts_shortretry = AR5K_REG_MS(tx_status->tx_status_0, in ath5k_hw_proc_2word_tx_status() 461 ts->ts_final_retry = AR5K_REG_MS(tx_status->tx_status_0, in ath5k_hw_proc_2word_tx_status() 464 ts->ts_seqnum = AR5K_REG_MS(tx_status->tx_status_1, in ath5k_hw_proc_2word_tx_status() 466 ts->ts_rssi = AR5K_REG_MS(tx_status->tx_status_1, in ath5k_hw_proc_2word_tx_status() 472 if (!(tx_status->tx_status_0 & AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK)) { in ath5k_hw_proc_2word_tx_status() 473 if (tx_status->tx_status_0 & in ath5k_hw_proc_2word_tx_status() [all …]
|
/linux-3.3/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 316 struct tx_status_words *tx_status; member 457 np->tx_status = ring_space; in yellowfin_init_one() 513 pci_free_consistent(pdev, STATUS_TOTAL_SIZE, np->tx_status, in yellowfin_init_one() 709 yp->tx_status[i].tx_errs, in yellowfin_tx_timeout() 788 cpu_to_le32(CMD_TXSTATUS | sizeof(*yp->tx_status)); in yellowfin_init_ring() 789 yp->tx_ring[j].request_cnt = sizeof(*yp->tx_status); in yellowfin_init_ring() 800 &(yp->tx_status[0].tx_errs) - in yellowfin_init_ring() 801 &(yp->tx_status[0])); in yellowfin_init_ring() 810 yp->tx_tail_desc = &yp->tx_status[0]; in yellowfin_init_ring() 955 u16 tx_errs = yp->tx_status[entry].tx_errs; in yellowfin_interrupt() [all …]
|
/linux-3.3/drivers/net/ethernet/i825xx/ |
D | znet.c | 511 ushort event, tx_status, rx_offset, state; in znet_tx_timeout() local 516 tx_status = inw (ioaddr); in znet_tx_timeout() 522 " resetting.\n", dev->name, event, tx_status, rx_offset, state); in znet_tx_timeout() 523 if (tx_status == TX_LOST_CRS) in znet_tx_timeout() 634 int tx_status; in znet_interrupt() local 636 tx_status = inw(ioaddr); in znet_interrupt() 638 if (tx_status & TX_OK) { in znet_interrupt() 640 dev->stats.collisions += tx_status & TX_NCOL_MASK; in znet_interrupt() 642 if (tx_status & (TX_LOST_CTS | TX_LOST_CRS)) in znet_interrupt() 644 if (tx_status & TX_UND_RUN) in znet_interrupt() [all …]
|
D | 3c507.c | 575 unsigned short tx_status = readw(shmem+lp->tx_reap); in el16_interrupt() local 576 if (!(tx_status & 0x8000)) { in el16_interrupt() 582 if (!(tx_status & 0x2000) || (tx_status & 0x0f3f)) { in el16_interrupt() 584 if (tx_status & 0x0600) dev->stats.tx_carrier_errors++; in el16_interrupt() 585 if (tx_status & 0x0100) dev->stats.tx_fifo_errors++; in el16_interrupt() 586 if (!(tx_status & 0x0040)) dev->stats.tx_heartbeat_errors++; in el16_interrupt() 587 if (tx_status & 0x0020) dev->stats.tx_aborted_errors++; in el16_interrupt() 588 dev->stats.collisions += tx_status & 0xf; in el16_interrupt() 592 pr_debug("Reaped %x, Tx status %04x.\n" , lp->tx_reap, tx_status); in el16_interrupt()
|
/linux-3.3/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 669 u32 tx_status; in xemaclite_interrupt() local 679 tx_status = in_be32(base_addr + XEL_TSR_OFFSET); in xemaclite_interrupt() 680 if (((tx_status & XEL_TSR_XMIT_BUSY_MASK) == 0) && in xemaclite_interrupt() 681 (tx_status & XEL_TSR_XMIT_ACTIVE_MASK) != 0) { in xemaclite_interrupt() 683 tx_status &= ~XEL_TSR_XMIT_ACTIVE_MASK; in xemaclite_interrupt() 684 out_be32(base_addr + XEL_TSR_OFFSET, tx_status); in xemaclite_interrupt() 690 tx_status = in_be32(base_addr + XEL_BUFFER_OFFSET + XEL_TSR_OFFSET); in xemaclite_interrupt() 691 if (((tx_status & XEL_TSR_XMIT_BUSY_MASK) == 0) && in xemaclite_interrupt() 692 (tx_status & XEL_TSR_XMIT_ACTIVE_MASK) != 0) { in xemaclite_interrupt() 694 tx_status &= ~XEL_TSR_XMIT_ACTIVE_MASK; in xemaclite_interrupt() [all …]
|
/linux-3.3/drivers/net/ethernet/silan/ |
D | sc92031.c | 657 u32 tx_status; in _sc92031_tx_tasklet() local 662 tx_status = ioread32(port_base + TxStatus0 + entry * 4); in _sc92031_tx_tasklet() 664 if (!(tx_status & (TxStatOK | TxUnderrun | TxAborted))) in _sc92031_tx_tasklet() 669 if (tx_status & TxStatOK) { in _sc92031_tx_tasklet() 670 dev->stats.tx_bytes += tx_status & 0x1fff; in _sc92031_tx_tasklet() 673 dev->stats.collisions += (tx_status >> 22) & 0xf; in _sc92031_tx_tasklet() 676 if (tx_status & (TxOutOfWindow | TxAborted)) { in _sc92031_tx_tasklet() 679 if (tx_status & TxAborted) in _sc92031_tx_tasklet() 682 if (tx_status & TxCarrierLost) in _sc92031_tx_tasklet() 685 if (tx_status & TxOutOfWindow) in _sc92031_tx_tasklet() [all …]
|
/linux-3.3/drivers/net/wireless/zd1211rw/ |
D | zd_mac.c | 436 int ackssi, struct tx_status *tx_status) in zd_mac_tx_status() argument 446 if (tx_status) { in zd_mac_tx_status() 447 success = !tx_status->failure; in zd_mac_tx_status() 448 retry = tx_status->retry + success; in zd_mac_tx_status() 496 struct tx_status *tx_status = (struct tx_status *)urb->transfer_buffer; in zd_mac_tx_failed() local 498 int success = !tx_status->failure; in zd_mac_tx_failed() 499 int retry = tx_status->retry + success; in zd_mac_tx_failed() 518 if (tx_status->failure && mac->ack_pending && in zd_mac_tx_failed() 526 if (unlikely(memcmp(tx_hdr->addr1, tx_status->mac, ETH_ALEN))) { in zd_mac_tx_failed() 542 if (final_rate != tx_status->rate) { in zd_mac_tx_failed() [all …]
|
/linux-3.3/drivers/staging/octeon/ |
D | ethernet.c | 235 cvmx_pko_port_status_t tx_status; in cvm_oct_common_get_stats() local 242 memset(&tx_status, 0, sizeof(tx_status)); in cvm_oct_common_get_stats() 245 cvmx_pko_get_port_status(priv->port, 1, &tx_status); in cvm_oct_common_get_stats() 249 priv->stats.tx_packets += tx_status.packets; in cvm_oct_common_get_stats() 251 priv->stats.tx_bytes += tx_status.octets; in cvm_oct_common_get_stats()
|
/linux-3.3/drivers/net/wireless/b43/ |
D | xmit.h | 55 __le16 tx_status; /* TX status */ member 72 __le16 tx_status; /* TX status */ member 83 __le16 tx_status; /* TX status */ member
|
/linux-3.3/drivers/net/ethernet/3com/ |
D | 3c509.c | 883 short tx_status; in el3_start_xmit() local 886 while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { in el3_start_xmit() 887 if (tx_status & 0x38) dev->stats.tx_aborted_errors++; in el3_start_xmit() 888 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD); in el3_start_xmit() 889 if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD); in el3_start_xmit() 937 short tx_status; in el3_interrupt() local 940 while (--i>0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { in el3_interrupt() 941 if (tx_status & 0x38) dev->stats.tx_aborted_errors++; in el3_interrupt() 942 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD); in el3_interrupt() 943 if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD); in el3_interrupt()
|
D | 3c59x.c | 1969 unsigned char tx_status = 0; in vortex_error() local 1976 tx_status = ioread8(ioaddr + TxStatus); in vortex_error() 1979 (tx_status != 0x88 && vortex_debug > 0)) { in vortex_error() 1981 dev->name, tx_status); in vortex_error() 1982 if (tx_status == 0x82) { in vortex_error() 1988 if (tx_status & 0x14) dev->stats.tx_fifo_errors++; in vortex_error() 1989 if (tx_status & 0x38) dev->stats.tx_aborted_errors++; in vortex_error() 1990 if (tx_status & 0x08) vp->xstats.tx_max_collisions++; in vortex_error() 1992 if (tx_status & 0x30) { /* txJabber or txUnderrun */ in vortex_error() 1994 } else if ((tx_status & 0x08) && (vp->drv_flags & MAX_COLLISION_RESET)) { /* maxCollisions */ in vortex_error() [all …]
|
D | 3c589_cs.c | 539 u_char tx_status = inb(ioaddr + TX_STATUS); in pop_tx_status() local 540 if (!(tx_status & 0x84)) break; in pop_tx_status() 542 if (tx_status & 0x30) in pop_tx_status() 544 if (tx_status & 0x38) { in pop_tx_status() 545 netdev_dbg(dev, "transmit error: status 0x%02x\n", tx_status); in pop_tx_status()
|
/linux-3.3/drivers/net/wireless/brcm80211/brcmsmac/ |
D | ampdu.h | 26 struct sk_buff *p, struct tx_status *txs);
|
/linux-3.3/drivers/net/ethernet/smsc/ |
D | smc9194.c | 1307 word tx_status; in smc_tx() local 1322 tx_status = inw( ioaddr + DATA_1 ); in smc_tx() 1323 PRINTK3((CARDNAME": TX DONE STATUS: %4x\n", tx_status)); in smc_tx() 1326 if ( tx_status & TS_LOSTCAR ) dev->stats.tx_carrier_errors++; in smc_tx() 1327 if ( tx_status & TS_LATCOL ) { in smc_tx() 1333 if ( tx_status & TS_16COL ) { ... } in smc_tx() 1336 if ( tx_status & TS_SUCCESS ) { in smc_tx()
|
D | smc911x.c | 590 unsigned int tx_status; in smc911x_tx() local 600 tx_status = SMC_GET_TX_STS_FIFO(lp); in smc911x_tx() 602 dev->stats.tx_bytes+=tx_status>>16; in smc911x_tx() 604 dev->name, (tx_status & 0xffff0000) >> 16, in smc911x_tx() 605 tx_status & 0x0000ffff); in smc911x_tx() 608 if ((tx_status & TX_STS_ES_) && !(lp->ctl_rfduplx && in smc911x_tx() 609 !(tx_status & 0x00000306))) { in smc911x_tx() 612 if (tx_status & TX_STS_MANY_COLL_) { in smc911x_tx() 616 dev->stats.collisions+=(tx_status & TX_STS_COLL_CNT_) >> 3; in smc911x_tx() 619 if ((tx_status & (TX_STS_LOC_ | TX_STS_NO_CARR_)) && in smc911x_tx() [all …]
|
/linux-3.3/drivers/net/wireless/ath/carl9170/ |
D | debug.c | 279 skb_queue_len(&ar->tx_status[0]), in carl9170_debugfs_qos_stat_read() 281 skb_queue_len(&ar->tx_status[1]), in carl9170_debugfs_qos_stat_read() 283 skb_queue_len(&ar->tx_status[2]), in carl9170_debugfs_qos_stat_read() 285 skb_queue_len(&ar->tx_status[3])); in carl9170_debugfs_qos_stat_read() 780 DEBUGFS_QUEUE_DUMP(tx_status, 0); 781 DEBUGFS_QUEUE_DUMP(tx_status, 1); 782 DEBUGFS_QUEUE_DUMP(tx_status, 2); 783 DEBUGFS_QUEUE_DUMP(tx_status, 3);
|
/linux-3.3/drivers/net/ethernet/dec/tulip/ |
D | winbond-840.c | 1069 int tx_status = np->tx_ring[entry].status; in netdev_tx_done() local 1071 if (tx_status < 0) in netdev_tx_done() 1073 if (tx_status & 0x8000) { /* There was an error, log it. */ in netdev_tx_done() 1077 tx_status); in netdev_tx_done() 1080 if (tx_status & 0x0104) np->stats.tx_aborted_errors++; in netdev_tx_done() 1081 if (tx_status & 0x0C80) np->stats.tx_carrier_errors++; in netdev_tx_done() 1082 if (tx_status & 0x0200) np->stats.tx_window_errors++; in netdev_tx_done() 1083 if (tx_status & 0x0002) np->stats.tx_fifo_errors++; in netdev_tx_done() 1084 if ((tx_status & 0x0080) && np->mii_if.full_duplex == 0) in netdev_tx_done() 1090 entry, tx_status); in netdev_tx_done() [all …]
|
/linux-3.3/drivers/media/video/omap/ |
D | omap_vout_vrfb.c | 67 t->tx_status = 1; in omap_vout_vrfb_dma_tx_callback() 251 tx->tx_status = 0; in omap_vout_prepare_vrfb() 273 if (tx->tx_status == 0) { in omap_vout_prepare_vrfb()
|
/linux-3.3/drivers/net/ethernet/dlink/ |
D | sundance.c | 1168 int tx_status; in intr_handler() local 1194 tx_status = ioread16 (ioaddr + TxStatus); in intr_handler() 1195 for (tx_cnt=32; tx_status & 0x80; --tx_cnt) { in intr_handler() 1199 dev->name, tx_status); in intr_handler() 1200 if (tx_status & 0x1e) { in intr_handler() 1203 dev->name, tx_status); in intr_handler() 1205 if (tx_status & 0x10) in intr_handler() 1207 if (tx_status & 0x08) in intr_handler() 1209 if (tx_status & 0x04) in intr_handler() 1211 if (tx_status & 0x02) in intr_handler() [all …]
|
D | dl2k.c | 65 static void tx_error (struct net_device *dev, int tx_status); 694 int tx_status; in rio_interrupt() local 695 tx_status = readl (ioaddr + TxStatus); in rio_interrupt() 696 if (tx_status & 0x01) in rio_interrupt() 697 tx_error (dev, tx_status); in rio_interrupt() 766 tx_error (struct net_device *dev, int tx_status) in tx_error() argument 775 frame_id = (tx_status & 0xffff0000); in tx_error() 777 dev->name, tx_status, frame_id); in tx_error() 780 if (tx_status & 0x10) { in tx_error() 803 if (tx_status & 0x04) { in tx_error() [all …]
|
/linux-3.3/drivers/net/ethernet/dec/ |
D | ewrk3.c | 1063 u_char tx_status; in ewrk3_tx() local 1065 while ((tx_status = inb(EWRK3_TDQ)) > 0) { /* Whilst there's old buffers */ in ewrk3_tx() 1066 if (tx_status & T_VSTS) { /* The status is valid */ in ewrk3_tx() 1067 if (tx_status & T_TXE) { in ewrk3_tx() 1069 if (tx_status & T_NCL) in ewrk3_tx() 1071 if (tx_status & T_LCL) in ewrk3_tx() 1073 if (tx_status & T_CTU) { in ewrk3_tx() 1074 if ((tx_status & T_COLL) ^ T_XUR) { in ewrk3_tx() 1079 } else if (tx_status & T_COLL) { in ewrk3_tx() 1080 if ((tx_status & T_COLL) ^ T_XCOLL) { in ewrk3_tx()
|
/linux-3.3/net/mac80211/ |
D | rc80211_pid_debugfs.c | 50 memcpy(&evd.tx_status, stat, sizeof(struct ieee80211_tx_info)); in rate_control_pid_event_tx_status() 175 ev->data.tx_status.status.rates[0].idx); in rate_control_pid_events_read()
|
D | rc80211_pid.h | 62 struct ieee80211_tx_info tx_status; member
|
/linux-3.3/drivers/net/ethernet/ |
D | fealnx.c | 1499 long tx_status = np->cur_tx->status; in intr_handler() local 1506 tx_status = next->status; in intr_handler() 1510 if (tx_status & TXOWN) in intr_handler() 1514 if (tx_status & (CSL | LC | EC | UDF | HF)) { in intr_handler() 1516 if (tx_status & EC) in intr_handler() 1518 if (tx_status & CSL) in intr_handler() 1520 if (tx_status & LC) in intr_handler() 1522 if (tx_status & UDF) in intr_handler() 1524 if ((tx_status & HF) && np->mii.full_duplex == 0) in intr_handler() 1532 ((tx_status & NCRMask) >> NCRShift); in intr_handler()
|
/linux-3.3/drivers/net/ethernet/sis/ |
D | sis900.c | 1873 u32 tx_status; in sis900_finish_xmit() local 1876 tx_status = sis_priv->tx_ring[entry].cmdsts; in sis900_finish_xmit() 1878 if (tx_status & OWN) { in sis900_finish_xmit() 1885 if (tx_status & (ABORT | UNDERRUN | OWCOLL)) { in sis900_finish_xmit() 1890 net_dev->name, tx_status); in sis900_finish_xmit() 1892 if (tx_status & UNDERRUN) in sis900_finish_xmit() 1894 if (tx_status & ABORT) in sis900_finish_xmit() 1896 if (tx_status & NOCARRIER) in sis900_finish_xmit() 1898 if (tx_status & OWCOLL) in sis900_finish_xmit() 1902 net_dev->stats.collisions += (tx_status & COLCNT) >> 16; in sis900_finish_xmit() [all …]
|