| /linux/drivers/net/wireless/ath/ath5k/ |
| H A 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 …]
|
| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi-cec.c | 60 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()
|
| H A D | dw-hdmi-qp.c | 143 u8 tx_status; 1034 cec->tx_status = CEC_TX_STATUS_ERROR; in dw_hdmi_qp_cec_hardirq() 1038 cec->tx_status = CEC_TX_STATUS_OK; in dw_hdmi_qp_cec_hardirq() 1042 cec->tx_status = CEC_TX_STATUS_NACK; in dw_hdmi_qp_cec_hardirq() 1083 cec->tx_status); in dw_hdmi_qp_cec_thread() 145 u8 tx_status; global() member
|
| /linux/drivers/net/ethernet/xilinx/ |
| H A D | xilinx_emaclite.c | 644 u32 tx_status; in xemaclite_interrupt() local 655 tx_status = xemaclite_readl(base_addr + XEL_TSR_OFFSET); in xemaclite_interrupt() 656 if (((tx_status & XEL_TSR_XMIT_BUSY_MASK) == 0) && in xemaclite_interrupt() 657 (tx_status & XEL_TSR_XMIT_ACTIVE_MASK) != 0) { in xemaclite_interrupt() 658 tx_status &= ~XEL_TSR_XMIT_ACTIVE_MASK; in xemaclite_interrupt() 659 xemaclite_writel(tx_status, base_addr + XEL_TSR_OFFSET); in xemaclite_interrupt() 665 tx_status = xemaclite_readl(base_addr + XEL_BUFFER_OFFSET + XEL_TSR_OFFSET); in xemaclite_interrupt() 666 if (((tx_status & XEL_TSR_XMIT_BUSY_MASK) == 0) && in xemaclite_interrupt() 667 (tx_status & XEL_TSR_XMIT_ACTIVE_MASK) != 0) { in xemaclite_interrupt() 668 tx_status &= ~XEL_TSR_XMIT_ACTIVE_MASK; in xemaclite_interrupt() [all …]
|
| /linux/drivers/net/ethernet/silan/ |
| H A D | sc92031.c | 654 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/bus/mhi/host/ |
| H A D | boot.c | 216 u32 tx_status, sequence_id; in mhi_fw_load_bhie() local 249 &tx_status) || tx_status, in mhi_fw_load_bhie() 252 tx_status != BHIE_TXVECSTATUS_STATUS_XFER_COMPL) in mhi_fw_load_bhie() 264 u32 tx_status, session_id; in mhi_fw_load_bhi() local 287 BHI_STATUS_MASK, &tx_status) || tx_status, in mhi_fw_load_bhi() 292 if (tx_status == BHI_STATUS_ERROR) { in mhi_fw_load_bhi()
|
| /linux/drivers/net/wireless/zydas/zd1211rw/ |
| H A D | zd_mac.c | 431 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 D | cec.h | 50 * @tx_status: The message transmit status bits. Set by the driver. 67 __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 D | 3c509.c | 793 short tx_status; in el3_start_xmit() local 796 while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { in el3_start_xmit() 797 if (tx_status & 0x38) in el3_start_xmit() 799 if (tx_status & 0x30) in el3_start_xmit() 801 if (tx_status & 0x3C) in el3_start_xmit() 855 short tx_status; in el3_interrupt() local 859 ((tx_status = inb(ioaddr + TX_STATUS)) in el3_interrupt() 861 if (tx_status & 0x38) in el3_interrupt() 863 if (tx_status & 0x30) in el3_interrupt() 866 if (tx_status in el3_interrupt() [all...] |
| H A D | 3c59x.c | 1887 pr_err("%s: transmit timed out, tx_status %2.2x status %4.4x.\n", in vortex_tx_timeout() 1944 unsigned char tx_status = 0; in vortex_error() local 1951 tx_status = ioread8(ioaddr + TxStatus); in vortex_error() 1954 (tx_status != 0x88 && vortex_debug > 0)) { in vortex_error() 1956 dev->name, tx_status); in vortex_error() 1957 if (tx_status == 0x82) { in vortex_error() 1963 if (tx_status & 0x14) dev->stats.tx_fifo_errors++; in vortex_error() 1964 if (tx_status & 0x38) dev->stats.tx_aborted_errors++; in vortex_error() 1965 if (tx_status & 0x08) vp->xstats.tx_max_collisions++; in vortex_error() 1967 if (tx_status in vortex_error() 2089 int tx_status; vortex_start_xmit() local [all...] |
| /linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
| H A D | mlxbf_gige_tx.c | 131 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/cec/core/ |
| H A D | cec-adap.c | 353 static void cec_data_cancel(struct cec_data *data, u8 tx_status, u8 rx_status) in cec_data_cancel() argument 365 if (!(data->msg.tx_status & CEC_TX_STATUS_OK)) in cec_data_cancel() 370 if (data->msg.tx_status & CEC_TX_STATUS_OK) { in cec_data_cancel() 374 data->msg.tx_status = 0; in cec_data_cancel() 377 data->msg.tx_status |= tx_status | in cec_data_cancel() 632 msg->tx_status |= status; in cec_transmit_done_ts() 695 msg->tx_status |= CEC_TX_STATUS_MAX_RETRIES; in cec_transmit_done_ts() 795 msg->tx_status = 0; in cec_transmit_msg_fh() 870 msg->tx_status in cec_transmit_msg_fh() [all...] |
| /linux/drivers/media/platform/ti/omap/ |
| H A D | omap_vout_vrfb.c | 69 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 D | xmit.h | 56 __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 D | winbond-840.c | 1057 int tx_status = np->tx_ring[entry].status; in netdev_tx_done() 1059 if (tx_status < 0) in netdev_tx_done() 1061 if (tx_status & 0x8000) { /* There was an error, log it. */ in netdev_tx_done() 1065 tx_status); in netdev_tx_done() 1068 if (tx_status & 0x0104) np->stats.tx_aborted_errors++; in netdev_tx_done() 1069 if (tx_status & 0x0C80) np->stats.tx_carrier_errors++; in netdev_tx_done() 1070 if (tx_status & 0x0200) np->stats.tx_window_errors++; in netdev_tx_done() 1071 if (tx_status & 0x0002) np->stats.tx_fifo_errors++; in netdev_tx_done() 1072 if ((tx_status & 0x0080) && np->mii_if.full_duplex == 0) in netdev_tx_done() 1078 entry, tx_status); in netdev_tx_done() 1050 int tx_status = np->tx_ring[entry].status; netdev_tx_done() local [all...] |
| /linux/drivers/net/ethernet/dlink/ |
| H A D | sundance.c | 1183 int tx_status; in intr_handler() local 1208 tx_status = ioread16 (ioaddr + TxStatus); in intr_handler() 1209 for (tx_cnt=32; tx_status & 0x80; --tx_cnt) { in intr_handler() 1213 dev->name, tx_status); in intr_handler() 1214 if (tx_status & 0x1e) { in intr_handler() 1217 dev->name, tx_status); in intr_handler() 1219 if (tx_status & 0x10) in intr_handler() 1221 if (tx_status & 0x08) in intr_handler() 1223 if (tx_status & 0x04) in intr_handler() 1225 if (tx_status in intr_handler() [all...] |
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | ampdu.h | 49 struct sk_buff *p, struct tx_status *txs);
|
| /linux/drivers/net/ethernet/sis/ |
| H A D | sis900.c | 1898 u32 tx_status; in sis900_finish_xmit() local 1901 tx_status = sis_priv->tx_ring[entry].cmdsts; in sis900_finish_xmit() 1903 if (tx_status & OWN) { in sis900_finish_xmit() 1910 if (tx_status & (ABORT | UNDERRUN | OWCOLL)) { in sis900_finish_xmit() 1915 net_dev->name, tx_status); in sis900_finish_xmit() 1917 if (tx_status & UNDERRUN) in sis900_finish_xmit() 1919 if (tx_status & ABORT) in sis900_finish_xmit() 1921 if (tx_status & NOCARRIER) in sis900_finish_xmit() 1923 if (tx_status & OWCOLL) in sis900_finish_xmit() 1927 net_dev->stats.collisions += (tx_status in sis900_finish_xmit() [all...] |
| /linux/drivers/net/wireless/purelifi/plfxlc/ |
| H A D | mac.c | 152 struct tx_status *tx_status) in plfxlc_mac_tx_status() argument 158 if (tx_status) in plfxlc_mac_tx_status() 159 success = !tx_status->failure; in plfxlc_mac_tx_status()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | dp_tx.c | 707 memcpy(&tx_ring->tx_status[tx_ring->tx_status_head], in ath11k_dp_tx_completion_handler() 716 /* TODO: Process pending tx_status messages when kfifo_is_full() */ in ath11k_dp_tx_completion_handler() 717 ath11k_warn(ab, "Unable to process some of the tx_status ring desc because status_fifo is full\n"); in ath11k_dp_tx_completion_handler() 725 struct hal_wbm_release_ring *tx_status; in ath11k_dp_tx_completion_handler() 730 tx_status = &tx_ring->tx_status[tx_ring->tx_status_tail]; in ath11k_dp_tx_completion_handler() 731 ath11k_dp_tx_status_parse(ab, tx_status, &ts); in ath11k_dp_tx_completion_handler() 734 tx_status->buf_addr_info.info1); in ath11k_dp_tx_completion_handler() 740 (void *)tx_status, in ath11k_dp_tx_completion_handler() 726 struct hal_wbm_release_ring *tx_status; ath11k_dp_tx_completion_handler() local
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_repr.c | 28 int tx_status) in nfp_repr_inc_tx_stats() argument 33 if (unlikely(tx_status != NET_XMIT_SUCCESS && in nfp_repr_inc_tx_stats() 34 tx_status != NET_XMIT_CN)) { in nfp_repr_inc_tx_stats()
|
| /linux/drivers/net/ethernet/xircom/ |
| H A D | xirc2ps_cs.c | 980 unsigned int_status, eth_status, rx_status, tx_status; in xirc2ps_interrupt() local 1013 tx_status = GetByte(XIRCREG40_TXST0); in xirc2ps_interrupt() 1014 tx_status |= GetByte(XIRCREG40_TXST1) << 8; in xirc2ps_interrupt() 1019 dev->name, int_status, eth_status, rx_status, tx_status); in xirc2ps_interrupt() 1145 if (tx_status & 0x0002) { /* Excessive collisions */ in xirc2ps_interrupt() 1149 if (tx_status & 0x0040) in xirc2ps_interrupt()
|
| /linux/drivers/input/keyboard/ |
| H A D | applespi.c | 377 u8 *tx_status; member 600 st_t->rx_buf = applespi->tx_status; in applespi_setup_write_txfrs() 630 if (memcmp(applespi->tx_status, status_ok, APPLESPI_STATUS_SIZE)) { in applespi_check_write_status() 632 APPLESPI_STATUS_SIZE, applespi->tx_status); in applespi_check_write_status() 745 applespi->tx_status, in applespi_async_write_complete() 1639 applespi->tx_status = devm_kmalloc(&spi->dev, APPLESPI_STATUS_SIZE, in applespi_probe() 1647 if (!applespi->tx_buffer || !applespi->tx_status || in applespi_probe()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/ |
| H A D | core.c | 176 goto tx_status; in brcmf_cyw_mgmt_tx() 189 tx_status: in brcmf_cyw_mgmt_tx()
|
| /linux/drivers/net/ethernet/smsc/ |
| H A D | smc91x.c | 699 unsigned int saved_packet, packet_no, tx_status; in smc_tx() local 717 SMC_GET_PKT_HDR(lp, tx_status, pkt_len); in smc_tx() 719 tx_status, packet_no); in smc_tx() 721 if (!(tx_status & ES_TX_SUC)) in smc_tx() 724 if (tx_status & ES_LOSTCARR) in smc_tx() 727 if (tx_status & (ES_LATCOL | ES_16COL)) { in smc_tx() 729 (tx_status & ES_LATCOL) ? in smc_tx()
|