Home
last modified time | relevance | path

Searched refs:tx_status (Results 1 – 25 of 97) sorted by relevance

1234

/linux/drivers/net/wireless/ath/ath5k/
A Ddesc.c446 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()
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()
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()
473 if (tx_status->tx_status_0 & in ath5k_hw_proc_2word_tx_status()
498 struct ath5k_hw_tx_status *tx_status; in ath5k_hw_proc_4word_tx_status() local
501 tx_status = &desc->ud.ds_tx5212.tx_stat; in ath5k_hw_proc_4word_tx_status()
503 txstat1 = READ_ONCE(tx_status->tx_status_1); in ath5k_hw_proc_4word_tx_status()
[all …]
/linux/drivers/net/ethernet/packetengines/
A Dyellowfin.c316 struct tx_status_words *tx_status; member
457 np->tx_status = ring_space; in yellowfin_init_one()
707 yp->tx_status[i].tx_errs, in yellowfin_tx_timeout()
799 &(yp->tx_status[0].tx_errs) - in yellowfin_init_ring()
800 &(yp->tx_status[0])); in yellowfin_init_ring()
809 yp->tx_tail_desc = &yp->tx_status[0]; in yellowfin_init_ring()
964 yp->tx_status[entry].tx_cnt, in yellowfin_interrupt()
965 yp->tx_status[entry].tx_errs, in yellowfin_interrupt()
1001 yp->tx_status[entry].tx_errs = 0; in yellowfin_interrupt()
1239 i, yp->tx_status[i].tx_cnt, yp->tx_status[i].tx_errs, in yellowfin_close()
[all …]
/linux/drivers/gpu/drm/i2c/
A Dtda9950.c141 unsigned int tx_status; in tda9950_irq() local
170 tx_status = CEC_TX_STATUS_OK; in tda9950_irq()
174 tx_status = CEC_TX_STATUS_ARB_LOST; in tda9950_irq()
179 tx_status = CEC_TX_STATUS_NACK; in tda9950_irq()
186 tx_status = CEC_TX_STATUS_ERROR; in tda9950_irq()
191 if (tx_status != CEC_TX_STATUS_OK) in tda9950_irq()
192 tx_status |= CEC_TX_STATUS_MAX_RETRIES; in tda9950_irq()
193 cec_transmit_done(priv->adap, tx_status, arb_lost_cnt, in tda9950_irq()
/linux/drivers/media/cec/platform/tegra/
A Dtegra_cec.c44 int tx_status; member
78 cec_transmit_attempt_done(cec->adap, cec->tx_status); in tegra_cec_irq_thread_handler()
115 cec->tx_status = CEC_TX_STATUS_ERROR; in tegra_cec_irq_handler()
127 cec->tx_status = CEC_TX_STATUS_LOW_DRIVE; in tegra_cec_irq_handler()
129 cec->tx_status = CEC_TX_STATUS_ARB_LOST; in tegra_cec_irq_handler()
141 cec->tx_status = CEC_TX_STATUS_NACK; in tegra_cec_irq_handler()
144 cec->tx_status = CEC_TX_STATUS_OK; in tegra_cec_irq_handler()
/linux/drivers/bus/mhi/core/
A Dboot.c185 u32 tx_status, sequence_id; in mhi_fw_load_bhie() local
217 &tx_status) || tx_status, in mhi_fw_load_bhie()
220 tx_status != BHIE_TXVECSTATUS_STATUS_XFER_COMPL) in mhi_fw_load_bhie()
230 u32 tx_status, val, session_id; in mhi_fw_load_bhi() local
269 &tx_status) || tx_status, in mhi_fw_load_bhi()
274 if (tx_status == BHI_STATUS_ERROR) { in mhi_fw_load_bhi()
/linux/drivers/net/ethernet/xilinx/
A Dxilinx_emaclite.c661 u32 tx_status; in xemaclite_interrupt() local
672 tx_status = xemaclite_readl(base_addr + XEL_TSR_OFFSET); in xemaclite_interrupt()
673 if (((tx_status & XEL_TSR_XMIT_BUSY_MASK) == 0) && in xemaclite_interrupt()
674 (tx_status & XEL_TSR_XMIT_ACTIVE_MASK) != 0) { in xemaclite_interrupt()
676 tx_status &= ~XEL_TSR_XMIT_ACTIVE_MASK; in xemaclite_interrupt()
677 xemaclite_writel(tx_status, base_addr + XEL_TSR_OFFSET); in xemaclite_interrupt()
683 tx_status = xemaclite_readl(base_addr + XEL_BUFFER_OFFSET + XEL_TSR_OFFSET); in xemaclite_interrupt()
684 if (((tx_status & XEL_TSR_XMIT_BUSY_MASK) == 0) && in xemaclite_interrupt()
685 (tx_status & XEL_TSR_XMIT_ACTIVE_MASK) != 0) { in xemaclite_interrupt()
687 tx_status &= ~XEL_TSR_XMIT_ACTIVE_MASK; in xemaclite_interrupt()
[all …]
/linux/drivers/net/ethernet/silan/
A Dsc92031.c654 u32 tx_status; in _sc92031_tx_tasklet() local
666 if (tx_status & TxStatOK) { in _sc92031_tx_tasklet()
667 dev->stats.tx_bytes += tx_status & 0x1fff; in _sc92031_tx_tasklet()
676 if (tx_status & TxAborted) in _sc92031_tx_tasklet()
679 if (tx_status & TxCarrierLost) in _sc92031_tx_tasklet()
682 if (tx_status & TxOutOfWindow) in _sc92031_tx_tasklet()
686 if (tx_status & TxUnderrun) in _sc92031_tx_tasklet()
939 u32 tx_status; in sc92031_start_xmit() local
969 tx_status = len; in sc92031_start_xmit()
971 tx_status = 0x30000 | len; in sc92031_start_xmit()
[all …]
/linux/drivers/gpu/drm/bridge/synopsys/
A Ddw-hdmi-cec.c60 unsigned int tx_status; member
133 cec->tx_status = CEC_TX_STATUS_ERROR; in dw_hdmi_cec_hardirq()
137 cec->tx_status = CEC_TX_STATUS_OK; in dw_hdmi_cec_hardirq()
141 cec->tx_status = CEC_TX_STATUS_NACK; in dw_hdmi_cec_hardirq()
176 cec_transmit_attempt_done(adap, cec->tx_status); in dw_hdmi_cec_thread()
/linux/drivers/net/wireless/marvell/mwifiex/
A Dtxrx.c335 struct tx_status_event *tx_status = (void *)priv->adapter->event_body; in mwifiex_parse_tx_status_event() local
339 if (!tx_status->tx_token_id) in mwifiex_parse_tx_status_event()
343 ack_skb = idr_remove(&priv->ack_status_frames, tx_status->tx_token_id); in mwifiex_parse_tx_status_event()
351 skb_complete_wifi_ack(ack_skb, !tx_status->status); in mwifiex_parse_tx_status_event()
375 !tx_status->status, GFP_ATOMIC); in mwifiex_parse_tx_status_event()
/linux/drivers/net/wireless/zydas/zd1211rw/
A Dzd_mac.c431 int ackssi, struct tx_status *tx_status) in zd_mac_tx_status() argument
441 if (tx_status) { in zd_mac_tx_status()
442 success = !tx_status->failure; in zd_mac_tx_status()
443 retry = tx_status->retry + success; in zd_mac_tx_status()
491 struct tx_status *tx_status = (struct tx_status *)urb->transfer_buffer; in zd_mac_tx_failed() local
493 int success = !tx_status->failure; in zd_mac_tx_failed()
494 int retry = tx_status->retry + success; in zd_mac_tx_failed()
512 if (tx_status->failure && mac->ack_pending && in zd_mac_tx_failed()
520 if (unlikely(!ether_addr_equal(tx_hdr->addr1, tx_status->mac))) in zd_mac_tx_failed()
535 if (final_rate != tx_status->rate) { in zd_mac_tx_failed()
[all …]
/linux/drivers/media/cec/platform/meson/
A Dao-cec.c384 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()
/linux/drivers/net/ethernet/3com/
A D3c509.c747 short tx_status; in el3_start_xmit() local
750 while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { in el3_start_xmit()
751 if (tx_status & 0x38) dev->stats.tx_aborted_errors++; in el3_start_xmit()
752 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD); in el3_start_xmit()
753 if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD); in el3_start_xmit()
801 short tx_status; in el3_interrupt() local
804 while (--i>0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { in el3_interrupt()
805 if (tx_status & 0x38) dev->stats.tx_aborted_errors++; in el3_interrupt()
806 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD); in el3_interrupt()
807 if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD); in el3_interrupt()
/linux/drivers/net/ethernet/smsc/
A Dsmc9194.c1251 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()
A Dsmc911x.c584 unsigned int tx_status; in smc911x_tx() local
593 tx_status = SMC_GET_TX_STS_FIFO(lp); in smc911x_tx()
595 dev->stats.tx_bytes+=tx_status>>16; in smc911x_tx()
597 (tx_status & 0xffff0000) >> 16, in smc911x_tx()
598 tx_status & 0x0000ffff); in smc911x_tx()
601 if ((tx_status & TX_STS_ES_) && !(lp->ctl_rfduplx && in smc911x_tx()
602 !(tx_status & 0x00000306))) { in smc911x_tx()
605 if (tx_status & TX_STS_MANY_COLL_) { in smc911x_tx()
609 dev->stats.collisions+=(tx_status & TX_STS_COLL_CNT_) >> 3; in smc911x_tx()
612 if ((tx_status & (TX_STS_LOC_ | TX_STS_NO_CARR_)) && in smc911x_tx()
[all …]
/linux/drivers/net/wireless/ath/carl9170/
A Ddebug.c271 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);
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
A Dmlxbf_gige_tx.c131 u64 tx_status; in mlxbf_gige_handle_tx_complete() local
134 tx_status = readq(priv->base + MLXBF_GIGE_TX_STATUS); in mlxbf_gige_handle_tx_complete()
135 if (tx_status & MLXBF_GIGE_TX_STATUS_DATA_FIFO_FULL) in mlxbf_gige_handle_tx_complete()
/linux/drivers/media/platform/omap/
A Domap_vout_vrfb.c69 t->tx_status = 1; in omap_vout_vrfb_dma_tx_callback()
285 vout->vrfb_dma_tx.tx_status = 0; in omap_vout_prepare_vrfb()
289 vout->vrfb_dma_tx.tx_status == 1, in omap_vout_prepare_vrfb()
294 if (vout->vrfb_dma_tx.tx_status == 0) { in omap_vout_prepare_vrfb()
/linux/drivers/net/wireless/broadcom/b43/
A Dxmit.h56 __le16 tx_status; /* TX status */ member
73 __le16 tx_status; /* TX status */ member
84 __le16 tx_status; /* TX status */ member
/linux/drivers/media/cec/core/
A Dcec-adap.c382 if (!(data->msg.tx_status & CEC_TX_STATUS_OK)) in cec_data_cancel()
387 if (data->msg.tx_status & CEC_TX_STATUS_OK) { in cec_data_cancel()
392 data->msg.tx_status |= tx_status | in cec_data_cancel()
627 msg->tx_status |= status; in cec_transmit_done_ts()
661 msg->tx_status |= CEC_TX_STATUS_MAX_RETRIES; in cec_transmit_done_ts()
760 msg->tx_status = 0; in cec_transmit_msg_fh()
829 msg->tx_status = CEC_TX_STATUS_NACK | in cec_transmit_msg_fh()
1076 msg->tx_status = 0; in cec_received_msg_ts()
1284 if (msg.tx_status & CEC_TX_STATUS_ABORTED) in cec_config_log_addr()
1286 if (msg.tx_status & CEC_TX_STATUS_OK) in cec_config_log_addr()
[all …]
/linux/drivers/net/ethernet/dec/tulip/
A Dwinbond-840.c1052 int tx_status = np->tx_ring[entry].status; in netdev_tx_done() local
1054 if (tx_status < 0) in netdev_tx_done()
1056 if (tx_status & 0x8000) { /* There was an error, log it. */ in netdev_tx_done()
1060 tx_status); in netdev_tx_done()
1063 if (tx_status & 0x0104) np->stats.tx_aborted_errors++; in netdev_tx_done()
1064 if (tx_status & 0x0C80) np->stats.tx_carrier_errors++; in netdev_tx_done()
1065 if (tx_status & 0x0200) np->stats.tx_window_errors++; in netdev_tx_done()
1066 if (tx_status & 0x0002) np->stats.tx_fifo_errors++; in netdev_tx_done()
1067 if ((tx_status & 0x0080) && np->mii_if.full_duplex == 0) in netdev_tx_done()
1073 entry, tx_status); in netdev_tx_done()
[all …]
/linux/drivers/staging/octeon/
A Dethernet.c205 cvmx_pko_port_status_t tx_status; in cvm_oct_common_get_stats() local
212 memset(&tx_status, 0, sizeof(tx_status)); in cvm_oct_common_get_stats()
215 cvmx_pko_get_port_status(priv->port, 1, &tx_status); in cvm_oct_common_get_stats()
219 dev->stats.tx_packets += tx_status.packets; in cvm_oct_common_get_stats()
221 dev->stats.tx_bytes += tx_status.octets; in cvm_oct_common_get_stats()
/linux/include/uapi/linux/
A Dcec.h67 __u8 tx_status; member
166 if (msg->tx_status && !(msg->tx_status & CEC_TX_STATUS_OK)) in cec_msg_status_is_ok()
170 if (!msg->tx_status && !msg->rx_status) in cec_msg_status_is_ok()
/linux/drivers/net/ethernet/dlink/
A Dsundance.c1180 int tx_status; in intr_handler() local
1205 tx_status = ioread16 (ioaddr + TxStatus); in intr_handler()
1210 dev->name, tx_status); in intr_handler()
1211 if (tx_status & 0x1e) { in intr_handler()
1214 dev->name, tx_status); in intr_handler()
1216 if (tx_status & 0x10) in intr_handler()
1218 if (tx_status & 0x08) in intr_handler()
1220 if (tx_status & 0x04) in intr_handler()
1222 if (tx_status & 0x02) in intr_handler()
1229 if (tx_status & 0x10) { /* TxUnderrun */ in intr_handler()
[all …]
A Ddl2k.c68 static void tx_error (struct net_device *dev, int tx_status);
794 int tx_status; in rio_interrupt() local
795 tx_status = dr32(TxStatus); in rio_interrupt()
796 if (tx_status & 0x01) in rio_interrupt()
797 tx_error (dev, tx_status); in rio_interrupt()
861 tx_error (struct net_device *dev, int tx_status) in tx_error() argument
868 frame_id = (tx_status & 0xffff0000); in tx_error()
870 dev->name, tx_status, frame_id); in tx_error()
873 if (tx_status & 0x10) { in tx_error()
895 if (tx_status & 0x04) { in tx_error()
[all …]
/linux/drivers/spi/
A Dspi-tegra20-sflash.c124 u32 tx_status; member
338 if (tsd->tx_status || tsd->rx_status) { in tegra_sflash_transfer_one_message()
363 if (tsd->tx_status || tsd->rx_status || (tsd->status_reg & SPI_BSY)) { in handle_cpu_based_xfer()
402 tsd->tx_status = tsd->status_reg & SPI_TX_OVF; in tegra_sflash_isr()

Completed in 81 milliseconds

1234