| /linux/drivers/net/wireless/realtek/rtw88/ |
| A D | tx.h | 13 le32p_replace_bits((__le32 *)(txdesc) + 0x00, value, GENMASK(15, 0)) 21 le32p_replace_bits((__le32 *)(txdesc) + 0x00, value, BIT(24)) 27 le32p_replace_bits((__le32 *)(txdesc) + 0x03, value, BIT(10)) 29 le32p_replace_bits((__le32 *)(txdesc) + 0x03, value, BIT(8)) 39 le32p_replace_bits((__le32 *)(txdesc) + 0x03, value, BIT(12)) 43 le32p_replace_bits((__le32 *)(txdesc) + 0x05, value, BIT(12)) 49 le32p_replace_bits((__le32 *)(txdesc) + 0x05, value, BIT(7)) 54 #define SET_TX_DESC_DATA_SHORT(txdesc, value) \ argument 55 le32p_replace_bits((__le32 *)(txdesc) + 0x05, value, BIT(4)) 66 #define SET_TX_DESC_NAVUSEHDR(txdesc, value) \ argument [all …]
|
| A D | tx.c | 37 __le32 *txdesc = (__le32 *)skb->data; in rtw_tx_fill_tx_desc() local 40 SET_TX_DESC_OFFSET(txdesc, pkt_info->offset); in rtw_tx_fill_tx_desc() 42 SET_TX_DESC_QSEL(txdesc, pkt_info->qsel); in rtw_tx_fill_tx_desc() 43 SET_TX_DESC_BMC(txdesc, pkt_info->bmc); in rtw_tx_fill_tx_desc() 45 SET_TX_DESC_DATARATE(txdesc, pkt_info->rate); in rtw_tx_fill_tx_desc() 49 SET_TX_DESC_DATA_BW(txdesc, pkt_info->bw); in rtw_tx_fill_tx_desc() 50 SET_TX_DESC_SW_SEQ(txdesc, pkt_info->seq); in rtw_tx_fill_tx_desc() 56 SET_TX_DESC_LS(txdesc, pkt_info->ls); in rtw_tx_fill_tx_desc() 60 SET_TX_DESC_USE_RTS(txdesc, pkt_info->rts); in rtw_tx_fill_tx_desc() 62 SET_TX_DESC_RTSRATE(txdesc, DESC_RATE24M); in rtw_tx_fill_tx_desc() [all …]
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| A D | rt2x00crypto.c | 37 struct txentry_desc *txdesc) in rt2x00crypto_create_tx_descriptor() argument 52 txdesc->key_idx = hw_key->hw_key_idx; in rt2x00crypto_create_tx_descriptor() 53 txdesc->iv_offset = txdesc->header_length; in rt2x00crypto_create_tx_descriptor() 54 txdesc->iv_len = hw_key->iv_len; in rt2x00crypto_create_tx_descriptor() 95 if (unlikely(!txdesc->iv_len)) in rt2x00crypto_tx_copy_iv() 99 memcpy(skbdesc->iv, skb->data + txdesc->iv_offset, txdesc->iv_len); in rt2x00crypto_tx_copy_iv() 106 if (unlikely(!txdesc->iv_len)) in rt2x00crypto_tx_remove_iv() 110 memcpy(skbdesc->iv, skb->data + txdesc->iv_offset, txdesc->iv_len); in rt2x00crypto_tx_remove_iv() 113 memmove(skb->data + txdesc->iv_len, skb->data, txdesc->iv_offset); in rt2x00crypto_tx_remove_iv() 116 skb_pull(skb, txdesc->iv_len); in rt2x00crypto_tx_remove_iv() [all …]
|
| A D | rt2x00queue.c | 246 txdesc->u.plcp.ifs = IFS_SIFS; in rt2x00queue_create_tx_descriptor_plcp() 257 txdesc->u.plcp.service = 0x04; in rt2x00queue_create_tx_descriptor_plcp() 287 txdesc->u.plcp.signal |= 0x08; in rt2x00queue_create_tx_descriptor_plcp() 314 txdesc->u.ht.mcs = txrate->idx; in rt2x00queue_create_tx_descriptor_ht() 326 txdesc->u.ht.mcs |= 0x08; in rt2x00queue_create_tx_descriptor_ht() 343 txdesc->u.ht.stbc = 1; in rt2x00queue_create_tx_descriptor_ht() 379 txdesc->u.ht.txop = TXOP_SIFS; in rt2x00queue_create_tx_descriptor_ht() 395 memset(txdesc, 0, sizeof(*txdesc)); in rt2x00queue_create_tx_descriptor() 400 txdesc->length = skb->len; in rt2x00queue_create_tx_descriptor() 607 struct txentry_desc txdesc; in rt2x00queue_write_tx_frame() local [all …]
|
| A D | rt2x00lib.h | 318 struct txentry_desc *txdesc); 322 struct txentry_desc *txdesc); 324 struct txentry_desc *txdesc); 337 struct txentry_desc *txdesc) in rt2x00crypto_create_tx_descriptor() argument 348 struct txentry_desc *txdesc) in rt2x00crypto_tx_copy_iv() argument 353 struct txentry_desc *txdesc) in rt2x00crypto_tx_remove_iv() argument
|
| A D | rt2x00dev.c | 307 struct txdone_entry_desc *txdesc, in rt2x00lib_fill_tx_status() argument 316 (txdesc->retry + 1) : 1; in rt2x00lib_fill_tx_status() 367 if (test_bit(TXDONE_AMPDU, &txdesc->flags) || in rt2x00lib_fill_tx_status() 410 struct txdone_entry_desc *txdesc) in rt2x00lib_txdone_nomatch() argument 440 test_bit(TXDONE_SUCCESS, &txdesc->flags); in rt2x00lib_txdone_nomatch() 460 struct txdone_entry_desc *txdesc) in rt2x00lib_txdone() argument 549 struct txdone_entry_desc txdesc; in rt2x00lib_txdone_noinfo() local 551 txdesc.flags = 0; in rt2x00lib_txdone_noinfo() 552 __set_bit(status, &txdesc.flags); in rt2x00lib_txdone_noinfo() 553 txdesc.retry = 0; in rt2x00lib_txdone_noinfo() [all …]
|
| A D | rt2400pci.c | 1095 struct txentry_desc *txdesc) in rt2400pci_write_tx_desc() argument 1125 txdesc->u.plcp.length_low); in rt2400pci_write_tx_desc() 1129 txdesc->u.plcp.length_high); in rt2400pci_write_tx_desc() 1145 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); in rt2400pci_write_tx_desc() 1166 struct txentry_desc *txdesc) in rt2400pci_write_beacon() argument 1190 rt2400pci_write_tx_desc(entry, txdesc); in rt2400pci_write_beacon() 1271 struct txdone_entry_desc txdesc; in rt2400pci_txdone() local 1286 txdesc.flags = 0; in rt2400pci_txdone() 1290 __set_bit(TXDONE_SUCCESS, &txdesc.flags); in rt2400pci_txdone() 1296 __set_bit(TXDONE_FAILURE, &txdesc.flags); in rt2400pci_txdone() [all …]
|
| A D | rt61pci.c | 1776 struct txentry_desc *txdesc) in rt61pci_write_tx_desc() argument 1801 txdesc->u.plcp.length_low); in rt61pci_write_tx_desc() 1803 txdesc->u.plcp.length_high); in rt61pci_write_tx_desc() 1827 txdesc->length); in rt61pci_write_tx_desc() 1873 struct txentry_desc *txdesc) in rt61pci_write_beacon() argument 1893 rt61pci_write_tx_desc(entry, txdesc); in rt61pci_write_beacon() 2065 struct txdone_entry_desc txdesc; in rt61pci_txdone() local 2126 txdesc.flags = 0; in rt61pci_txdone() 2129 __set_bit(TXDONE_SUCCESS, &txdesc.flags); in rt61pci_txdone() 2143 if (txdesc.retry) in rt61pci_txdone() [all …]
|
| A D | rt2500usb.c | 1057 struct txentry_desc *txdesc) in rt2500usb_write_tx_desc() argument 1069 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); in rt2500usb_write_tx_desc() 1071 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); in rt2500usb_write_tx_desc() 1073 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); in rt2500usb_write_tx_desc() 1075 (txdesc->rate_mode == RATE_MODE_OFDM)); in rt2500usb_write_tx_desc() 1077 test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)); in rt2500usb_write_tx_desc() 1095 txdesc->u.plcp.length_low); in rt2500usb_write_tx_desc() 1097 txdesc->u.plcp.length_high); in rt2500usb_write_tx_desc() 1100 if (test_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags)) { in rt2500usb_write_tx_desc() 1119 struct txentry_desc *txdesc) in rt2500usb_write_beacon() argument [all …]
|
| A D | rt2500pci.c | 1248 struct txentry_desc *txdesc) in rt2500pci_write_tx_desc() argument 1273 txdesc->u.plcp.length_low); in rt2500pci_write_tx_desc() 1275 txdesc->u.plcp.length_high); in rt2500pci_write_tx_desc() 1298 (txdesc->rate_mode == RATE_MODE_OFDM)); in rt2500pci_write_tx_desc() 1318 struct txentry_desc *txdesc) in rt2500pci_write_beacon() argument 1339 rt2500pci_write_tx_desc(entry, txdesc); in rt2500pci_write_beacon() 1399 struct txdone_entry_desc txdesc; in rt2500pci_txdone() local 1414 txdesc.flags = 0; in rt2500pci_txdone() 1418 __set_bit(TXDONE_SUCCESS, &txdesc.flags); in rt2500pci_txdone() 1424 __set_bit(TXDONE_FAILURE, &txdesc.flags); in rt2500pci_txdone() [all …]
|
| A D | rt73usb.c | 1445 struct txentry_desc *txdesc) in rt73usb_write_tx_desc() argument 1456 test_bit(ENTRY_TXD_BURST, &txdesc->flags)); in rt73usb_write_tx_desc() 1459 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); in rt73usb_write_tx_desc() 1461 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); in rt73usb_write_tx_desc() 1465 (txdesc->rate_mode == RATE_MODE_OFDM)); in rt73usb_write_tx_desc() 1476 test_bit(ENTRY_TXD_BURST, &txdesc->flags)); in rt73usb_write_tx_desc() 1494 txdesc->u.plcp.length_low); in rt73usb_write_tx_desc() 1496 txdesc->u.plcp.length_high); in rt73usb_write_tx_desc() 1499 if (test_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags)) { in rt73usb_write_tx_desc() 1522 struct txentry_desc *txdesc) in rt73usb_write_beacon() argument [all …]
|
| A D | rt2800lib.h | 190 struct txentry_desc *txdesc); 191 void rt2800_process_rxwi(struct queue_entry *entry, struct rxdone_entry_desc *txdesc); 202 void rt2800_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc);
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
| A D | trx.c | 446 set_tx_desc_own(txdesc, 1); in _rtl_fill_usb_tx_desc() 488 __le32 *txdesc; in rtl92cu_tx_fill_desc() local 493 txdesc = (__le32 *)txdesc8; in rtl92cu_tx_fill_desc() 496 set_tx_desc_linip(txdesc, 0); in rtl92cu_tx_fill_desc() 510 set_tx_desc_rts_enable(txdesc, in rtl92cu_tx_fill_desc() 519 set_tx_desc_rts_bw(txdesc, 0); in rtl92cu_tx_fill_desc() 521 set_tx_desc_rts_short(txdesc, in rtl92cu_tx_fill_desc() 565 set_tx_desc_pkt_id(txdesc, 0); in rtl92cu_tx_fill_desc() 576 set_tx_desc_htc(txdesc, 1); in rtl92cu_tx_fill_desc() 591 set_tx_desc_qos(txdesc, 1); in rtl92cu_tx_fill_desc() [all …]
|
| /linux/drivers/staging/rtl8712/ |
| A D | hal_init.c | 166 struct tx_desc *txdesc; in rtl8712_dl_fw() local 186 payload = (u8 *)(txdesc) + txdscp_sz; in rtl8712_dl_fw() 193 memset(txdesc, 0, TXDESC_SIZE); in rtl8712_dl_fw() 198 txdesc->txdw0 |= cpu_to_le32(BIT(28)); in rtl8712_dl_fw() 200 txdesc->txdw0 |= cpu_to_le32(dump_imem_sz & in rtl8712_dl_fw() 205 (u8 *)txdesc); in rtl8712_dl_fw() 222 memset(txdesc, 0, TXDESC_SIZE); in rtl8712_dl_fw() 227 txdesc->txdw0 |= cpu_to_le32(BIT(28)); in rtl8712_dl_fw() 234 (u8 *)txdesc); in rtl8712_dl_fw() 281 memset(txdesc, 0, TXDESC_SIZE); in rtl8712_dl_fw() [all …]
|
| A D | rtl8712_xmit.h | 90 union txdesc { union 91 struct tx_desc txdesc; member
|
| /linux/drivers/net/wireless/intersil/hostap/ |
| A D | hostap_hw.c | 1815 memset(&txdesc, 0, sizeof(txdesc)); in prism2_tx_80211() 1852 res = hfa384x_to_bap(dev, BAP0, &txdesc, sizeof(txdesc)); in prism2_tx_80211() 2218 res = hfa384x_from_bap(dev, BAP0, txdesc, sizeof(*txdesc)); in hostap_tx_compl_read() 2228 if (txdesc->sw_support) { in hostap_tx_compl_read() 2266 txdesc.retry_count, txdesc.tx_rate, in prism2_tx_ev() 2271 if (txdesc.sw_support) in prism2_tx_ev() 2344 skb_put_data(skb, &txdesc, sizeof(txdesc)); in prism2_txexc() 2350 if (txdesc.sw_support) in prism2_txexc() 2369 txdesc.retry_count, txdesc.tx_rate, fc, in prism2_txexc() 2377 txdesc.addr1, txdesc.addr2, in prism2_txexc() [all …]
|
| /linux/drivers/i2c/busses/ |
| A D | i2c-stm32.c | 104 struct dma_async_tx_descriptor *txdesc; in stm32_i2c_prep_dma_xfer() local 128 txdesc = dmaengine_prep_slave_single(dma->chan_using, dma->dma_buf, in stm32_i2c_prep_dma_xfer() 132 if (!txdesc) { in stm32_i2c_prep_dma_xfer() 140 txdesc->callback = callback; in stm32_i2c_prep_dma_xfer() 141 txdesc->callback_param = dma_async_param; in stm32_i2c_prep_dma_xfer() 142 ret = dma_submit_error(dmaengine_submit(txdesc)); in stm32_i2c_prep_dma_xfer()
|
| A D | i2c-at91-master.c | 197 struct dma_async_tx_descriptor *txdesc; in at91_twi_write_data_dma() local 251 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma() 254 if (!txdesc) { in at91_twi_write_data_dma() 259 txdesc->callback = at91_twi_write_data_dma_callback; in at91_twi_write_data_dma() 260 txdesc->callback_param = dev; in at91_twi_write_data_dma() 263 dmaengine_submit(txdesc); in at91_twi_write_data_dma()
|
| /linux/drivers/staging/r8188eu/include/ |
| A D | rtl8188e_xmit.h | 96 #define txdesc_set_ccx_sw_88e(txdesc, value) \ argument 98 ((struct txdesc_88e *)(txdesc))->sw1 = (((value)>>8) & 0x0f); \ 99 ((struct txdesc_88e *)(txdesc))->sw0 = ((value) & 0xff); \
|
| /linux/drivers/net/ethernet/ |
| A D | jme.c | 1416 struct txdesc *txdesc = txring->desc; in jme_tx_clean_tasklet() local 1953 struct txdesc *txdesc, in jme_fill_tx_map() argument 1970 txdesc->dw[0] = 0; in jme_fill_tx_map() 1971 txdesc->dw[1] = 0; in jme_fill_tx_map() 2005 struct txdesc *txdesc = txring->desc, *ctxdesc; in jme_map_tx_skb() local 2112 struct txdesc *txdesc; in jme_fill_tx_desc() local 2117 txdesc = (struct txdesc *)txring->desc + idx; in jme_fill_tx_desc() 2120 txdesc->dw[0] = 0; in jme_fill_tx_desc() 2121 txdesc->dw[1] = 0; in jme_fill_tx_desc() 2122 txdesc->dw[2] = 0; in jme_fill_tx_desc() [all …]
|
| /linux/drivers/spi/ |
| A D | spi-dw-dma.c | 287 struct dma_async_tx_descriptor *txdesc; in dw_spi_dma_submit_tx() local 291 txdesc = dmaengine_prep_slave_sg(dws->txchan, sgl, nents, in dw_spi_dma_submit_tx() 294 if (!txdesc) in dw_spi_dma_submit_tx() 297 txdesc->callback = dw_spi_dma_tx_done; in dw_spi_dma_submit_tx() 298 txdesc->callback_param = dws; in dw_spi_dma_submit_tx() 300 cookie = dmaengine_submit(txdesc); in dw_spi_dma_submit_tx()
|
| A D | spi-rockchip.c | 422 struct dma_async_tx_descriptor *rxdesc, *txdesc; in rockchip_spi_prepare_dma() local 449 txdesc = NULL; in rockchip_spi_prepare_dma() 460 txdesc = dmaengine_prep_slave_sg( in rockchip_spi_prepare_dma() 464 if (!txdesc) { in rockchip_spi_prepare_dma() 470 txdesc->callback = rockchip_spi_dma_txcb; in rockchip_spi_prepare_dma() 471 txdesc->callback_param = ctlr; in rockchip_spi_prepare_dma() 483 if (txdesc) { in rockchip_spi_prepare_dma() 485 dmaengine_submit(txdesc); in rockchip_spi_prepare_dma()
|
| A D | spi-img-spfi.c | 311 struct dma_async_tx_descriptor *rxdesc = NULL, *txdesc = NULL; in img_spfi_start_dma() local 354 txdesc = dmaengine_prep_slave_sg(spfi->tx_ch, xfer->tx_sg.sgl, in img_spfi_start_dma() 358 if (!txdesc) in img_spfi_start_dma() 361 txdesc->callback = img_spfi_dma_tx_cb; in img_spfi_start_dma() 362 txdesc->callback_param = spfi; in img_spfi_start_dma() 375 dmaengine_submit(txdesc); in img_spfi_start_dma()
|
| A D | spi-uniphier.c | 393 struct dma_async_tx_descriptor *rxdesc = NULL, *txdesc = NULL; in uniphier_spi_transfer_one_dma() local 444 txdesc = dmaengine_prep_slave_sg( in uniphier_spi_transfer_one_dma() 448 if (!txdesc) in uniphier_spi_transfer_one_dma() 451 txdesc->callback = uniphier_spi_dma_txcb; in uniphier_spi_transfer_one_dma() 452 txdesc->callback_param = master; in uniphier_spi_transfer_one_dma() 457 dmaengine_submit(txdesc); in uniphier_spi_transfer_one_dma()
|
| /linux/drivers/net/ethernet/renesas/ |
| A D | sh_eth.c | 1236 struct sh_eth_txdesc *txdesc; in sh_eth_tx_free() local 1243 txdesc = &mdp->tx_ring[entry]; in sh_eth_tx_free() 1255 le32_to_cpu(txdesc->addr), in sh_eth_tx_free() 1256 le32_to_cpu(txdesc->len) >> 16, in sh_eth_tx_free() 1262 txdesc->status = cpu_to_le32(TD_TFP); in sh_eth_tx_free() 1326 struct sh_eth_txdesc *txdesc = NULL; in sh_eth_ring_format() local 1384 txdesc = &mdp->tx_ring[i]; in sh_eth_ring_format() 1386 txdesc->len = cpu_to_le32(0); in sh_eth_ring_format() 2498 struct sh_eth_txdesc *txdesc; in sh_eth_start_xmit() local 2519 txdesc = &mdp->tx_ring[entry]; in sh_eth_start_xmit() [all …]
|