/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
D | trx.c | 48 static void _rtl92du_tx_desc_checksum(__le32 *txdesc) in _rtl92du_tx_desc_checksum() argument 50 __le16 *ptr = (__le16 *)txdesc; in _rtl92du_tx_desc_checksum() 55 set_tx_desc_tx_desc_checksum(txdesc, 0); in _rtl92du_tx_desc_checksum() 58 set_tx_desc_tx_desc_checksum(txdesc, checksum); in _rtl92du_tx_desc_checksum() 80 __le32 *txdesc; in rtl92du_tx_fill_desc() local 86 txdesc = (__le32 *)skb_push(skb, RTL_TX_HEADER_SIZE); in rtl92du_tx_fill_desc() 87 memset(txdesc, 0, RTL_TX_HEADER_SIZE); in rtl92du_tx_fill_desc() 89 set_tx_desc_pkt_size(txdesc, pktlen); in rtl92du_tx_fill_desc() 90 set_tx_desc_linip(txdesc, 0); in rtl92du_tx_fill_desc() 91 set_tx_desc_pkt_offset(txdesc, RTL_DUMMY_OFFSET); in rtl92du_tx_fill_desc() [all …]
|
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00crypto.c | 37 struct txentry_desc *txdesc) in rt2x00crypto_create_tx_descriptor() argument 45 __set_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags); in rt2x00crypto_create_tx_descriptor() 47 txdesc->cipher = rt2x00crypto_key_to_cipher(hw_key); in rt2x00crypto_create_tx_descriptor() 50 __set_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc->flags); in rt2x00crypto_create_tx_descriptor() 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() 57 __set_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags); in rt2x00crypto_create_tx_descriptor() 60 __set_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc->flags); in rt2x00crypto_create_tx_descriptor() 91 void rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) in rt2x00crypto_tx_copy_iv() argument [all …]
|
D | rt2x00queue.c | 178 struct txentry_desc *txdesc) in rt2x00queue_create_tx_descriptor_seq() argument 188 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); in rt2x00queue_create_tx_descriptor_seq() 199 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); in rt2x00queue_create_tx_descriptor_seq() 204 __clear_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); in rt2x00queue_create_tx_descriptor_seq() 218 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)) in rt2x00queue_create_tx_descriptor_seq() 229 struct txentry_desc *txdesc, in rt2x00queue_create_tx_descriptor_plcp() argument 243 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)) in rt2x00queue_create_tx_descriptor_plcp() 244 txdesc->u.plcp.ifs = IFS_BACKOFF; in rt2x00queue_create_tx_descriptor_plcp() 246 txdesc->u.plcp.ifs = IFS_SIFS; in rt2x00queue_create_tx_descriptor_plcp() 256 txdesc->u.plcp.signal = hwrate->plcp; in rt2x00queue_create_tx_descriptor_plcp() [all …]
|
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
|
D | rt2x00dev.c | 308 struct txdone_entry_desc *txdesc, in rt2x00lib_fill_tx_status() argument 316 retry_rates = test_bit(TXDONE_FALLBACK, &txdesc->flags) ? in rt2x00lib_fill_tx_status() 317 (txdesc->retry + 1) : 1; in rt2x00lib_fill_tx_status() 349 if (test_bit(TXDONE_NO_ACK_REQ, &txdesc->flags)) in rt2x00lib_fill_tx_status() 368 if (test_bit(TXDONE_AMPDU, &txdesc->flags) || in rt2x00lib_fill_tx_status() 411 struct txdone_entry_desc *txdesc) in rt2x00lib_txdone_nomatch() argument 441 test_bit(TXDONE_SUCCESS, &txdesc->flags); in rt2x00lib_txdone_nomatch() 443 if (!test_bit(TXDONE_UNKNOWN, &txdesc->flags)) { in rt2x00lib_txdone_nomatch() 450 rt2x00lib_fill_tx_status(rt2x00dev, &txinfo, skbdesc, txdesc, in rt2x00lib_txdone_nomatch() 461 struct txdone_entry_desc *txdesc) in rt2x00lib_txdone() argument [all …]
|
D | rt2400pci.c | 1095 struct txentry_desc *txdesc) in rt2400pci_write_tx_desc() argument 1110 rt2x00_set_field32(&word, TXD_W2_BUFFER_LENGTH, txdesc->length); in rt2400pci_write_tx_desc() 1111 rt2x00_set_field32(&word, TXD_W2_DATABYTE_COUNT, txdesc->length); in rt2400pci_write_tx_desc() 1115 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2400pci_write_tx_desc() 1118 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); in rt2400pci_write_tx_desc() 1125 txdesc->u.plcp.length_low); in rt2400pci_write_tx_desc() 1129 txdesc->u.plcp.length_high); in rt2400pci_write_tx_desc() 1143 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); in rt2400pci_write_tx_desc() 1145 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); in rt2400pci_write_tx_desc() 1147 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); in rt2400pci_write_tx_desc() [all …]
|
D | rt61pci.c | 1776 struct txentry_desc *txdesc) in rt61pci_write_tx_desc() argument 1791 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt61pci_write_tx_desc() 1793 test_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags)); in rt61pci_write_tx_desc() 1798 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt61pci_write_tx_desc() 1799 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); in rt61pci_write_tx_desc() 1801 txdesc->u.plcp.length_low); in rt61pci_write_tx_desc() 1803 txdesc->u.plcp.length_high); in rt61pci_write_tx_desc() 1806 if (test_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags)) { in rt61pci_write_tx_desc() 1827 txdesc->length); in rt61pci_write_tx_desc() 1840 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); in rt61pci_write_tx_desc() [all …]
|
D | rt2500usb.c | 1057 struct txentry_desc *txdesc) in rt2500usb_write_tx_desc() argument 1067 rt2x00_set_field32(&word, TXD_W0_RETRY_LIMIT, txdesc->retry_limit); in rt2500usb_write_tx_desc() 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() 1078 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt2500usb_write_tx_desc() 1079 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length); in rt2500usb_write_tx_desc() 1080 rt2x00_set_field32(&word, TXD_W0_CIPHER, !!txdesc->cipher); in rt2500usb_write_tx_desc() [all …]
|
D | rt2500pci.c | 1248 struct txentry_desc *txdesc) in rt2500pci_write_tx_desc() argument 1270 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2500pci_write_tx_desc() 1271 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); in rt2500pci_write_tx_desc() 1273 txdesc->u.plcp.length_low); in rt2500pci_write_tx_desc() 1275 txdesc->u.plcp.length_high); in rt2500pci_write_tx_desc() 1280 test_bit(ENTRY_TXD_RTS_FRAME, &txdesc->flags)); in rt2500pci_write_tx_desc() 1292 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); in rt2500pci_write_tx_desc() 1294 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); in rt2500pci_write_tx_desc() 1296 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); in rt2500pci_write_tx_desc() 1298 (txdesc->rate_mode == RATE_MODE_OFDM)); in rt2500pci_write_tx_desc() [all …]
|
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() 1463 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); in rt73usb_write_tx_desc() 1465 (txdesc->rate_mode == RATE_MODE_OFDM)); in rt73usb_write_tx_desc() 1466 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt73usb_write_tx_desc() 1468 test_bit(ENTRY_TXD_RETRY_MODE, &txdesc->flags)); in rt73usb_write_tx_desc() 1470 test_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc->flags)); in rt73usb_write_tx_desc() 1472 test_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc->flags)); in rt73usb_write_tx_desc() [all …]
|
D | rt2800lib.h | 200 struct txentry_desc *txdesc); 201 void rt2800_process_rxwi(struct queue_entry *entry, struct rxdone_entry_desc *txdesc); 212 void rt2800_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc);
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | trx.c | 451 static void _rtl_fill_usb_tx_desc(__le32 *txdesc) in _rtl_fill_usb_tx_desc() argument 453 set_tx_desc_own(txdesc, 1); in _rtl_fill_usb_tx_desc() 454 set_tx_desc_last_seg(txdesc, 1); in _rtl_fill_usb_tx_desc() 455 set_tx_desc_first_seg(txdesc, 1); in _rtl_fill_usb_tx_desc() 461 static void _rtl_tx_desc_checksum(__le32 *txdesc) in _rtl_tx_desc_checksum() argument 463 __le16 *ptr = (__le16 *)txdesc; in _rtl_tx_desc_checksum() 468 set_tx_desc_tx_desc_checksum(txdesc, 0); in _rtl_tx_desc_checksum() 471 set_tx_desc_tx_desc_checksum(txdesc, checksum); in _rtl_tx_desc_checksum() 495 __le32 *txdesc; in rtl92cu_tx_fill_desc() local 501 txdesc = (__le32 *)txdesc8; in rtl92cu_tx_fill_desc() [all …]
|
/linux-6.12.1/drivers/staging/rtl8712/ |
D | hal_init.c | 166 struct tx_desc *txdesc; in rtl8712_dl_fw() local 184 txdesc = (struct tx_desc *)(tmpchar + FWBUFF_ALIGN_SZ - in rtl8712_dl_fw() 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() 229 txdesc->txdw0 |= cpu_to_le32(dump_emem_sz & in rtl8712_dl_fw() [all …]
|
D | rtl8712_xmit.h | 90 union txdesc { union 91 struct tx_desc txdesc; member
|
/linux-6.12.1/drivers/i2c/busses/ |
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()
|
D | i2c-at91-master.c | 196 struct dma_async_tx_descriptor *txdesc; in at91_twi_write_data_dma() local 250 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma() 253 if (!txdesc) { in at91_twi_write_data_dma() 258 txdesc->callback = at91_twi_write_data_dma_callback; in at91_twi_write_data_dma() 259 txdesc->callback_param = dev; in at91_twi_write_data_dma() 262 dmaengine_submit(txdesc); in at91_twi_write_data_dma()
|
D | i2c-sh_mobile.c | 512 struct dma_async_tx_descriptor *txdesc; in sh_mobile_i2c_xfer_dma() local 539 txdesc = dmaengine_prep_slave_sg(chan, &pd->sg, 1, in sh_mobile_i2c_xfer_dma() 542 if (!txdesc) { in sh_mobile_i2c_xfer_dma() 548 txdesc->callback = sh_mobile_i2c_dma_callback; in sh_mobile_i2c_xfer_dma() 549 txdesc->callback_param = pd; in sh_mobile_i2c_xfer_dma() 551 cookie = dmaengine_submit(txdesc); in sh_mobile_i2c_xfer_dma()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/ |
D | tx.h | 117 void fill_txdesc_checksum_common(u8 *txdesc, size_t words) in fill_txdesc_checksum_common() argument 120 __le16 *data = (__le16 *)(txdesc); in fill_txdesc_checksum_common() 121 struct rtw_tx_desc *tx_desc = (struct rtw_tx_desc *)txdesc; in fill_txdesc_checksum_common() 134 u8 *txdesc) in rtw_tx_fill_txdesc_checksum() argument 138 chip->ops->fill_txdesc_checksum(rtwdev, pkt_info, txdesc); in rtw_tx_fill_txdesc_checksum()
|
/linux-6.12.1/drivers/net/ethernet/ |
D | jme.c | 1415 struct txdesc *txdesc = txring->desc; in jme_tx_clean_tasklet() local 1438 !(txdesc[i].descwb.flags & TXWBFLAG_OWN))) { in jme_tx_clean_tasklet() 1443 err = txdesc[i].descwb.flags & TXWBFLAG_ALLERR; in jme_tx_clean_tasklet() 1447 txdesc[(i + j) & (mask)].dw[0] = 0; in jme_tx_clean_tasklet() 1952 struct txdesc *txdesc, in jme_fill_tx_map() argument 1969 txdesc->dw[0] = 0; in jme_fill_tx_map() 1970 txdesc->dw[1] = 0; in jme_fill_tx_map() 1971 txdesc->desc2.flags = TXFLAG_OWN; in jme_fill_tx_map() 1972 txdesc->desc2.flags |= (hidma) ? TXFLAG_64BIT : 0; in jme_fill_tx_map() 1973 txdesc->desc2.datalen = cpu_to_le16(len); in jme_fill_tx_map() [all …]
|
/linux-6.12.1/drivers/spi/ |
D | spi-dw-dma.c | 342 struct dma_async_tx_descriptor *txdesc; in dw_spi_dma_submit_tx() local 346 txdesc = dmaengine_prep_slave_sg(dws->txchan, sgl, nents, in dw_spi_dma_submit_tx() 349 if (!txdesc) in dw_spi_dma_submit_tx() 352 txdesc->callback = dw_spi_dma_tx_done; in dw_spi_dma_submit_tx() 353 txdesc->callback_param = dws; in dw_spi_dma_submit_tx() 355 cookie = dmaengine_submit(txdesc); in dw_spi_dma_submit_tx()
|
D | spi-rockchip.c | 441 struct dma_async_tx_descriptor *rxdesc, *txdesc; in rockchip_spi_prepare_dma() local 470 txdesc = NULL; in rockchip_spi_prepare_dma() 481 txdesc = dmaengine_prep_slave_sg( in rockchip_spi_prepare_dma() 485 if (!txdesc) { in rockchip_spi_prepare_dma() 491 txdesc->callback = rockchip_spi_dma_txcb; in rockchip_spi_prepare_dma() 492 txdesc->callback_param = ctlr; in rockchip_spi_prepare_dma() 507 if (txdesc) { in rockchip_spi_prepare_dma() 509 dmaengine_submit(txdesc); in rockchip_spi_prepare_dma()
|
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()
|
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 = host; in uniphier_spi_transfer_one_dma() 457 dmaengine_submit(txdesc); in uniphier_spi_transfer_one_dma()
|
D | spi-at91-usart.c | 208 struct dma_async_tx_descriptor *txdesc; in at91_usart_spi_dma_transfer() local 223 txdesc = dmaengine_prep_slave_sg(txchan, in at91_usart_spi_dma_transfer() 229 if (!txdesc) in at91_usart_spi_dma_transfer() 239 cookie = txdesc->tx_submit(txdesc); in at91_usart_spi_dma_transfer()
|
/linux-6.12.1/drivers/net/ethernet/sunplus/ |
D | spl2sw_driver.c | 71 struct spl2sw_mac_desc *txdesc; in spl2sw_ethernet_start_xmit() local 103 txdesc = &comm->tx_desc[tx_pos]; in spl2sw_ethernet_start_xmit() 117 txdesc->addr1 = skbinfo->mapping; in spl2sw_ethernet_start_xmit() 118 txdesc->cmd2 = cmd2; in spl2sw_ethernet_start_xmit() 120 txdesc->cmd1 = cmd1; in spl2sw_ethernet_start_xmit()
|