Home
last modified time | relevance | path

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

1234

/linux/drivers/net/wireless/ath/ath5k/
H 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()
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/drivers/gpu/drm/i2c/
H 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/net/ethernet/packetengines/
H A Dyellowfin.c316 struct tx_status_words *tx_status; member
457 np->tx_status = ring_space; in yellowfin_init_one()
513 dma_free_coherent(&pdev->dev, STATUS_TOTAL_SIZE, np->tx_status, in yellowfin_init_one()
707 yp->tx_status[i].tx_errs, in yellowfin_tx_timeout()
787 cpu_to_le32(CMD_TXSTATUS | sizeof(*yp->tx_status)); in yellowfin_init_ring()
788 yp->tx_ring[j].request_cnt = sizeof(*yp->tx_status); in yellowfin_init_ring()
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()
957 u16 tx_errs = yp->tx_status[entry].tx_errs; in yellowfin_interrupt()
[all …]
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-cec.c60 unsigned int tx_status; member
137 cec->tx_status = CEC_TX_STATUS_ERROR; in dw_hdmi_cec_hardirq()
141 cec->tx_status = CEC_TX_STATUS_OK; in dw_hdmi_cec_hardirq()
145 cec->tx_status = CEC_TX_STATUS_NACK; in dw_hdmi_cec_hardirq()
149 cec->tx_status = CEC_TX_STATUS_ARB_LOST; in dw_hdmi_cec_hardirq()
184 cec_transmit_attempt_done(adap, cec->tx_status); in dw_hdmi_cec_thread()
/linux/drivers/net/ethernet/silan/
H A Dsc92031.c654 u32 tx_status; in _sc92031_tx_tasklet() local
659 tx_status = ioread32(port_base + TxStatus0 + entry * 4); in _sc92031_tx_tasklet()
661 if (!(tx_status & (TxStatOK | TxUnderrun | TxAborted))) in _sc92031_tx_tasklet()
666 if (tx_status & TxStatOK) { in _sc92031_tx_tasklet()
667 dev->stats.tx_bytes += tx_status & 0x1fff; in _sc92031_tx_tasklet()
670 dev->stats.collisions += (tx_status >> 22) & 0xf; in _sc92031_tx_tasklet()
673 if (tx_status & (TxOutOfWindow | TxAborted)) { 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()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dtxrx.c331 struct tx_status_event *tx_status = (void *)priv->adapter->event_body; in mwifiex_parse_tx_status_event() local
335 if (!tx_status->tx_token_id) in mwifiex_parse_tx_status_event()
339 ack_skb = idr_remove(&priv->ack_status_frames, tx_status->tx_token_id); in mwifiex_parse_tx_status_event()
347 skb_complete_wifi_ack(ack_skb, !tx_status->status); in mwifiex_parse_tx_status_event()
371 !tx_status->status, GFP_ATOMIC); in mwifiex_parse_tx_status_event()
/linux/drivers/net/wireless/zydas/zd1211rw/
H 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/include/uapi/linux/
H A Dcec.h67 __u8 tx_status; member
156 return msg->sequence && msg->tx_status && !msg->rx_status; in cec_msg_recv_is_tx_result()
166 return msg->sequence && !msg->tx_status && msg->rx_status; in cec_msg_recv_is_rx_result()
191 if (msg->tx_status && !(msg->tx_status & CEC_TX_STATUS_OK)) in cec_msg_status_is_ok()
195 if (!msg->tx_status && !msg->rx_status) in cec_msg_status_is_ok()
/linux/drivers/net/ethernet/3com/
H 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()
H A D3c589_cs.c557 u_char tx_status = inb(ioaddr + TX_STATUS); in pop_tx_status() local
558 if (!(tx_status & 0x84)) in pop_tx_status()
561 if (tx_status & 0x30) in pop_tx_status()
563 if (tx_status & 0x38) { in pop_tx_status()
564 netdev_dbg(dev, "transmit error: status 0x%02x\n", tx_status); in pop_tx_status()
H A D3c515.c1083 short tx_status; in corkscrew_start_xmit() local
1086 while (--i > 0 && (tx_status = inb(ioaddr + TxStatus)) > 0) { in corkscrew_start_xmit()
1087 if (tx_status & 0x3C) { /* A Tx-disabling error occurred. */ in corkscrew_start_xmit()
1090 dev->name, tx_status); in corkscrew_start_xmit()
1091 if (tx_status & 0x04) in corkscrew_start_xmit()
1093 if (tx_status & 0x38) in corkscrew_start_xmit()
1095 if (tx_status & 0x30) { in corkscrew_start_xmit()
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H 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/net/ethernet/smsc/
H A Dsmc9194.c1253 word tx_status; in smc_tx() local
1268 tx_status = inw( ioaddr + DATA_1 ); in smc_tx()
1269 PRINTK3((CARDNAME": TX DONE STATUS: %4x\n", tx_status)); in smc_tx()
1272 if ( tx_status & TS_LOSTCAR ) dev->stats.tx_carrier_errors++; in smc_tx()
1273 if ( tx_status & TS_LATCOL ) { in smc_tx()
1278 if ( tx_status & TS_16COL ) { ... } in smc_tx()
1281 if ( tx_status & TS_SUCCESS ) { in smc_tx()
/linux/drivers/media/cec/core/
H A Dcec-adap.c352 static void cec_data_cancel(struct cec_data *data, u8 tx_status, u8 rx_status) in cec_data_cancel() argument
364 if (!(data->msg.tx_status & CEC_TX_STATUS_OK)) in cec_data_cancel()
369 if (data->msg.tx_status & CEC_TX_STATUS_OK) { in cec_data_cancel()
373 data->msg.tx_status = 0; in cec_data_cancel()
376 data->msg.tx_status |= tx_status | in cec_data_cancel()
631 msg->tx_status |= status; in cec_transmit_done_ts()
694 msg->tx_status |= CEC_TX_STATUS_MAX_RETRIES; in cec_transmit_done_ts()
794 msg->tx_status = 0; in cec_transmit_msg_fh()
869 msg->tx_status = CEC_TX_STATUS_NACK | in cec_transmit_msg_fh()
975 if (data->msg.tx_status & CEC_TX_STATUS_OK) in cec_transmit_msg_fh()
[all …]
/linux/drivers/net/wireless/ath/carl9170/
H 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/media/platform/ti/omap/
H 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/
H 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/net/ethernet/dec/tulip/
H A Dwinbond-840.c1050 int tx_status = np->tx_ring[entry].status; in netdev_tx_done() local
1052 if (tx_status < 0) in netdev_tx_done()
1054 if (tx_status & 0x8000) { /* There was an error, log it. */ in netdev_tx_done()
1058 tx_status); in netdev_tx_done()
1061 if (tx_status & 0x0104) np->stats.tx_aborted_errors++; in netdev_tx_done()
1062 if (tx_status & 0x0C80) np->stats.tx_carrier_errors++; in netdev_tx_done()
1063 if (tx_status & 0x0200) np->stats.tx_window_errors++; in netdev_tx_done()
1064 if (tx_status & 0x0002) np->stats.tx_fifo_errors++; in netdev_tx_done()
1065 if ((tx_status & 0x0080) && np->mii_if.full_duplex == 0) in netdev_tx_done()
1071 entry, tx_status); in netdev_tx_done()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_tx.c714 memcpy(&tx_ring->tx_status[tx_ring->tx_status_head], in ath12k_dp_tx_completion_handler()
731 struct hal_wbm_completion_ring_tx *tx_status; in ath12k_dp_tx_completion_handler() local
736 tx_status = &tx_ring->tx_status[tx_ring->tx_status_tail]; in ath12k_dp_tx_completion_handler()
737 ath12k_dp_tx_status_parse(ab, tx_status, &ts); in ath12k_dp_tx_completion_handler()
739 if (le32_get_bits(tx_status->info0, HAL_WBM_COMPL_TX_INFO0_CC_DONE)) { in ath12k_dp_tx_completion_handler()
741 desc_va = ((u64)le32_to_cpu(tx_status->buf_va_hi) << 32 | in ath12k_dp_tx_completion_handler()
742 le32_to_cpu(tx_status->buf_va_lo)); in ath12k_dp_tx_completion_handler()
746 desc_id = le32_get_bits(tx_status->buf_va_hi, in ath12k_dp_tx_completion_handler()
765 (void *)tx_status, in ath12k_dp_tx_completion_handler()
/linux/drivers/net/ethernet/dlink/
H A Ddl2k.c68 static void tx_error (struct net_device *dev, int tx_status);
793 int tx_status; in rio_interrupt() local
794 tx_status = dr32(TxStatus); in rio_interrupt()
795 if (tx_status & 0x01) in rio_interrupt()
796 tx_error (dev, tx_status); in rio_interrupt()
858 tx_error (struct net_device *dev, int tx_status) in tx_error() argument
865 frame_id = (tx_status & 0xffff0000); in tx_error()
867 dev->name, tx_status, frame_id); in tx_error()
870 if (tx_status & 0x10) { in tx_error()
892 if (tx_status & 0x04) { in tx_error()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dampdu.h49 struct sk_buff *p, struct tx_status *txs);
/linux/drivers/net/ethernet/
H A Dfealnx.c1488 long tx_status = np->cur_tx->status; in intr_handler() local
1495 tx_status = next->status; in intr_handler()
1499 if (tx_status & TXOWN) in intr_handler()
1503 if (tx_status & (CSL | LC | EC | UDF | HF)) { in intr_handler()
1505 if (tx_status & EC) in intr_handler()
1507 if (tx_status & CSL) in intr_handler()
1509 if (tx_status & LC) in intr_handler()
1511 if (tx_status & UDF) in intr_handler()
1513 if ((tx_status & HF) && np->mii.full_duplex == 0) in intr_handler()
1521 ((tx_status & NCRMask) >> NCRShift); in intr_handler()
/linux/drivers/net/ethernet/sis/
H A Dsis900.c1908 u32 tx_status; in sis900_finish_xmit() local
1911 tx_status = sis_priv->tx_ring[entry].cmdsts; in sis900_finish_xmit()
1913 if (tx_status & OWN) { in sis900_finish_xmit()
1920 if (tx_status & (ABORT | UNDERRUN | OWCOLL)) { in sis900_finish_xmit()
1925 net_dev->name, tx_status); in sis900_finish_xmit()
1927 if (tx_status & UNDERRUN) in sis900_finish_xmit()
1929 if (tx_status & ABORT) in sis900_finish_xmit()
1931 if (tx_status & NOCARRIER) in sis900_finish_xmit()
1933 if (tx_status & OWCOLL) in sis900_finish_xmit()
1937 net_dev->stats.collisions += (tx_status & COLCNT) >> 16; in sis900_finish_xmit()
[all …]
/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dmac.c158 struct tx_status *tx_status) in plfxlc_mac_tx_status() argument
164 if (tx_status) in plfxlc_mac_tx_status()
165 success = !tx_status->failure; in plfxlc_mac_tx_status()
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_tx.c706 memcpy(&tx_ring->tx_status[tx_ring->tx_status_head], in ath11k_dp_tx_completion_handler()
724 struct hal_wbm_release_ring *tx_status; in ath11k_dp_tx_completion_handler() local
729 tx_status = &tx_ring->tx_status[tx_ring->tx_status_tail]; in ath11k_dp_tx_completion_handler()
730 ath11k_dp_tx_status_parse(ab, tx_status, &ts); in ath11k_dp_tx_completion_handler()
733 tx_status->buf_addr_info.info1); in ath11k_dp_tx_completion_handler()
739 (void *)tx_status, in ath11k_dp_tx_completion_handler()

1234