Home
last modified time | relevance | path

Searched refs:rxdesc (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/
A Drx.h18 le32_get_bits(*((__le32 *)(rxdesc) + 0x00), BIT(26))
20 le32_get_bits(*((__le32 *)(rxdesc) + 0x00), BIT(15))
22 le32_get_bits(*((__le32 *)(rxdesc) + 0x00), BIT(14))
24 le32_get_bits(*((__le32 *)(rxdesc) + 0x00), BIT(27))
26 le32_get_bits(*((__le32 *)(rxdesc) + 0x02), BIT(28))
28 le32_get_bits(*((__le32 *)(rxdesc) + 0x00), GENMASK(13, 0))
30 le32_get_bits(*((__le32 *)(rxdesc) + 0x00), GENMASK(19, 16))
32 le32_get_bits(*((__le32 *)(rxdesc) + 0x00), GENMASK(25, 24))
36 le32_get_bits(*((__le32 *)(rxdesc) + 0x03), GENMASK(6, 0))
38 le32_get_bits(*((__le32 *)(rxdesc) + 0x01), GENMASK(6, 0))
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/
A Dtxrx.h199 #define RTW89_GET_RXWD_BB_SEL(rxdesc) \ argument
203 #define RTW89_GET_RXWD_SHIFT(rxdesc) \ argument
207 #define RTW89_GET_RXWD_BW(rxdesc) \ argument
209 #define RTW89_GET_RXWD_BW_V1(rxdesc) \ argument
211 #define RTW89_GET_RXWD_GI_LTF(rxdesc) \ argument
217 #define RTW89_GET_RXWD_SR_EN(rxdesc) \ argument
229 #define RTW89_GET_RXWD_HW_DEC(rxdesc) \ argument
231 #define RTW89_GET_RXWD_SW_DEC(rxdesc) \ argument
237 #define RTW89_GET_RXWD_FRAG(rxdesc) \ argument
239 #define RTW89_GET_RXWD_SEQ(rxdesc) \ argument
[all …]
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/
A Drt2x00crypto.c146 struct rxdone_entry_desc *rxdesc) in rt2x00crypto_rx_insert_iv() argument
148 unsigned int payload_len = rxdesc->size - header_length; in rt2x00crypto_rx_insert_iv()
159 switch (rxdesc->cipher) { in rt2x00crypto_rx_insert_iv()
189 if (rxdesc->dev_flags & RXDONE_L2PAD) { in rt2x00crypto_rx_insert_iv()
203 skb_trim(skb, rxdesc->size + iv_len + icv_len); in rt2x00crypto_rx_insert_iv()
213 memcpy(skb->data + transfer, rxdesc->iv, iv_len); in rt2x00crypto_rx_insert_iv()
220 if (!(rxdesc->dev_flags & RXDONE_L2PAD)) { in rt2x00crypto_rx_insert_iv()
239 memcpy(skb->data + transfer, &rxdesc->icv, 4); in rt2x00crypto_rx_insert_iv()
243 rxdesc->size = transfer; in rt2x00crypto_rx_insert_iv()
244 rxdesc->flags &= ~RX_FLAG_IV_STRIPPED; in rt2x00crypto_rx_insert_iv()
A Drt2x00dev.c696 int signal = rxdesc->signal; in rt2x00lib_rxdone_read_signal()
699 switch (rxdesc->rate_mode) { in rt2x00lib_rxdone_read_signal()
739 struct rxdone_entry_desc rxdesc; in rt2x00lib_rxdone() local
768 memset(&rxdesc, 0, sizeof(rxdesc)); in rt2x00lib_rxdone()
775 if (unlikely(rxdesc.size == 0 || in rt2x00lib_rxdone()
798 &rxdesc); in rt2x00lib_rxdone()
800 (rxdesc.size > header_length) && in rt2x00lib_rxdone()
813 rxdesc.encoding = RX_ENC_HT; in rt2x00lib_rxdone()
851 rx_status->signal = rxdesc.rssi; in rt2x00lib_rxdone()
852 rx_status->flag = rxdesc.flags; in rt2x00lib_rxdone()
[all …]
A Drt2800mmio.c125 struct rxdone_entry_desc *rxdesc) in rt2800mmio_fill_rxdone() argument
134 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; in rt2800mmio_fill_rxdone()
150 rxdesc->flags |= RX_FLAG_IV_STRIPPED; in rt2800mmio_fill_rxdone()
156 rxdesc->flags |= RX_FLAG_MMIC_STRIPPED; in rt2800mmio_fill_rxdone()
158 if (rxdesc->cipher_status == RX_CRYPTO_SUCCESS) { in rt2800mmio_fill_rxdone()
159 rxdesc->flags |= RX_FLAG_DECRYPTED; in rt2800mmio_fill_rxdone()
167 rxdesc->flags |= RX_FLAG_DECRYPTED; in rt2800mmio_fill_rxdone()
169 rxdesc->flags |= RX_FLAG_MMIC_ERROR; in rt2800mmio_fill_rxdone()
174 rxdesc->dev_flags |= RXDONE_MY_BSS; in rt2800mmio_fill_rxdone()
177 rxdesc->dev_flags |= RXDONE_L2PAD; in rt2800mmio_fill_rxdone()
[all …]
A Drt2x00lib.h202 struct rxdone_entry_desc *rxdesc);
295 struct rxdone_entry_desc *rxdesc);
306 struct rxdone_entry_desc *rxdesc) in rt2x00debug_update_crypto() argument
328 struct rxdone_entry_desc *rxdesc);
364 struct rxdone_entry_desc *rxdesc) in rt2x00crypto_rx_insert_iv() argument
A Drt2800usb.c482 struct rxdone_entry_desc *rxdesc) in rt2800usb_fill_rxdone() argument
528 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; in rt2800usb_fill_rxdone()
539 rxdesc->flags |= RX_FLAG_IV_STRIPPED; in rt2800usb_fill_rxdone()
545 rxdesc->flags |= RX_FLAG_MMIC_STRIPPED; in rt2800usb_fill_rxdone()
547 if (rxdesc->cipher_status == RX_CRYPTO_SUCCESS) { in rt2800usb_fill_rxdone()
548 rxdesc->flags |= RX_FLAG_DECRYPTED; in rt2800usb_fill_rxdone()
556 rxdesc->flags |= RX_FLAG_DECRYPTED; in rt2800usb_fill_rxdone()
558 rxdesc->flags |= RX_FLAG_MMIC_ERROR; in rt2800usb_fill_rxdone()
563 rxdesc->dev_flags |= RXDONE_MY_BSS; in rt2800usb_fill_rxdone()
566 rxdesc->dev_flags |= RXDONE_L2PAD; in rt2800usb_fill_rxdone()
[all …]
A Drt2500usb.c1217 struct rxdone_entry_desc *rxdesc) in rt2500usb_fill_rxdone() argument
1243 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; in rt2500usb_fill_rxdone()
1251 if (rxdesc->cipher != CIPHER_NONE) { in rt2500usb_fill_rxdone()
1254 rxdesc->dev_flags |= RXDONE_CRYPTO_IV; in rt2500usb_fill_rxdone()
1258 rxdesc->flags |= RX_FLAG_MMIC_STRIPPED; in rt2500usb_fill_rxdone()
1260 rxdesc->flags |= RX_FLAG_DECRYPTED; in rt2500usb_fill_rxdone()
1262 rxdesc->flags |= RX_FLAG_MMIC_ERROR; in rt2500usb_fill_rxdone()
1272 rxdesc->rssi = in rt2500usb_fill_rxdone()
1277 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP; in rt2500usb_fill_rxdone()
1281 rxdesc->dev_flags |= RXDONE_MY_BSS; in rt2500usb_fill_rxdone()
[all …]
A Drt73usb.c1668 struct rxdone_entry_desc *rxdesc) in rt73usb_fill_rxdone() argument
1690 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; in rt73usb_fill_rxdone()
1695 if (rxdesc->cipher != CIPHER_NONE) { in rt73usb_fill_rxdone()
1698 rxdesc->dev_flags |= RXDONE_CRYPTO_IV; in rt73usb_fill_rxdone()
1701 rxdesc->dev_flags |= RXDONE_CRYPTO_ICV; in rt73usb_fill_rxdone()
1708 rxdesc->flags |= RX_FLAG_IV_STRIPPED; in rt73usb_fill_rxdone()
1714 rxdesc->flags |= RX_FLAG_MMIC_STRIPPED; in rt73usb_fill_rxdone()
1717 rxdesc->flags |= RX_FLAG_DECRYPTED; in rt73usb_fill_rxdone()
1719 rxdesc->flags |= RX_FLAG_MMIC_ERROR; in rt73usb_fill_rxdone()
1737 rxdesc->dev_flags |= RXDONE_MY_BSS; in rt73usb_fill_rxdone()
[all …]
A Drt2x00link.c181 struct rxdone_entry_desc *rxdesc) in rt2x00link_update_stats() argument
206 !(rxdesc->dev_flags & RXDONE_MY_BSS)) in rt2x00link_update_stats()
212 ewma_rssi_add(&link->avg_rssi, -rxdesc->rssi); in rt2x00link_update_stats()
217 ewma_rssi_add(&ant->rssi_ant, -rxdesc->rssi); in rt2x00link_update_stats()
A Drt61pci.c1995 struct rxdone_entry_desc *rxdesc) in rt61pci_fill_rxdone() argument
2006 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; in rt61pci_fill_rxdone()
2011 if (rxdesc->cipher != CIPHER_NONE) { in rt61pci_fill_rxdone()
2014 rxdesc->dev_flags |= RXDONE_CRYPTO_IV; in rt61pci_fill_rxdone()
2017 rxdesc->dev_flags |= RXDONE_CRYPTO_ICV; in rt61pci_fill_rxdone()
2024 rxdesc->flags |= RX_FLAG_IV_STRIPPED; in rt61pci_fill_rxdone()
2030 rxdesc->flags |= RX_FLAG_MMIC_STRIPPED; in rt61pci_fill_rxdone()
2033 rxdesc->flags |= RX_FLAG_DECRYPTED; in rt61pci_fill_rxdone()
2035 rxdesc->flags |= RX_FLAG_MMIC_ERROR; in rt61pci_fill_rxdone()
2049 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP; in rt61pci_fill_rxdone()
[all …]
A Drt2400pci.c1208 struct rxdone_entry_desc *rxdesc) in rt2400pci_fill_rxdone() argument
1226 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; in rt2400pci_fill_rxdone()
1228 rxdesc->flags |= RX_FLAG_FAILED_PLCP_CRC; in rt2400pci_fill_rxdone()
1251 rxdesc->timestamp = ((u64)rx_high << 32) | rx_low; in rt2400pci_fill_rxdone()
1252 rxdesc->signal = rt2x00_get_field32(word2, RXD_W2_SIGNAL) & ~0x08; in rt2400pci_fill_rxdone()
1253 rxdesc->rssi = rt2x00_get_field32(word3, RXD_W3_RSSI) - in rt2400pci_fill_rxdone()
1255 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); in rt2400pci_fill_rxdone()
1257 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP; in rt2400pci_fill_rxdone()
1259 rxdesc->dev_flags |= RXDONE_MY_BSS; in rt2400pci_fill_rxdone()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
A Dtrx.c343 __le32 *rxdesc; in _rtl_rx_process() local
354 rxdesc = (__le32 *)skb->data; in _rtl_rx_process()
357 pkt_len = get_rx_desc_pkt_len(rxdesc); in _rtl_rx_process()
364 stats.icv = (u16)get_rx_desc_icv(rxdesc); in _rtl_rx_process()
365 stats.crc = (u16)get_rx_desc_crc32(rxdesc); in _rtl_rx_process()
371 (get_rx_desc_faggr(rxdesc) == 1)); in _rtl_rx_process()
379 if (get_rx_desc_crc32(rxdesc)) in _rtl_rx_process()
381 if (!get_rx_desc_swdec(rxdesc)) in _rtl_rx_process()
383 if (get_rx_desc_bw(rxdesc)) in _rtl_rx_process()
385 if (get_rx_desc_rx_ht(rxdesc)) in _rtl_rx_process()
[all …]
/linux-6.3-rc2/drivers/spi/
A Dspi-at91-usart.c222 struct dma_async_tx_descriptor *rxdesc; in at91_usart_spi_dma_transfer() local
229 rxdesc = dmaengine_prep_slave_sg(rxchan, in at91_usart_spi_dma_transfer()
235 if (!rxdesc) in at91_usart_spi_dma_transfer()
247 rxdesc->callback = dma_callback; in at91_usart_spi_dma_transfer()
248 rxdesc->callback_param = ctlr; in at91_usart_spi_dma_transfer()
250 cookie = rxdesc->tx_submit(rxdesc); in at91_usart_spi_dma_transfer()
A Dspi-dw-dma.c403 struct dma_async_tx_descriptor *rxdesc; in dw_spi_dma_submit_rx() local
407 rxdesc = dmaengine_prep_slave_sg(dws->rxchan, sgl, nents, in dw_spi_dma_submit_rx()
410 if (!rxdesc) in dw_spi_dma_submit_rx()
413 rxdesc->callback = dw_spi_dma_rx_done; in dw_spi_dma_submit_rx()
414 rxdesc->callback_param = dws; in dw_spi_dma_submit_rx()
416 cookie = dmaengine_submit(rxdesc); in dw_spi_dma_submit_rx()
A Dspi-sun6i.c195 struct dma_async_tx_descriptor *rxdesc, *txdesc; in sun6i_spi_prepare_dma() local
198 rxdesc = NULL; in sun6i_spi_prepare_dma()
209 rxdesc = dmaengine_prep_slave_sg(master->dma_rx, in sun6i_spi_prepare_dma()
214 if (!rxdesc) in sun6i_spi_prepare_dma()
235 if (rxdesc) in sun6i_spi_prepare_dma()
242 dmaengine_submit(rxdesc); in sun6i_spi_prepare_dma()
A Dspi-rockchip.c448 struct dma_async_tx_descriptor *rxdesc, *txdesc; in rockchip_spi_prepare_dma() local
455 rxdesc = NULL; in rockchip_spi_prepare_dma()
466 rxdesc = dmaengine_prep_slave_sg( in rockchip_spi_prepare_dma()
470 if (!rxdesc) in rockchip_spi_prepare_dma()
473 rxdesc->callback = rockchip_spi_dma_rxcb; in rockchip_spi_prepare_dma()
474 rxdesc->callback_param = ctlr; in rockchip_spi_prepare_dma()
493 if (rxdesc) in rockchip_spi_prepare_dma()
503 if (rxdesc) { in rockchip_spi_prepare_dma()
505 ctlr->dma_rx->cookie = dmaengine_submit(rxdesc); in rockchip_spi_prepare_dma()
A Dspi-uniphier.c393 struct dma_async_tx_descriptor *rxdesc = NULL, *txdesc = NULL; in uniphier_spi_transfer_one_dma() local
417 rxdesc = dmaengine_prep_slave_sg( in uniphier_spi_transfer_one_dma()
421 if (!rxdesc) in uniphier_spi_transfer_one_dma()
424 rxdesc->callback = uniphier_spi_dma_rxcb; in uniphier_spi_transfer_one_dma()
425 rxdesc->callback_param = master; in uniphier_spi_transfer_one_dma()
430 dmaengine_submit(rxdesc); in uniphier_spi_transfer_one_dma()
465 if (rxdesc) in uniphier_spi_transfer_one_dma()
A Dspi-img-spfi.c311 struct dma_async_tx_descriptor *rxdesc = NULL, *txdesc = NULL; in img_spfi_start_dma() local
330 rxdesc = dmaengine_prep_slave_sg(spfi->rx_ch, xfer->rx_sg.sgl, in img_spfi_start_dma()
334 if (!rxdesc) in img_spfi_start_dma()
337 rxdesc->callback = img_spfi_dma_rx_cb; in img_spfi_start_dma()
338 rxdesc->callback_param = spfi; in img_spfi_start_dma()
367 dmaengine_submit(rxdesc); in img_spfi_start_dma()
A Dspi-davinci.c618 struct dma_async_tx_descriptor *rxdesc; in davinci_spi_bufs() local
624 rxdesc = dmaengine_prep_slave_sg(dspi->dma_rx, in davinci_spi_bufs()
627 if (!rxdesc) in davinci_spi_bufs()
646 rxdesc->callback = davinci_spi_dma_rx_callback; in davinci_spi_bufs()
647 rxdesc->callback_param = (void *)dspi; in davinci_spi_bufs()
654 dmaengine_submit(rxdesc); in davinci_spi_bufs()
/linux-6.3-rc2/drivers/net/ethernet/
A Djme.c708 register struct rxdesc *rxdesc = rxring->desc; in jme_set_clean_rxdesc() local
710 rxdesc += i; in jme_set_clean_rxdesc()
713 rxdesc->dw[0] = 0; in jme_set_clean_rxdesc()
714 rxdesc->dw[1] = 0; in jme_set_clean_rxdesc()
716 rxdesc->desc1.bufaddrl = cpu_to_le32( in jme_set_clean_rxdesc()
720 rxdesc->desc1.flags = RXFLAG_64BIT; in jme_set_clean_rxdesc()
998 struct rxdesc *rxdesc = rxring->desc; in jme_alloc_and_feed_skb() local
1003 rxdesc += idx; in jme_alloc_and_feed_skb()
1052 struct rxdesc *rxdesc; in jme_process_receive() local
1066 rxdesc = rxring->desc; in jme_process_receive()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/renesas/
A Dsh_eth.c1286 le32_to_cpu(rxdesc->addr), in sh_eth_ring_free()
1360 rxdesc = &mdp->rx_ring[i]; in sh_eth_ring_format()
1376 if (rxdesc) in sh_eth_ring_format()
1589 struct sh_eth_rxdesc *rxdesc; in sh_eth_rx() local
1603 rxdesc = &mdp->rx_ring[entry]; in sh_eth_rx()
1668 rxdesc = &mdp->rx_ring[entry]; in sh_eth_rx()
1674 rxdesc = &mdp->rx_ring[entry]; in sh_eth_rx()
1697 rxdesc->status |= in sh_eth_rx()
2462 struct sh_eth_rxdesc *rxdesc; in sh_eth_tx_timeout() local
2476 rxdesc = &mdp->rx_ring[i]; in sh_eth_tx_timeout()
[all …]
/linux-6.3-rc2/drivers/net/wireless/intersil/hostap/
A Dhostap_hw.c1921 struct hfa384x_rx_frame rxdesc; in prism2_rx() local
1943 res = hfa384x_from_bap(dev, BAP0, &rxdesc, sizeof(rxdesc)); in prism2_rx()
1955 len = le16_to_cpu(rxdesc.data_len); in prism2_rx()
1956 hdr_len = sizeof(rxdesc); in prism2_rx()
1957 status = le16_to_cpu(rxdesc.status); in prism2_rx()
2021 struct hfa384x_rx_frame *rxdesc; in hostap_rx_skb() local
2026 rx_hdrlen = sizeof(*rxdesc); in hostap_rx_skb()
2027 if (skb->len < sizeof(*rxdesc)) { in hostap_rx_skb()
2041 skb->len >= sizeof(*rxdesc)) in hostap_rx_skb()
2058 stats.rate = rxdesc->rate; in hostap_rx_skb()
[all …]
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-at91-master.c336 struct dma_async_tx_descriptor *rxdesc; in at91_twi_read_data_dma() local
370 rxdesc = dmaengine_prep_slave_sg(chan_rx, dma->sg, 1, DMA_DEV_TO_MEM, in at91_twi_read_data_dma()
372 if (!rxdesc) { in at91_twi_read_data_dma()
377 rxdesc->callback = at91_twi_read_data_dma_callback; in at91_twi_read_data_dma()
378 rxdesc->callback_param = dev; in at91_twi_read_data_dma()
381 dmaengine_submit(rxdesc); in at91_twi_read_data_dma()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dtrace.h116 __dynamic_array(u8, rxdesc, len)
132 memcpy(__get_dynamic_array(rxdesc), data, len);

Completed in 64 milliseconds

12