/Linux-v4.19/drivers/dma/ |
D | s3c24xx-dma.c | 377 struct s3c24xx_txd *txd = s3cchan->at; in s3c24xx_dma_getbytes_chan() local 380 return tc * txd->width; in s3c24xx_dma_getbytes_chan() 421 struct s3c24xx_txd *txd = kzalloc(sizeof(*txd), GFP_NOWAIT); in s3c24xx_dma_get_txd() local 423 if (txd) { in s3c24xx_dma_get_txd() 424 INIT_LIST_HEAD(&txd->dsg_list); in s3c24xx_dma_get_txd() 425 txd->dcon = S3C24XX_DCON_INT | S3C24XX_DCON_NORELOAD; in s3c24xx_dma_get_txd() 428 return txd; in s3c24xx_dma_get_txd() 431 static void s3c24xx_dma_free_txd(struct s3c24xx_txd *txd) in s3c24xx_dma_free_txd() argument 435 list_for_each_entry_safe(dsg, _dsg, &txd->dsg_list, node) { in s3c24xx_dma_free_txd() 440 kfree(txd); in s3c24xx_dma_free_txd() [all …]
|
D | sa11x0-dma.c | 152 static void sa11x0_dma_start_desc(struct sa11x0_dma_phy *p, struct sa11x0_dma_desc *txd) in sa11x0_dma_start_desc() argument 154 list_del(&txd->vd.node); in sa11x0_dma_start_desc() 155 p->txd_load = txd; in sa11x0_dma_start_desc() 159 p->num, &txd->vd, txd->vd.tx.cookie, txd->ddar); in sa11x0_dma_start_desc() 165 struct sa11x0_dma_desc *txd = p->txd_load; in sa11x0_dma_start_sg() local 171 if (!txd) in sa11x0_dma_start_sg() 180 if (p->sg_load == txd->sglen) { in sa11x0_dma_start_sg() 181 if (!txd->cyclic) { in sa11x0_dma_start_sg() 189 if (txn && txn->ddar == txd->ddar) { in sa11x0_dma_start_sg() 190 txd = txn; in sa11x0_dma_start_sg() [all …]
|
D | owl-dma.c | 193 struct owl_dma_txd *txd; member 337 static struct owl_dma_lli *owl_dma_add_lli(struct owl_dma_txd *txd, in owl_dma_add_lli() argument 341 list_add_tail(&next->node, &txd->lli_list); in owl_dma_add_lli() 451 struct owl_dma_txd *txd = to_owl_txd(&vd->tx); in owl_dma_start_next_txd() local 458 vchan->txd = txd; in owl_dma_start_next_txd() 464 lli = list_first_entry(&txd->lli_list, in owl_dma_start_next_txd() 549 struct owl_dma_txd *txd; in owl_dma_interrupt() local 562 txd = vchan->txd; in owl_dma_interrupt() 563 if (txd) { in owl_dma_interrupt() 564 vchan->txd = NULL; in owl_dma_interrupt() [all …]
|
D | timb_dma.c | 72 struct dma_async_tx_descriptor txd; member 207 iowrite32(td_desc->txd.phys, td_chan->membase + in __td_start_dma() 217 iowrite32(td_desc->txd.phys, td_chan->membase + in __td_start_dma() 230 struct dma_async_tx_descriptor *txd; in __td_finish() local 239 txd = &td_desc->txd; in __td_finish() 242 txd->cookie); in __td_finish() 251 dma_cookie_complete(txd); in __td_finish() 254 dmaengine_desc_get_callback(txd, &cb); in __td_finish() 258 dma_descriptor_unmap(txd); in __td_finish() 296 __func__, td_desc->txd.cookie); in __td_start_next() [all …]
|
D | amba-pl08x.c | 542 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_start_next_txd() local 545 list_del(&txd->vd.node); in pl08x_start_next_txd() 547 plchan->at = txd; in pl08x_start_next_txd() 553 pl08x_write_lli(pl08x, phychan, &txd->llis_va[0], txd->ccfg); in pl08x_start_next_txd() 769 struct pl08x_txd *txd; in pl08x_getbytes_chan() local 775 txd = plchan->at; in pl08x_getbytes_chan() 777 if (!ch || !txd) in pl08x_getbytes_chan() 792 llis_va = txd->llis_va; in pl08x_getbytes_chan() 793 llis_bus = txd->llis_bus; in pl08x_getbytes_chan() 1109 struct pl08x_txd *txd; member [all …]
|
D | txx9dmac.c | 142 txd_to_txx9dmac_desc(struct dma_async_tx_descriptor *txd) in txd_to_txx9dmac_desc() argument 144 return container_of(txd, struct txx9dmac_desc, txd); in txd_to_txx9dmac_desc() 202 dma_async_tx_descriptor_init(&desc->txd, &dc->chan); in txx9dmac_desc_alloc() 203 desc->txd.tx_submit = txx9dmac_tx_submit; in txx9dmac_desc_alloc() 205 desc->txd.flags = DMA_CTRL_ACK; in txx9dmac_desc_alloc() 206 desc->txd.phys = dma_map_single(chan2parent(&dc->chan), &desc->hwdesc, in txx9dmac_desc_alloc() 219 if (async_tx_test_ack(&desc->txd)) { in txx9dmac_desc_get() 252 child->txd.phys, ddev->descsize, in txx9dmac_sync_desc_for_cpu() 255 desc->txd.phys, ddev->descsize, in txx9dmac_sync_desc_for_cpu() 341 first->txd.cookie, first); in txx9dmac_dostart() [all …]
|
D | sun6i-dma.c | 314 struct sun6i_desc *txd = pchan->desc; in sun6i_get_chan_size() local 325 for (lli = txd->v_lli; lli; lli = lli->v_lli_next) { in sun6i_get_chan_size() 339 struct sun6i_desc *txd) in sun6i_dma_lli_add() argument 341 if ((!prev && !txd) || !next) in sun6i_dma_lli_add() 345 txd->p_lli = next_phy; in sun6i_dma_lli_add() 346 txd->v_lli = next; in sun6i_dma_lli_add() 374 struct sun6i_desc *txd = to_sun6i_desc(&vd->tx); in sun6i_dma_free_desc() local 379 if (unlikely(!txd)) in sun6i_dma_free_desc() 382 p_lli = txd->p_lli; in sun6i_dma_free_desc() 383 v_lli = txd->v_lli; in sun6i_dma_free_desc() [all …]
|
D | ep93xx_dma.c | 128 struct dma_async_tx_descriptor txd; member 256 d->txd.callback = desc->txd.callback; in ep93xx_dma_set_active() 257 d->txd.callback_param = desc->txd.callback_param; in ep93xx_dma_set_active() 300 return !desc->txd.cookie; in ep93xx_dma_advance_active() 428 desc->txd.cookie, desc->src_addr, desc->dst_addr, in m2p_hw_interrupt() 619 last_done = !desc || desc->txd.cookie; in m2m_hw_interrupt() 683 if (async_tx_test_ack(&desc->txd)) { in ep93xx_dma_desc_get() 691 desc->txd.cookie = 0; in ep93xx_dma_desc_get() 692 desc->txd.callback = NULL; in ep93xx_dma_desc_get() 693 desc->txd.callback_param = NULL; in ep93xx_dma_desc_get() [all …]
|
D | at_hdmac.c | 117 dma_async_tx_descriptor_init(&desc->txd, chan); in atc_alloc_descriptor() 119 desc->txd.flags = DMA_CTRL_ACK; in atc_alloc_descriptor() 120 desc->txd.tx_submit = atc_tx_submit; in atc_alloc_descriptor() 121 desc->txd.phys = phys; in atc_alloc_descriptor() 142 if (async_tx_test_ack(&desc->txd)) { in atc_desc_get() 209 (*prev)->lli.dscr = desc->txd.phys; in atc_desc_chain() 250 channel_writel(atchan, DSCR, first->txd.phys); in atc_dostart() 271 if (desc->txd.cookie == cookie) in atc_get_desc_by_cookie() 276 if (desc->txd.cookie == cookie) in atc_get_desc_by_cookie() 449 struct dma_async_tx_descriptor *txd = &desc->txd; in atc_chain_complete() local [all …]
|
D | pch_dma.c | 93 struct dma_async_tx_descriptor txd; member 146 struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd) in to_pd_desc() argument 148 return container_of(txd, struct pch_dma_desc, txd); in to_pd_desc() 351 channel_writel(pd_chan, NEXT, desc->txd.phys); in pdc_dostart() 359 struct dma_async_tx_descriptor *txd = &desc->txd; in pdc_chain_complete() local 362 dmaengine_desc_get_callback(txd, &cb); in pdc_chain_complete() 400 bad_desc->txd.cookie); in pdc_handle_error() 416 static dma_cookie_t pd_tx_submit(struct dma_async_tx_descriptor *txd) in pd_tx_submit() argument 418 struct pch_dma_desc *desc = to_pd_desc(txd); in pd_tx_submit() 419 struct pch_dma_chan *pd_chan = to_pd_chan(txd->chan); in pd_tx_submit() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/ |
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 …]
|
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 …]
|
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)
|
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)
|
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/ |
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-v4.19/include/linux/ |
D | dmaengine.h | 561 static inline void txd_lock(struct dma_async_tx_descriptor *txd) in txd_lock() argument 564 static inline void txd_unlock(struct dma_async_tx_descriptor *txd) in txd_unlock() argument 567 static inline void txd_chain(struct dma_async_tx_descriptor *txd, struct dma_async_tx_descriptor *n… in txd_chain() argument 571 static inline void txd_clear_parent(struct dma_async_tx_descriptor *txd) in txd_clear_parent() argument 574 static inline void txd_clear_next(struct dma_async_tx_descriptor *txd) in txd_clear_next() argument 577 static inline struct dma_async_tx_descriptor *txd_next(struct dma_async_tx_descriptor *txd) in txd_next() argument 581 static inline struct dma_async_tx_descriptor *txd_parent(struct dma_async_tx_descriptor *txd) in txd_parent() argument 587 static inline void txd_lock(struct dma_async_tx_descriptor *txd) in txd_lock() argument 589 spin_lock_bh(&txd->lock); in txd_lock() 591 static inline void txd_unlock(struct dma_async_tx_descriptor *txd) in txd_unlock() argument [all …]
|
/Linux-v4.19/drivers/rapidio/devices/ |
D | tsi721_dma.c | 70 struct tsi721_tx_desc *to_tsi721_desc(struct dma_async_tx_descriptor *txd) in to_tsi721_desc() argument 72 return container_of(txd, struct tsi721_tx_desc, txd); in to_tsi721_desc() 387 struct dma_async_tx_descriptor *txd = &desc->txd; in tsi721_dma_tx_err() local 388 dma_async_tx_callback callback = txd->callback; in tsi721_dma_tx_err() 389 void *param = txd->callback_param; in tsi721_dma_tx_err() 423 struct dma_chan *dchan = desc->txd.chan; in tsi721_submit_sg() 653 dma_cookie_complete(&desc->txd); in tsi721_dma_tasklet() 679 dma_cookie_complete(&desc->txd); in tsi721_dma_tasklet() 680 if (desc->txd.flags & DMA_PREP_INTERRUPT) { in tsi721_dma_tasklet() 681 callback = desc->txd.callback; in tsi721_dma_tasklet() [all …]
|
/Linux-v4.19/drivers/media/pci/mantis/ |
D | mantis_i2c.c | 87 u32 txd = 0, stat, trials; in mantis_i2c_write() local 94 txd = (msg->addr << 25) | (msg->buf[i] << 8) in mantis_i2c_write() 100 txd &= ~MANTIS_I2C_STOP; in mantis_i2c_write() 103 mmwrite(txd, MANTIS_I2CDATA_CTL); in mantis_i2c_write() 131 u32 stat, data, txd; in mantis_i2c_xfer() local 154 txd = msgs[i].addr << 25 | (0x1 << 24) in mantis_i2c_xfer() 158 mmwrite(txd, MANTIS_I2CDATA_CTL); in mantis_i2c_xfer()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | mx3fb.c | 269 struct dma_async_tx_descriptor *txd; member 397 if (mx3_fbi->txd) in sdc_enable_channel() 399 to_tx_desc(mx3_fbi->txd), to_tx_desc(mx3_fbi->txd)->sg); in sdc_enable_channel() 405 mx3_fbi->txd = dmaengine_prep_slave_sg(dma_chan, in sdc_enable_channel() 407 if (!mx3_fbi->txd) { in sdc_enable_channel() 413 mx3_fbi->txd->callback_param = mx3_fbi->txd; in sdc_enable_channel() 414 mx3_fbi->txd->callback = mx3fb_dma_done; in sdc_enable_channel() 416 cookie = mx3_fbi->txd->tx_submit(mx3_fbi->txd); in sdc_enable_channel() 418 mx3_fbi->txd, cookie, list_empty(&ichan->queue) ? '-' : '+'); in sdc_enable_channel() 420 if (!mx3_fbi->txd || !mx3_fbi->txd->tx_submit) { in sdc_enable_channel() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/arm/marvell/ |
D | cp110-system-controller.txt | 92 mpp1 1 gpio, dev(ale0), au(i2sdo_spdifo), ge0(rxd2), tdm(drx), ptp(clk), mss_i2c(sck), uart0(txd), … 94 …ev(ad14), au(i2slrclk), ge0(rxd0), tdm(fsync), mss_uart(txd), pcie(rstoutn), i2c1(sda), uart1(txd)… 96 … dev(ad12), au(i2sdi), ge0(rxclk), tdm(intn), mss_uart(txd), uart1(rts), pcie1(clkreq), uart3(txd)… 98 mpp7 7 gpio, dev(ad10), ge0(txd2), spi0(csn1), spi1(csn1), sata0(present_act), led(data), uart0(txd… 102 mpp11 11 gpio, dev(wen1), ge0(txclkout), spi0(clk), spi1(clk), uart0(rts), led(clk), uart2(txd), sa… 121 …), spi0(csn7), pcie0(clkreq), ptp(pclk_out), mss_i2c(sck), sata1(present_act), uart0(txd), led(clk) 129 mpp38 38 gpio, uart2(txd), i2c0(sda), ptp(pulse), tdm(rstn), mss_i2c(sda), sata0(present_act), ge(m… 131 …nce1(clk), mss_i2c(sda), au(i2sdo_spdifo), ptp(pclk_out), spi0(clk), uart1(txd), ge(mdio), sata0(p… 133 mpp42 42 gpio, sdio(v18_en), sdio(wr_protect), synce2(clk), au(i2smclk), mss_uart(txd), spi0(miso),… 136 mpp45 45 gpio, ge1(txd3), uart0(txd), pcie(rstoutn) [all …]
|
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_a0.c | 430 struct hw_atl_txd_s *txd = NULL; in hw_atl_a0_hw_ring_tx_xmit() local 440 txd = (struct hw_atl_txd_s *)&ring->dx_ring[ring->sw_tail * in hw_atl_a0_hw_ring_tx_xmit() 442 txd->ctl = 0; in hw_atl_a0_hw_ring_tx_xmit() 443 txd->ctl2 = 0; in hw_atl_a0_hw_ring_tx_xmit() 444 txd->buf_addr = 0; in hw_atl_a0_hw_ring_tx_xmit() 449 txd->ctl |= (buff->len_l3 << 31) | in hw_atl_a0_hw_ring_tx_xmit() 453 txd->ctl2 |= (buff->mss << 16) | in hw_atl_a0_hw_ring_tx_xmit() 463 txd->ctl |= HW_ATL_A0_TXD_CTL_CMD_IPV6; in hw_atl_a0_hw_ring_tx_xmit() 467 txd->buf_addr = buff->pa; in hw_atl_a0_hw_ring_tx_xmit() 468 txd->ctl |= (HW_ATL_A0_TXD_CTL_BLEN & in hw_atl_a0_hw_ring_tx_xmit() [all …]
|
D | hw_atl_b0.c | 468 struct hw_atl_txd_s *txd = NULL; in hw_atl_b0_hw_ring_tx_xmit() local 478 txd = (struct hw_atl_txd_s *)&ring->dx_ring[ring->sw_tail * in hw_atl_b0_hw_ring_tx_xmit() 480 txd->ctl = 0; in hw_atl_b0_hw_ring_tx_xmit() 481 txd->ctl2 = 0; in hw_atl_b0_hw_ring_tx_xmit() 482 txd->buf_addr = 0; in hw_atl_b0_hw_ring_tx_xmit() 487 txd->ctl |= (buff->len_l3 << 31) | in hw_atl_b0_hw_ring_tx_xmit() 491 txd->ctl2 |= (buff->mss << 16) | in hw_atl_b0_hw_ring_tx_xmit() 501 txd->ctl |= HW_ATL_B0_TXD_CTL_CMD_IPV6; in hw_atl_b0_hw_ring_tx_xmit() 505 txd->buf_addr = buff->pa; in hw_atl_b0_hw_ring_tx_xmit() 506 txd->ctl |= (HW_ATL_B0_TXD_CTL_BLEN & in hw_atl_b0_hw_ring_tx_xmit() [all …]
|
/Linux-v4.19/drivers/staging/mt7621-eth/ |
D | mtk_eth_soc.c | 271 static inline void mtk_set_txd_pdma(struct mtk_tx_dma *txd, in mtk_set_txd_pdma() argument 274 WRITE_ONCE(dma_txd->txd1, txd->txd1); in mtk_set_txd_pdma() 275 WRITE_ONCE(dma_txd->txd3, txd->txd3); in mtk_set_txd_pdma() 276 WRITE_ONCE(dma_txd->txd4, txd->txd4); in mtk_set_txd_pdma() 278 WRITE_ONCE(dma_txd->txd2, txd->txd2); in mtk_set_txd_pdma() 618 struct mtk_tx_dma txd, *ptxd; in mtk_pdma_tx_map() local 632 memset(&txd, 0, sizeof(txd)); in mtk_pdma_tx_map() 637 txd.txd4 = def_txd4; in mtk_pdma_tx_map() 640 txd.txd4 |= (mac->id + 1) << TX_DMA_FPORT_SHIFT; in mtk_pdma_tx_map() 643 txd.txd4 |= TX_DMA_TSO; in mtk_pdma_tx_map() [all …]
|
/Linux-v4.19/drivers/dma/ioat/ |
D | prep.c | 151 desc->txd.flags = flags; in ioat_dma_prep_memcpy_lock() 159 return &desc->txd; in ioat_dma_prep_memcpy_lock() 235 desc->txd.flags = flags; in __ioat_prep_xor_lock() 243 compl_desc->txd.flags = flags & DMA_PREP_INTERRUPT; in __ioat_prep_xor_lock() 253 return &compl_desc->txd; in __ioat_prep_xor_lock() 301 desc_id(desc), (unsigned long long) desc->txd.phys, in dump_pq_desc_dbg() 303 desc->txd.flags, pq->size, pq->ctl, pq->ctl_f.op, in dump_pq_desc_dbg() 334 desc_id(desc), (unsigned long long) desc->txd.phys, in dump_pq16_desc_dbg() 336 desc->txd.flags, pq->size, pq->ctl, in dump_pq16_desc_dbg() 445 desc->txd.flags = flags; in __ioat_prep_pq_lock() [all …]
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugfs.c | 126 struct nfp_net_tx_desc *txd; in nfp_net_debugfs_tx_q_read() local 155 txd = &tx_ring->txds[i]; in nfp_net_debugfs_tx_q_read() 157 txd->vals[0], txd->vals[1], in nfp_net_debugfs_tx_q_read() 158 txd->vals[2], txd->vals[3]); in nfp_net_debugfs_tx_q_read()
|