/drivers/net/wireless/ath/ath5k/ |
D | desc.c | 446 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 …]
|
/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 316 struct tx_status_words *tx_status; member 452 np->tx_status = ring_space; in yellowfin_init_one() 508 pci_free_consistent(pdev, STATUS_TOTAL_SIZE, np->tx_status, in yellowfin_init_one() 702 yp->tx_status[i].tx_errs, in yellowfin_tx_timeout() 780 cpu_to_le32(CMD_TXSTATUS | sizeof(*yp->tx_status)); in yellowfin_init_ring() 781 yp->tx_ring[j].request_cnt = sizeof(*yp->tx_status); in yellowfin_init_ring() 792 &(yp->tx_status[0].tx_errs) - in yellowfin_init_ring() 793 &(yp->tx_status[0])); in yellowfin_init_ring() 802 yp->tx_tail_desc = &yp->tx_status[0]; in yellowfin_init_ring() 947 u16 tx_errs = yp->tx_status[entry].tx_errs; in yellowfin_interrupt() [all …]
|
/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 652 u32 tx_status; in xemaclite_interrupt() local 663 tx_status = xemaclite_readl(base_addr + XEL_TSR_OFFSET); in xemaclite_interrupt() 664 if (((tx_status & XEL_TSR_XMIT_BUSY_MASK) == 0) && in xemaclite_interrupt() 665 (tx_status & XEL_TSR_XMIT_ACTIVE_MASK) != 0) { in xemaclite_interrupt() 667 tx_status &= ~XEL_TSR_XMIT_ACTIVE_MASK; in xemaclite_interrupt() 668 xemaclite_writel(tx_status, base_addr + XEL_TSR_OFFSET); in xemaclite_interrupt() 674 tx_status = xemaclite_readl(base_addr + XEL_BUFFER_OFFSET + XEL_TSR_OFFSET); in xemaclite_interrupt() 675 if (((tx_status & XEL_TSR_XMIT_BUSY_MASK) == 0) && in xemaclite_interrupt() 676 (tx_status & XEL_TSR_XMIT_ACTIVE_MASK) != 0) { in xemaclite_interrupt() 678 tx_status &= ~XEL_TSR_XMIT_ACTIVE_MASK; in xemaclite_interrupt() [all …]
|
/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-cec.c | 63 unsigned int tx_status; member 136 cec->tx_status = CEC_TX_STATUS_ERROR; in dw_hdmi_cec_hardirq() 140 cec->tx_status = CEC_TX_STATUS_OK; in dw_hdmi_cec_hardirq() 144 cec->tx_status = CEC_TX_STATUS_NACK; in dw_hdmi_cec_hardirq() 179 cec_transmit_attempt_done(adap, cec->tx_status); in dw_hdmi_cec_thread()
|
/drivers/net/ethernet/silan/ |
D | sc92031.c | 655 u32 tx_status; in _sc92031_tx_tasklet() local 660 tx_status = ioread32(port_base + TxStatus0 + entry * 4); in _sc92031_tx_tasklet() 662 if (!(tx_status & (TxStatOK | TxUnderrun | TxAborted))) in _sc92031_tx_tasklet() 667 if (tx_status & TxStatOK) { in _sc92031_tx_tasklet() 668 dev->stats.tx_bytes += tx_status & 0x1fff; in _sc92031_tx_tasklet() 671 dev->stats.collisions += (tx_status >> 22) & 0xf; in _sc92031_tx_tasklet() 674 if (tx_status & (TxOutOfWindow | TxAborted)) { in _sc92031_tx_tasklet() 677 if (tx_status & TxAborted) in _sc92031_tx_tasklet() 680 if (tx_status & TxCarrierLost) in _sc92031_tx_tasklet() 683 if (tx_status & TxOutOfWindow) in _sc92031_tx_tasklet() [all …]
|
/drivers/net/wireless/marvell/mwifiex/ |
D | txrx.c | 335 struct tx_status_event *tx_status = (void *)priv->adapter->event_body; in mwifiex_parse_tx_status_event() local 340 if (!tx_status->tx_token_id) in mwifiex_parse_tx_status_event() 344 ack_skb = idr_remove(&priv->ack_status_frames, tx_status->tx_token_id); in mwifiex_parse_tx_status_event() 352 skb_complete_wifi_ack(ack_skb, !tx_status->status); in mwifiex_parse_tx_status_event() 376 !tx_status->status, GFP_ATOMIC); in mwifiex_parse_tx_status_event()
|
/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_mac.c | 445 int ackssi, struct tx_status *tx_status) in zd_mac_tx_status() argument 455 if (tx_status) { in zd_mac_tx_status() 456 success = !tx_status->failure; in zd_mac_tx_status() 457 retry = tx_status->retry + success; in zd_mac_tx_status() 505 struct tx_status *tx_status = (struct tx_status *)urb->transfer_buffer; in zd_mac_tx_failed() local 507 int success = !tx_status->failure; in zd_mac_tx_failed() 508 int retry = tx_status->retry + success; in zd_mac_tx_failed() 527 if (tx_status->failure && mac->ack_pending && in zd_mac_tx_failed() 535 if (unlikely(!ether_addr_equal(tx_hdr->addr1, tx_status->mac))) in zd_mac_tx_failed() 550 if (final_rate != tx_status->rate) { in zd_mac_tx_failed() [all …]
|
/drivers/media/platform/meson/ |
D | ao-cec.c | 384 unsigned long tx_status = 0; in meson_ao_cec_irq_tx() local 394 tx_status = CEC_TX_STATUS_OK; in meson_ao_cec_irq_tx() 398 tx_status = CEC_TX_STATUS_ARB_LOST; in meson_ao_cec_irq_tx() 402 tx_status = CEC_TX_STATUS_LOW_DRIVE; in meson_ao_cec_irq_tx() 407 tx_status = CEC_TX_STATUS_NACK; in meson_ao_cec_irq_tx() 419 cec_transmit_attempt_done(ao_cec->adap, tx_status); in meson_ao_cec_irq_tx()
|
/drivers/net/ethernet/3com/ |
D | 3c509.c | 755 short tx_status; in el3_start_xmit() local 758 while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { in el3_start_xmit() 759 if (tx_status & 0x38) dev->stats.tx_aborted_errors++; in el3_start_xmit() 760 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD); in el3_start_xmit() 761 if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD); in el3_start_xmit() 809 short tx_status; in el3_interrupt() local 812 while (--i>0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { in el3_interrupt() 813 if (tx_status & 0x38) dev->stats.tx_aborted_errors++; in el3_interrupt() 814 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD); in el3_interrupt() 815 if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD); in el3_interrupt()
|
D | 3c59x.c | 1958 unsigned char tx_status = 0; in vortex_error() local 1965 tx_status = ioread8(ioaddr + TxStatus); in vortex_error() 1968 (tx_status != 0x88 && vortex_debug > 0)) { in vortex_error() 1970 dev->name, tx_status); in vortex_error() 1971 if (tx_status == 0x82) { in vortex_error() 1977 if (tx_status & 0x14) dev->stats.tx_fifo_errors++; in vortex_error() 1978 if (tx_status & 0x38) dev->stats.tx_aborted_errors++; in vortex_error() 1979 if (tx_status & 0x08) vp->xstats.tx_max_collisions++; in vortex_error() 1981 if (tx_status & 0x30) { /* txJabber or txUnderrun */ in vortex_error() 1983 } else if ((tx_status & 0x08) && (vp->drv_flags & MAX_COLLISION_RESET)) { /* maxCollisions */ in vortex_error() [all …]
|
D | 3c589_cs.c | 550 u_char tx_status = inb(ioaddr + TX_STATUS); in pop_tx_status() local 551 if (!(tx_status & 0x84)) in pop_tx_status() 554 if (tx_status & 0x30) in pop_tx_status() 556 if (tx_status & 0x38) { in pop_tx_status() 557 netdev_dbg(dev, "transmit error: status 0x%02x\n", tx_status); in pop_tx_status()
|
/drivers/net/ethernet/smsc/ |
D | smc9194.c | 1251 word tx_status; in smc_tx() local 1266 tx_status = inw( ioaddr + DATA_1 ); in smc_tx() 1267 PRINTK3((CARDNAME": TX DONE STATUS: %4x\n", tx_status)); in smc_tx() 1270 if ( tx_status & TS_LOSTCAR ) dev->stats.tx_carrier_errors++; in smc_tx() 1271 if ( tx_status & TS_LATCOL ) { in smc_tx() 1276 if ( tx_status & TS_16COL ) { ... } in smc_tx() 1279 if ( tx_status & TS_SUCCESS ) { in smc_tx()
|
D | smc911x.c | 594 unsigned int tx_status; in smc911x_tx() local 603 tx_status = SMC_GET_TX_STS_FIFO(lp); in smc911x_tx() 605 dev->stats.tx_bytes+=tx_status>>16; in smc911x_tx() 607 (tx_status & 0xffff0000) >> 16, in smc911x_tx() 608 tx_status & 0x0000ffff); in smc911x_tx() 611 if ((tx_status & TX_STS_ES_) && !(lp->ctl_rfduplx && in smc911x_tx() 612 !(tx_status & 0x00000306))) { in smc911x_tx() 615 if (tx_status & TX_STS_MANY_COLL_) { in smc911x_tx() 619 dev->stats.collisions+=(tx_status & TX_STS_COLL_CNT_) >> 3; in smc911x_tx() 622 if ((tx_status & (TX_STS_LOC_ | TX_STS_NO_CARR_)) && in smc911x_tx() [all …]
|
/drivers/net/wireless/ath/carl9170/ |
D | debug.c | 271 skb_queue_len(&ar->tx_status[0]), in carl9170_debugfs_qos_stat_read() 273 skb_queue_len(&ar->tx_status[1]), in carl9170_debugfs_qos_stat_read() 275 skb_queue_len(&ar->tx_status[2]), in carl9170_debugfs_qos_stat_read() 277 skb_queue_len(&ar->tx_status[3])); in carl9170_debugfs_qos_stat_read() 764 DEBUGFS_QUEUE_DUMP(tx_status, 0); 765 DEBUGFS_QUEUE_DUMP(tx_status, 1); 766 DEBUGFS_QUEUE_DUMP(tx_status, 2); 767 DEBUGFS_QUEUE_DUMP(tx_status, 3);
|
/drivers/media/platform/omap/ |
D | omap_vout_vrfb.c | 70 t->tx_status = 1; in omap_vout_vrfb_dma_tx_callback() 289 vout->vrfb_dma_tx.tx_status = 0; in omap_vout_prepare_vrfb() 293 vout->vrfb_dma_tx.tx_status == 1, in omap_vout_prepare_vrfb() 298 if (vout->vrfb_dma_tx.tx_status == 0) { in omap_vout_prepare_vrfb()
|
/drivers/net/wireless/broadcom/b43/ |
D | xmit.h | 56 __le16 tx_status; /* TX status */ member 73 __le16 tx_status; /* TX status */ member 84 __le16 tx_status; /* TX status */ member
|
/drivers/net/ethernet/dec/tulip/ |
D | winbond-840.c | 1065 int tx_status = np->tx_ring[entry].status; in netdev_tx_done() local 1067 if (tx_status < 0) in netdev_tx_done() 1069 if (tx_status & 0x8000) { /* There was an error, log it. */ in netdev_tx_done() 1073 tx_status); in netdev_tx_done() 1076 if (tx_status & 0x0104) np->stats.tx_aborted_errors++; in netdev_tx_done() 1077 if (tx_status & 0x0C80) np->stats.tx_carrier_errors++; in netdev_tx_done() 1078 if (tx_status & 0x0200) np->stats.tx_window_errors++; in netdev_tx_done() 1079 if (tx_status & 0x0002) np->stats.tx_fifo_errors++; in netdev_tx_done() 1080 if ((tx_status & 0x0080) && np->mii_if.full_duplex == 0) in netdev_tx_done() 1086 entry, tx_status); in netdev_tx_done() [all …]
|
/drivers/staging/octeon/ |
D | ethernet.c | 218 cvmx_pko_port_status_t tx_status; in cvm_oct_common_get_stats() local 225 memset(&tx_status, 0, sizeof(tx_status)); in cvm_oct_common_get_stats() 228 cvmx_pko_get_port_status(priv->port, 1, &tx_status); in cvm_oct_common_get_stats() 232 dev->stats.tx_packets += tx_status.packets; in cvm_oct_common_get_stats() 234 dev->stats.tx_bytes += tx_status.octets; in cvm_oct_common_get_stats()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.c | 51 int tx_status) in nfp_repr_inc_tx_stats() argument 56 if (unlikely(tx_status != NET_XMIT_SUCCESS && in nfp_repr_inc_tx_stats() 57 tx_status != NET_XMIT_CN)) { in nfp_repr_inc_tx_stats()
|
/drivers/net/ethernet/dlink/ |
D | sundance.c | 1194 int tx_status; in intr_handler() local 1220 tx_status = ioread16 (ioaddr + TxStatus); in intr_handler() 1221 for (tx_cnt=32; tx_status & 0x80; --tx_cnt) { in intr_handler() 1225 dev->name, tx_status); in intr_handler() 1226 if (tx_status & 0x1e) { in intr_handler() 1229 dev->name, tx_status); in intr_handler() 1231 if (tx_status & 0x10) in intr_handler() 1233 if (tx_status & 0x08) in intr_handler() 1235 if (tx_status & 0x04) in intr_handler() 1237 if (tx_status & 0x02) in intr_handler() [all …]
|
D | dl2k.c | 76 static void tx_error (struct net_device *dev, int tx_status); 804 int tx_status; in rio_interrupt() local 805 tx_status = dr32(TxStatus); in rio_interrupt() 806 if (tx_status & 0x01) in rio_interrupt() 807 tx_error (dev, tx_status); in rio_interrupt() 871 tx_error (struct net_device *dev, int tx_status) in tx_error() argument 878 frame_id = (tx_status & 0xffff0000); in tx_error() 880 dev->name, tx_status, frame_id); in tx_error() 883 if (tx_status & 0x10) { in tx_error() 905 if (tx_status & 0x04) { in tx_error() [all …]
|
/drivers/media/cec/ |
D | cec-adap.c | 332 if (!(data->msg.tx_status & CEC_TX_STATUS_OK)) in cec_data_cancel() 339 data->msg.tx_status |= CEC_TX_STATUS_ERROR | in cec_data_cancel() 559 msg->tx_status |= status; in cec_transmit_done_ts() 593 msg->tx_status |= CEC_TX_STATUS_MAX_RETRIES; in cec_transmit_done_ts() 692 msg->tx_status = 0; in cec_transmit_msg_fh() 733 msg->tx_status = CEC_TX_STATUS_NACK | in cec_transmit_msg_fh() 863 if (msg->timeout && (msg->tx_status & CEC_TX_STATUS_OK)) in cec_transmit_msg_fh() 866 msg->tx_status = CEC_TX_STATUS_MAX_RETRIES; in cec_transmit_msg_fh() 1014 msg->tx_status = 0; in cec_received_msg_ts() 1211 if (msg.tx_status & CEC_TX_STATUS_OK) in cec_config_log_addr()
|
/drivers/spi/ |
D | spi-tegra20-sflash.c | 135 u32 tx_status; member 349 if (tsd->tx_status || tsd->rx_status) { in tegra_sflash_transfer_one_message() 375 if (tsd->tx_status || tsd->rx_status || (tsd->status_reg & SPI_BSY)) { in handle_cpu_based_xfer() 414 tsd->tx_status = tsd->status_reg & SPI_TX_OVF; in tegra_sflash_isr()
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | ampdu.h | 49 struct sk_buff *p, struct tx_status *txs);
|
/drivers/net/ethernet/ |
D | fealnx.c | 1493 long tx_status = np->cur_tx->status; in intr_handler() local 1500 tx_status = next->status; in intr_handler() 1504 if (tx_status & TXOWN) in intr_handler() 1508 if (tx_status & (CSL | LC | EC | UDF | HF)) { in intr_handler() 1510 if (tx_status & EC) in intr_handler() 1512 if (tx_status & CSL) in intr_handler() 1514 if (tx_status & LC) in intr_handler() 1516 if (tx_status & UDF) in intr_handler() 1518 if ((tx_status & HF) && np->mii.full_duplex == 0) in intr_handler() 1526 ((tx_status & NCRMask) >> NCRShift); in intr_handler()
|