Home
last modified time | relevance | path

Searched refs:rxs (Results 1 – 22 of 22) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Dar9003_mac.c433 int ath9k_hw_process_rxdesc_edma(struct ath_hw *ah, struct ath_rx_status *rxs, in ath9k_hw_process_rxdesc_edma() argument
448 rxs->rs_status = 0; in ath9k_hw_process_rxdesc_edma()
449 rxs->rs_flags = 0; in ath9k_hw_process_rxdesc_edma()
451 rxs->rs_datalen = rxsp->status2 & AR_DataLen; in ath9k_hw_process_rxdesc_edma()
452 rxs->rs_tstamp = rxsp->status3; in ath9k_hw_process_rxdesc_edma()
455 rxs->rs_rssi = MS(rxsp->status5, AR_RxRSSICombined); in ath9k_hw_process_rxdesc_edma()
456 rxs->rs_rssi_ctl0 = MS(rxsp->status1, AR_RxRSSIAnt00); in ath9k_hw_process_rxdesc_edma()
457 rxs->rs_rssi_ctl1 = MS(rxsp->status1, AR_RxRSSIAnt01); in ath9k_hw_process_rxdesc_edma()
458 rxs->rs_rssi_ctl2 = MS(rxsp->status1, AR_RxRSSIAnt02); in ath9k_hw_process_rxdesc_edma()
459 rxs->rs_rssi_ext0 = MS(rxsp->status5, AR_RxRSSIAnt10); in ath9k_hw_process_rxdesc_edma()
[all …]
Drecv.c809 struct ieee80211_rx_status *rxs, in ath9k_rx_accept() argument
867 rxs->flag |= RX_FLAG_FAILED_FCS_CRC; in ath9k_rx_accept()
901 rxs->flag |= RX_FLAG_MMIC_STRIPPED; in ath9k_rx_accept()
903 rxs->flag |= RX_FLAG_MMIC_ERROR; in ath9k_rx_accept()
911 struct ieee80211_rx_status *rxs) in ath9k_process_rate() argument
922 rxs->flag |= RX_FLAG_HT; in ath9k_process_rate()
924 rxs->flag |= RX_FLAG_40MHZ; in ath9k_process_rate()
926 rxs->flag |= RX_FLAG_SHORT_GI; in ath9k_process_rate()
927 rxs->rate_idx = rx_stats->rs_rate & 0x7f; in ath9k_process_rate()
933 rxs->rate_idx = i; in ath9k_process_rate()
[all …]
Dhtc_drv_debug.c246 struct ath_htc_rx_status *rxs) in ath9k_htc_err_stat_rx() argument
250 if (rxs->rs_status & ATH9K_RXERR_CRC) in ath9k_htc_err_stat_rx()
252 if (rxs->rs_status & ATH9K_RXERR_DECRYPT) in ath9k_htc_err_stat_rx()
254 if (rxs->rs_status & ATH9K_RXERR_MIC) in ath9k_htc_err_stat_rx()
256 if (rxs->rs_status & ATH9K_RX_DELIM_CRC_PRE) in ath9k_htc_err_stat_rx()
258 if (rxs->rs_status & ATH9K_RX_DELIM_CRC_POST) in ath9k_htc_err_stat_rx()
260 if (rxs->rs_status & ATH9K_RX_DECRYPT_BUSY) in ath9k_htc_err_stat_rx()
263 if (rxs->rs_status & ATH9K_RXERR_PHY) { in ath9k_htc_err_stat_rx()
265 if (rxs->rs_phyerr < ATH9K_PHYERR_MAX) in ath9k_htc_err_stat_rx()
266 RX_PHY_ERR_INC(rxs->rs_phyerr); in ath9k_htc_err_stat_rx()
Dhtc_drv_txrx.c934 struct ieee80211_rx_status *rxs, in ath9k_process_rate() argument
943 rxs->flag |= RX_FLAG_HT; in ath9k_process_rate()
945 rxs->flag |= RX_FLAG_40MHZ; in ath9k_process_rate()
947 rxs->flag |= RX_FLAG_SHORT_GI; in ath9k_process_rate()
948 rxs->rate_idx = rx_rate & 0x7f; in ath9k_process_rate()
957 rxs->rate_idx = i; in ath9k_process_rate()
961 rxs->rate_idx = i; in ath9k_process_rate()
962 rxs->flag |= RX_FLAG_SHORTPRE; in ath9k_process_rate()
Dar9003_mac.h117 struct ath_rx_status *rxs,
Dhtc.h325 struct ath_htc_rx_status *rxs);
366 struct ath_htc_rx_status *rxs) in ath9k_htc_err_stat_rx() argument
/drivers/tty/serial/
D21285.c89 unsigned int status, ch, flag, rxs, max_count = 256; in serial21285_rx_chars() local
97 rxs = *CSR_RXSTAT | RXSTAT_DUMMY_READ; in serial21285_rx_chars()
98 if (unlikely(rxs & RXSTAT_ANYERR)) { in serial21285_rx_chars()
99 if (rxs & RXSTAT_PARITY) in serial21285_rx_chars()
101 else if (rxs & RXSTAT_FRAME) in serial21285_rx_chars()
103 if (rxs & RXSTAT_OVERRUN) in serial21285_rx_chars()
106 rxs &= port->read_status_mask; in serial21285_rx_chars()
108 if (rxs & RXSTAT_PARITY) in serial21285_rx_chars()
110 else if (rxs & RXSTAT_FRAME) in serial21285_rx_chars()
114 uart_insert_char(port, rxs, RXSTAT_OVERRUN, ch, flag); in serial21285_rx_chars()
/drivers/net/wan/
Dpci200syn.c79 u8 rxs, txs, tmc; /* SCA registers */ member
124 u8 rxs = port->rxs & CLK_BRG_MASK; in pci200_set_iface() local
131 rxs |= CLK_BRG; /* BRG output */ in pci200_set_iface()
136 rxs |= CLK_LINE; /* RXC input */ in pci200_set_iface()
141 rxs |= CLK_LINE; /* RXC input */ in pci200_set_iface()
146 rxs |= CLK_LINE; /* RXC input */ in pci200_set_iface()
151 port->rxs = rxs; in pci200_set_iface()
153 sca_out(rxs, msci + RXS, card); in pci200_set_iface()
Dc101.c74 u8 rxs, txs, tmc; /* SCA registers */ member
155 u8 rxs = port->rxs & CLK_BRG_MASK; in c101_set_iface() local
160 rxs |= CLK_BRG_RX; /* TX clock */ in c101_set_iface()
165 rxs |= CLK_LINE_RX; /* RXC input */ in c101_set_iface()
170 rxs |= CLK_LINE_RX; /* RXC input */ in c101_set_iface()
175 rxs |= CLK_LINE_RX; /* RXC input */ in c101_set_iface()
179 port->rxs = rxs; in c101_set_iface()
181 sca_out(rxs, MSCI1_OFFSET + RXS, port); in c101_set_iface()
Dn2.c109 u8 rxs, txs, tmc; /* SCA registers */ member
173 u8 rxs = port->rxs & CLK_BRG_MASK; in n2_set_iface() local
179 rxs |= CLK_BRG_RX; /* BRG output */ in n2_set_iface()
185 rxs |= CLK_LINE_RX; /* RXC input */ in n2_set_iface()
191 rxs |= CLK_LINE_RX; /* RXC input */ in n2_set_iface()
197 rxs |= CLK_LINE_RX; /* RXC input */ in n2_set_iface()
202 port->rxs = rxs; in n2_set_iface()
204 sca_out(rxs, msci + RXS, card); in n2_set_iface()
Dpc300too.c92 u8 rxs, txs, tmc; /* SCA registers */ member
125 u8 rxs = port->rxs & CLK_BRG_MASK; in pc300_set_iface() local
132 rxs |= CLK_BRG; /* BRG output */ in pc300_set_iface()
137 rxs |= CLK_LINE; /* RXC input */ in pc300_set_iface()
142 rxs |= CLK_LINE; /* RXC input */ in pc300_set_iface()
147 rxs |= CLK_LINE; /* RXC input */ in pc300_set_iface()
152 port->rxs = rxs; in pc300_set_iface()
154 sca_out(rxs, msci + RXS, card); in pc300_set_iface()
Dhd64572.c403 port->rxs = (port->rxs & ~CLK_BRG_MASK) | br; in sca_set_port()
412 sca_out(port->rxs, msci + RXS, card); in sca_set_port()
472 sca_out(port->rxs, msci + RXS, card); in sca_open()
Dhd64570.c440 port->rxs = (port->rxs & ~CLK_BRG_MASK) | br; in sca_set_port()
448 sca_out(port->rxs, msci + RXS, card); in sca_set_port()
516 sca_out(port->rxs, msci + RXS, card); in sca_open()
/drivers/spi/
Dspi-dw-mid.c48 struct intel_mid_dma_slave *rxs, *txs; in mid_spi_dma_init() local
66 rxs = &dw_dma->dmas_rx; in mid_spi_dma_init()
67 rxs->hs_mode = LNW_DMA_HW_HS; in mid_spi_dma_init()
68 rxs->cfg_mode = LNW_DMA_PER_TO_MEM; in mid_spi_dma_init()
69 dws->rxchan->private = rxs; in mid_spi_dma_init()
/drivers/net/wireless/ath/ath5k/
Dbase.c1162 struct ieee80211_rx_status *rxs) in ath5k_check_ibss_tsf() argument
1184 (unsigned long long)rxs->mactime, in ath5k_check_ibss_tsf()
1185 (unsigned long long)(rxs->mactime - bc_tstamp), in ath5k_check_ibss_tsf()
1199 if (bc_tstamp > rxs->mactime) { in ath5k_check_ibss_tsf()
1202 (unsigned long long)rxs->mactime, in ath5k_check_ibss_tsf()
1204 rxs->mactime = tsf; in ath5k_check_ibss_tsf()
1315 struct ieee80211_rx_status *rxs; in ath5k_receive_frame() local
1319 rxs = IEEE80211_SKB_RXCB(skb); in ath5k_receive_frame()
1321 rxs->flag = 0; in ath5k_receive_frame()
1323 rxs->flag |= RX_FLAG_MMIC_ERROR; in ath5k_receive_frame()
[all …]
/drivers/net/irda/
Ddonauboe.c521 self->rxs = inb_p (OBOE_RXSLOT) & OBOE_SLOT_MASK; in toshoboe_resetptrs()
1221 while (!(self->ring->rx[self->rxs].control & OBOE_CTL_RX_HW_OWNS)) in toshoboe_interrupt()
1223 int len = self->ring->rx[self->rxs].len; in toshoboe_interrupt()
1226 ,len,self->ring->rx[self->rxs].control); in toshoboe_interrupt()
1229 dumpbufs(self->rx_bufs[self->rxs],len,'<'); in toshoboe_interrupt()
1232 if (self->ring->rx[self->rxs].control == 0) in toshoboe_interrupt()
1240 if (!toshoboe_checkfcs (self->rx_bufs[self->rxs], len)) in toshoboe_interrupt()
1279 skb_copy_to_linear_data(skb, self->rx_bufs[self->rxs], in toshoboe_interrupt()
1303 ,len,self->ring->rx[self->rxs].control); in toshoboe_interrupt()
1306 self->ring->rx[self->rxs].len = 0x0; in toshoboe_interrupt()
[all …]
Ddonauboe.h325 int txs, rxs; /*Which slots are we at */ member
/drivers/net/wireless/brcm80211/brcmsmac/
Dd11.h1502 #define HTPHY_MMPLCPLen(rxs) \ argument
1503 ((((rxs)->PhyRxStatus_1 & PRXS1_HTPHY_MMPLCPLenL_MASK) >> 8) | \
1504 (((rxs)->PhyRxStatus_2 & PRXS2_HTPHY_MMPLCPLenH_MASK) << 8))
1506 #define HTPHY_RXPWR_ANT0(rxs) \ argument
1507 ((((rxs)->PhyRxStatus_2) & PRXS2_HTPHY_RXPWR_ANT0) >> 8)
1509 #define HTPHY_RXPWR_ANT1(rxs) \ argument
1510 (((rxs)->PhyRxStatus_3) & PRXS3_HTPHY_RXPWR_ANT1)
1512 #define HTPHY_RXPWR_ANT2(rxs) \ argument
1513 ((((rxs)->PhyRxStatus_3) & PRXS3_HTPHY_RXPWR_ANT2) >> 8)
/drivers/atm/
Dambassador.c302 static unsigned int rxs[NUM_RX_POOLS] = { 64, 64, 64, 64 }; variable
1511 unsigned int txs, unsigned int * rxs, in create_queues() argument
1525 total += rxs[pool] * (sizeof(rx_in) + sizeof(rx_out)); in create_queues()
1596 rxq->low = rxs[pool] - 1; in create_queues()
1598 rxq->maximum = rxs[pool] - 1; in create_queues()
1602 rxq->in.limit = in + rxs[pool]; in create_queues()
1609 rxq->out.limit = out + rxs[pool]; in create_queues()
2108 } else if (create_queues (dev, cmds, txs, rxs, rxs_bs)) { in amb_init()
2327 if (rxs[pool] < MIN_QUEUE_SIZE) in amb_check_args()
2329 pool, rxs[pool] = MIN_QUEUE_SIZE); in amb_check_args()
[all …]
/drivers/net/ethernet/intel/
De100.c572 struct rx *rxs ____cacheline_aligned;
1899 if (!nic->rxs) return; in e100_start_receiver()
1903 if (!rx) rx = nic->rxs; in e100_start_receiver()
2126 if (nic->rxs) { in e100_rx_clean_list()
2127 for (rx = nic->rxs, i = 0; i < count; rx++, i++) { in e100_rx_clean_list()
2134 kfree(nic->rxs); in e100_rx_clean_list()
2135 nic->rxs = NULL; in e100_rx_clean_list()
2150 if (!(nic->rxs = kcalloc(count, sizeof(struct rx), GFP_ATOMIC))) in e100_rx_alloc_list()
2153 for (rx = nic->rxs, i = 0; i < count; rx++, i++) { in e100_rx_alloc_list()
2154 rx->next = (i + 1 < count) ? rx + 1 : nic->rxs; in e100_rx_alloc_list()
[all …]
/drivers/net/
Dxen-netfront.c1483 struct xen_netif_rx_sring *rxs; in setup_netfront() local
1515 rxs = (struct xen_netif_rx_sring *)get_zeroed_page(GFP_NOIO | __GFP_HIGH); in setup_netfront()
1516 if (!rxs) { in setup_netfront()
1521 SHARED_RING_INIT(rxs); in setup_netfront()
1522 FRONT_RING_INIT(&info->rx, rxs, PAGE_SIZE); in setup_netfront()
1524 err = xenbus_grant_ring(dev, virt_to_mfn(rxs)); in setup_netfront()
1526 free_page((unsigned long)rxs); in setup_netfront()
/drivers/net/xen-netback/
Dnetback.c1628 struct xen_netif_rx_sring *rxs; in xen_netbk_map_frontend_rings() local
1645 rxs = (struct xen_netif_rx_sring *)addr; in xen_netbk_map_frontend_rings()
1646 BACK_RING_INIT(&vif->rx, rxs, PAGE_SIZE); in xen_netbk_map_frontend_rings()