| /linux/drivers/dma/ |
| H A D | amba-pl08x.c | 532 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_start_next_txd() local 535 list_del(&txd->vd.node); in pl08x_start_next_txd() 537 plchan->at = txd; in pl08x_start_next_txd() 543 pl08x_write_lli(pl08x, phychan, &txd->llis_va[0], txd->ccfg); in pl08x_start_next_txd() 759 struct pl08x_txd *txd; in pl08x_getbytes_chan() local 765 txd = plchan->at; in pl08x_getbytes_chan() 767 if (!ch || !txd) in pl08x_getbytes_chan() 782 llis_va = txd->llis_va; in pl08x_getbytes_chan() 783 llis_bus = txd->llis_bus; in pl08x_getbytes_chan() 1107 struct pl08x_txd *txd; member [all …]
|
| H A D | plx_dma.c | 98 struct dma_async_tx_descriptor txd; member 124 static struct plx_dma_desc *to_plx_desc(struct dma_async_tx_descriptor *txd) in to_plx_desc() argument 126 return container_of(txd, struct plx_dma_desc, txd); in to_plx_desc() 159 dma_cookie_complete(&desc->txd); in plx_dma_process_desc() 160 dma_descriptor_unmap(&desc->txd); in plx_dma_process_desc() 161 dmaengine_desc_get_callback_invoke(&desc->txd, &res); in plx_dma_process_desc() 162 desc->txd.callback = NULL; in plx_dma_process_desc() 163 desc->txd.callback_result = NULL; in plx_dma_process_desc() 186 dma_cookie_complete(&desc->txd); in plx_dma_abort_desc() 187 dma_descriptor_unmap(&desc->txd); in plx_dma_abort_desc() [all …]
|
| H A D | ep93xx_dma.c | 153 struct dma_async_tx_descriptor txd; member 318 d->txd.callback = desc->txd.callback; in ep93xx_dma_set_active() 319 d->txd.callback_param = desc->txd.callback_param; in ep93xx_dma_set_active() 362 return !desc->txd.cookie; in ep93xx_dma_advance_active() 489 desc->txd.cookie, desc->src_addr, desc->dst_addr, in m2p_hw_interrupt() 678 last_done = !desc || desc->txd.cookie; in m2m_hw_interrupt() 742 if (async_tx_test_ack(&desc->txd)) { in ep93xx_dma_desc_get() 750 desc->txd.cookie = 0; in ep93xx_dma_desc_get() 751 desc->txd.callback = NULL; in ep93xx_dma_desc_get() 752 desc->txd.callback_param = NULL; in ep93xx_dma_desc_get() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
| H A D | ipsec.c | 10 void nfp_nfd3_ipsec_tx(struct nfp_nfd3_tx_desc *txd, struct sk_buff *skb) in nfp_nfd3_ipsec_tx() argument 18 txd->flags |= NFD3_DESC_TX_CSUM; in nfp_nfd3_ipsec_tx() 21 txd->flags |= NFD3_DESC_TX_IP4_CSUM; in nfp_nfd3_ipsec_tx() 32 txd->flags |= NFD3_DESC_TX_UDP_CSUM; in nfp_nfd3_ipsec_tx() 35 txd->flags |= NFD3_DESC_TX_TCP_CSUM; in nfp_nfd3_ipsec_tx()
|
| H A D | rings.c | 204 struct nfp_nfd3_tx_desc *txd; in nfp_nfd3_print_tx_descs() local 212 txd = &tx_ring->txds[i]; in nfp_nfd3_print_tx_descs() 214 txd->vals[0], txd->vals[1], in nfp_nfd3_print_tx_descs() 215 txd->vals[2], txd->vals[3]); in nfp_nfd3_print_tx_descs()
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | marvell,armada-39x-pinctrl.txt | 19 mpp1 1 gpio, ua0(txd) 22 mpp4 4 gpio, ua1(txd), ua0(rts), smi(mdc) 32 mpp14 14 gpio, dram(vttctrl), dev(we1), ua1(txd) 36 mpp18 18 gpio, ua1(txd), spi0(cs0), i2c2(sck) 38 mpp20 20 gpio, sata0(prsnt) [1], ua0(rts), ua1(txd), smi(mdc) 44 mpp25 25 gpio, spi0(cs0), ua0(rts), ua1(txd), sd0(d5), dev(cs0) 61 mpp42 42 gpio, ua1(txd), ua0(rts), dev(ad7) 66 mpp46 46 gpio, ref(clk), pcie0(rstout), ua1(txd), led(stb) 69 …, sata0(prsnt) [1], dram(vttctrl), tdm(pclk) [2], audio(mclk) [2], sd0(d4), pcie0(clkreq), ua1(txd) 73 mpp51 51 gpio, tdm(dtx) [2], audio(sdo) [2], dram(deccerr), ua2(txd) [all …]
|
| H A D | marvell,kirkwood-pinctrl.txt | 29 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig) 36 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig) 40 mpp13 13 gpio, sdio(cmd), uart1(txd) 42 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd) 67 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig), sata0(act) 74 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig) 78 mpp13 13 gpio, sdio(cmd), uart1(txd) 80 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act) 111 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig), sata0(act) 118 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig), sata1(act) [all …]
|
| H A D | marvell,armada-370-pinctrl.txt | 17 mpp1 1 gpo, uart0(txd) 18 mpp2 2 gpio, i2c0(sck), uart0(txd) 21 mpp5 5 gpo, ge0(txclkout), uart1(txd), spi1(sck), audio(mclk) 25 mpp9 9 gpo, ge0(txd3), uart1(txd), sd0(clk), audio(spdifo) 42 mpp21 21 gpo, ge0(txd5), ge1(txd1), uart1(txd) 63 mpp42 42 gpo, dev(ad3), uart1(txd) 80 mpp55 55 gpio, dev(cs1), uart1(txd), tdm(rst), sata1(prsnt), 91 mpp61 61 gpo, dev(we1), uart1(txd), audio(lrclk)
|
| H A D | marvell,armada-38x-pinctrl.txt | 19 mpp1 1 gpio, ua0(txd) 22 mpp4 4 gpio, ge(mdc), ua1(txd), ua0(rts) 36 mpp18 18 gpio, ge0(rxerr), ptp(trig), ua1(txd), spi0(cs0) 43 mpp25 25 gpio, spi0(cs0), ua0(rts), ua1(txd), sd0(d5), dev(cs0) 60 mpp42 42 gpio, ua1(txd), ua0(rts), dev(ad7) 64 mpp46 46 gpio, ref(clk_out1), pcie0(rstout), ua1(txd) 74 mpp56 56 gpio, ua1(rts), ge(mdc), dram(deccerr), spi1(mosi), ua1(txd) 75 mpp57 57 gpio, spi1(sck), sd0(clk), ua1(txd)
|
| H A D | marvell,dove-pinctrl.txt | 20 mpp2 2 gpio, pmu, uart2(txd), sdio0(buspwr), sata(prsnt), 26 mpp6 6 gpio, pmu, uart3(txd), sdio1(buspwr), spi1(mosi), pmu* 37 mpp14 14 gpio, pmu, uart2(txd), sdio1(buspwr), ssp(rxd), pmu* 42 mpp18 18 gpio, uart3(txd), sdio0(buspwr), ac97(sdi3), lcd0(pwm) 49 lcd-spi(mosi), uart1(cts), ssp(txd)
|
| /linux/drivers/rapidio/devices/ |
| H A D | tsi721_dma.c | 58 struct tsi721_tx_desc *to_tsi721_desc(struct dma_async_tx_descriptor *txd) in to_tsi721_desc() argument 60 return container_of(txd, struct tsi721_tx_desc, txd); in to_tsi721_desc() 377 struct dma_async_tx_descriptor *txd = &desc->txd; in tsi721_dma_tx_err() local 378 dma_async_tx_callback callback = txd->callback; in tsi721_dma_tx_err() 379 void *param = txd->callback_param; in tsi721_dma_tx_err() 413 struct dma_chan *dchan = desc->txd.chan; in tsi721_submit_sg() 643 dma_cookie_complete(&desc->txd); in tsi721_dma_tasklet() 669 dma_cookie_complete(&desc->txd); in tsi721_dma_tasklet() 670 if (desc->txd.flags & DMA_PREP_INTERRUPT) { in tsi721_dma_tasklet() 671 callback = desc->txd.callback; in tsi721_dma_tasklet() [all …]
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_debugfs.c | 60 struct fm10k_tx_desc *txd = FM10K_TX_DESC(ring, i); in fm10k_dbg_tx_desc_seq_show() local 63 i, txd->buffer_addr, txd->buflen, txd->vlan, in fm10k_dbg_tx_desc_seq_show() 64 txd->mss, txd->hdrlen, txd->flags); in fm10k_dbg_tx_desc_seq_show()
|
| /linux/include/linux/ |
| H A D | dmaengine.h | 670 static inline void txd_lock(struct dma_async_tx_descriptor *txd) in txd_lock() argument 673 static inline void txd_unlock(struct dma_async_tx_descriptor *txd) in txd_unlock() argument 676 static inline void txd_chain(struct dma_async_tx_descriptor *txd, struct dma_async_tx_descriptor *n… in txd_chain() argument 680 static inline void txd_clear_parent(struct dma_async_tx_descriptor *txd) in txd_clear_parent() argument 683 static inline void txd_clear_next(struct dma_async_tx_descriptor *txd) in txd_clear_next() argument 686 static inline struct dma_async_tx_descriptor *txd_next(struct dma_async_tx_descriptor *txd) in txd_next() argument 690 static inline struct dma_async_tx_descriptor *txd_parent(struct dma_async_tx_descriptor *txd) in txd_parent() argument 696 static inline void txd_lock(struct dma_async_tx_descriptor *txd) in txd_lock() argument 698 spin_lock_bh(&txd->lock); in txd_lock() 700 static inline void txd_unlock(struct dma_async_tx_descriptor *txd) in txd_unlock() argument [all …]
|
| /linux/drivers/media/pci/mantis/ |
| H A D | mantis_i2c.c | 75 u32 txd = 0, stat, trials; in mantis_i2c_write() local 82 txd = (msg->addr << 25) | (msg->buf[i] << 8) in mantis_i2c_write() 88 txd &= ~MANTIS_I2C_STOP; in mantis_i2c_write() 91 mmwrite(txd, MANTIS_I2CDATA_CTL); in mantis_i2c_write() 119 u32 stat, data, txd; in mantis_i2c_xfer() local 142 txd = msgs[i].addr << 25 | (0x1 << 24) in mantis_i2c_xfer() 146 mmwrite(txd, MANTIS_I2CDATA_CTL); in mantis_i2c_xfer()
|
| /linux/drivers/dma/dw/ |
| H A D | core.c | 73 __func__, desc->txd.cookie); in dwc_tx_submit() 90 dma_async_tx_descriptor_init(&desc->txd, &dwc->chan); in dwc_desc_get() 91 desc->txd.tx_submit = dwc_tx_submit; in dwc_desc_get() 92 desc->txd.flags = DMA_CTRL_ACK; in dwc_desc_get() 93 desc->txd.phys = phys; in dwc_desc_get() 107 dma_pool_free(dw->desc_pool, child, child->txd.phys); in dwc_desc_put() 111 dma_pool_free(dw->desc_pool, desc, desc->txd.phys); in dwc_desc_put() 211 channel_writel(dwc, LLP, first->txd.phys | lms); in dwc_dostart() 226 dev_vdbg(chan2dev(&dwc->chan), "%s: started %u\n", __func__, desc->txd.cookie); in dwc_dostart_first_queued() 236 struct dma_async_tx_descriptor *txd = &desc->txd; in dwc_descriptor_complete() local [all …]
|
| /linux/drivers/dma/ioat/ |
| H A D | prep.c | 139 desc->txd.flags = flags; in ioat_dma_prep_memcpy_lock() 147 return &desc->txd; in ioat_dma_prep_memcpy_lock() 223 desc->txd.flags = flags; in __ioat_prep_xor_lock() 231 compl_desc->txd.flags = flags & DMA_PREP_INTERRUPT; in __ioat_prep_xor_lock() 241 return &compl_desc->txd; in __ioat_prep_xor_lock() 289 desc_id(desc), (unsigned long long) desc->txd.phys, in dump_pq_desc_dbg() 291 desc->txd.flags, pq->size, pq->ctl, pq->ctl_f.op, in dump_pq_desc_dbg() 322 desc_id(desc), (unsigned long long) desc->txd.phys, in dump_pq16_desc_dbg() 324 desc->txd.flags, pq->size, pq->ctl, in dump_pq16_desc_dbg() 433 desc->txd.flags = flags; in __ioat_prep_pq_lock() [all …]
|
| H A D | dma.c | 232 async_tx_ack(&desc->txd); in __ioat_start_null_desc() 233 ioat_set_chainaddr(ioat_chan, desc->txd.phys); in __ioat_start_null_desc() 265 ioat_set_chainaddr(ioat_chan, desc->txd.phys); in __ioat_restart_chan() 359 dma_async_tx_descriptor_init(&desc->txd, chan); in ioat_alloc_ring_ent() 360 desc->txd.tx_submit = ioat_tx_submit_unlock; in ioat_alloc_ring_ent() 362 desc->txd.phys = phys; in ioat_alloc_ring_ent() 440 hw->next = next->txd.phys; in ioat_alloc_ring() 442 ring[i]->hw->next = ring[0]->txd.phys; in ioat_alloc_ring() 624 tx = &desc->txd; in __ioat_cleanup() 742 tx = &desc->txd; in ioat_abort_descs() [all …]
|
| /linux/drivers/dma/idxd/ |
| H A D | dma.c | 46 tx = &desc->txd; in idxd_dma_complete_txd() 102 desc->txd.flags = flags; in idxd_dma_prep_interrupt() 103 return &desc->txd; in idxd_dma_prep_interrupt() 130 desc->txd.flags = flags; in idxd_dma_submit_memcpy() 132 return &desc->txd; in idxd_dma_submit_memcpy() 177 struct idxd_desc *desc = container_of(tx, struct idxd_desc, txd); in idxd_dma_tx_submit() 268 dma_async_tx_descriptor_init(&desc->txd, chan); in idxd_register_dma_channel() 269 desc->txd.tx_submit = idxd_dma_tx_submit; in idxd_register_dma_channel()
|
| /linux/drivers/spi/ |
| H A D | spi-altera-core.c | 91 unsigned int txd = 0; in altera_spi_tx_word() local 96 txd = hw->tx[hw->count]; in altera_spi_tx_word() 99 txd = (hw->tx[hw->count * 2] in altera_spi_tx_word() 103 txd = (hw->tx[hw->count * 4] in altera_spi_tx_word() 112 altr_spi_writel(hw, ALTERA_SPI_TXDATA, txd); in altera_spi_tx_word()
|
| H A D | spi-ep93xx.c | 273 struct dma_async_tx_descriptor *txd; in ep93xx_spi_dma_prepare() local 355 txd = dmaengine_prep_slave_sg(chan, sgt->sgl, nents, conf.direction, in ep93xx_spi_dma_prepare() 357 if (!txd) { in ep93xx_spi_dma_prepare() 361 return txd; in ep93xx_spi_dma_prepare() 403 struct dma_async_tx_descriptor *rxd, *txd; in ep93xx_spi_dma_transfer() local 411 txd = ep93xx_spi_dma_prepare(host, DMA_TO_DEVICE); in ep93xx_spi_dma_transfer() 412 if (IS_ERR(txd)) { in ep93xx_spi_dma_transfer() 414 dev_err(&host->dev, "DMA TX failed: %ld\n", PTR_ERR(txd)); in ep93xx_spi_dma_transfer() 415 return PTR_ERR(txd); in ep93xx_spi_dma_transfer() 424 dmaengine_submit(txd); in ep93xx_spi_dma_transfer()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
| H A D | hw_atl_b0.c | 665 struct hw_atl_txd_s *txd = NULL; in hw_atl_b0_hw_ring_tx_xmit() local 676 txd = (struct hw_atl_txd_s *)&ring->dx_ring[ring->sw_tail * in hw_atl_b0_hw_ring_tx_xmit() 678 txd->ctl = 0; in hw_atl_b0_hw_ring_tx_xmit() 679 txd->ctl2 = 0; in hw_atl_b0_hw_ring_tx_xmit() 680 txd->buf_addr = 0; in hw_atl_b0_hw_ring_tx_xmit() 686 txd->ctl |= HW_ATL_B0_TXD_CTL_CMD_TCP; in hw_atl_b0_hw_ring_tx_xmit() 687 txd->ctl |= HW_ATL_B0_TXD_CTL_DESC_TYPE_TXC; in hw_atl_b0_hw_ring_tx_xmit() 688 txd->ctl |= (buff->len_l3 << 31) | in hw_atl_b0_hw_ring_tx_xmit() 690 txd->ctl2 |= (buff->mss << 16); in hw_atl_b0_hw_ring_tx_xmit() 697 txd->ctl |= HW_ATL_B0_TXD_CTL_CMD_IPV6; in hw_atl_b0_hw_ring_tx_xmit() [all …]
|
| /linux/drivers/net/fddi/skfp/h/ |
| H A D | hwmtm.h | 209 #define HWM_GET_TX_PHYS(txd) (u_long)AIX_REVERSE((txd)->txd_tbadr) argument 225 #define HWM_GET_TX_LEN(txd) ((int)AIX_REVERSE((txd)->txd_tbctrl)& RD_LENGTH) argument
|
| /linux/drivers/net/ethernet/netronome/nfp/nfdk/ |
| H A D | rings.c | 143 struct nfp_nfdk_tx_desc *txd; in nfp_nfdk_print_tx_descs() local 148 txd = &tx_ring->ktxds[i]; in nfp_nfdk_print_tx_descs() 151 txd->vals[0], txd->vals[1], tx_ring->ktxbufs[i].raw); in nfp_nfdk_print_tx_descs()
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 1331 struct mtk_tx_dma_v2 *txd; in mtk_init_fq_dma() local 1333 txd = eth->scratch_ring + (j * MTK_FQ_DMA_LENGTH + i) * soc->tx.desc_size; in mtk_init_fq_dma() 1334 txd->txd1 = dma_addr + i * MTK_QDMA_PAGE_SIZE; in mtk_init_fq_dma() 1336 txd->txd2 = eth->phy_scratch_ring + in mtk_init_fq_dma() 1339 txd->txd3 = TX_DMA_PLEN0(MTK_QDMA_PAGE_SIZE); in mtk_init_fq_dma() 1341 txd->txd3 |= TX_DMA_PREP_ADDR64(dma_addr + i * MTK_QDMA_PAGE_SIZE); in mtk_init_fq_dma() 1343 txd->txd4 = 0; in mtk_init_fq_dma() 1345 txd->txd5 = 0; in mtk_init_fq_dma() 1346 txd->txd6 = 0; in mtk_init_fq_dma() 1347 txd->txd7 = 0; in mtk_init_fq_dma() [all …]
|
| /linux/drivers/net/vmxnet3/ |
| H A D | vmxnet3_xdp.c | 164 WARN_ON_ONCE(gdesc->txd.gen == tq->tx_ring.gen); in vmxnet3_xdp_xmit_frame() 166 gdesc->txd.addr = cpu_to_le64(tbi->dma_addr); in vmxnet3_xdp_xmit_frame() 172 gdesc->txd.om = 0; in vmxnet3_xdp_xmit_frame() 173 gdesc->txd.msscof = 0; in vmxnet3_xdp_xmit_frame() 174 gdesc->txd.hlen = 0; in vmxnet3_xdp_xmit_frame() 175 gdesc->txd.ti = 0; in vmxnet3_xdp_xmit_frame()
|