Home
last modified time | relevance | path

Searched refs:txd (Results 1 – 25 of 96) sorted by relevance

1234

/linux/drivers/dma/
H A Dsa11x0-dma.c148 static void sa11x0_dma_start_desc(struct sa11x0_dma_phy *p, struct sa11x0_dma_desc *txd) in sa11x0_dma_start_desc() argument
150 list_del(&txd->vd.node); in sa11x0_dma_start_desc()
151 p->txd_load = txd; in sa11x0_dma_start_desc()
155 p->num, &txd->vd, txd->vd.tx.cookie, txd->ddar); in sa11x0_dma_start_desc()
161 struct sa11x0_dma_desc *txd = p->txd_load; in sa11x0_dma_start_sg() local
167 if (!txd) in sa11x0_dma_start_sg()
176 if (p->sg_load == txd->sglen) { in sa11x0_dma_start_sg()
177 if (!txd->cyclic) { in sa11x0_dma_start_sg()
185 if (txn && txn->ddar == txd->ddar) { in sa11x0_dma_start_sg()
186 txd = txn; in sa11x0_dma_start_sg()
[all …]
H A Dowl-dma.c163 * @node: node for txd's lli_list
199 * @txd: active transaction on this channel
206 struct owl_dma_txd *txd; member
359 static struct owl_dma_lli *owl_dma_add_lli(struct owl_dma_txd *txd, in owl_dma_alloc_lli()
365 list_add_tail(&next->node, &txd->lli_list); in owl_dma_add_lli()
535 struct owl_dma_txd *txd = to_owl_txd(&vd->tx); in owl_dma_start_next_txd()
542 vchan->txd = txd; in owl_dma_start_next_txd()
548 lli = list_first_entry(&txd->lli_list, in owl_dma_start_next_txd()
551 if (txd in owl_dma_start_next_txd()
364 owl_dma_add_lli(struct owl_dma_txd * txd,struct owl_dma_lli * prev,struct owl_dma_lli * next,bool is_cyclic) owl_dma_add_lli() argument
540 struct owl_dma_txd *txd = to_owl_txd(&vd->tx); owl_dma_start_next_txd() local
641 struct owl_dma_txd *txd; owl_dma_interrupt() local
676 owl_dma_free_txd(struct owl_dma * od,struct owl_dma_txd * txd) owl_dma_free_txd() argument
692 struct owl_dma_txd *txd = to_owl_txd(&vd->tx); owl_dma_desc_free() local
774 struct owl_dma_txd *txd; owl_dma_getbytes_chan() local
811 struct owl_dma_txd *txd; owl_dma_tx_status() local
873 struct owl_dma_txd *txd; owl_dma_prep_memcpy() local
925 struct owl_dma_txd *txd; owl_dma_prep_slave_sg() local
990 struct owl_dma_txd *txd; owl_prep_dma_cyclic() local
[all...]
H A Dtimb_dma.c64 struct dma_async_tx_descriptor txd; member
194 iowrite32(td_desc->txd.phys, td_chan->membase + in __td_start_dma()
204 iowrite32(td_desc->txd.phys, td_chan->membase + in __td_start_dma()
217 struct dma_async_tx_descriptor *txd; in __td_start_dma()
226 txd = &td_desc->txd; in __td_finish()
229 txd->cookie); in __td_finish()
238 dma_cookie_complete(txd); in __td_finish()
241 dmaengine_desc_get_callback(txd, &cb); in __td_finish()
245 dma_descriptor_unmap(txd); in __td_finish()
222 struct dma_async_tx_descriptor *txd; __td_finish() local
294 td_tx_submit(struct dma_async_tx_descriptor * txd) td_tx_submit() argument
[all...]
H A Damba-pl08x.c177 * @node: node for txd's dsg_list
192 * @cctl: control reg values for current txd
193 * @ccfg: config reg values for current txd
207 * trigger this txd. Other registers are in llis_va[0].
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
1107 struct pl08x_txd *txd; global() member
1258 pl08x_fill_llis_for_desc(struct pl08x_driver_data * pl08x,struct pl08x_txd * txd) pl08x_fill_llis_for_desc() argument
1493 pl08x_free_txd(struct pl08x_driver_data * pl08x,struct pl08x_txd * txd) pl08x_free_txd() argument
1510 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); pl08x_desc_free() local
1572 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); pl08x_dma_tx_status() local
1746 struct pl08x_txd *txd = kzalloc_obj(*txd, GFP_NOWAIT); pl08x_get_txd() local
1887 struct pl08x_txd *txd; pl08x_prep_dma_memcpy() local
1935 struct pl08x_txd *txd; pl08x_init_txd() local
2015 pl08x_tx_add_sg(struct pl08x_txd * txd,enum dma_transfer_direction direction,dma_addr_t slave_addr,dma_addr_t buf_addr,unsigned int len) pl08x_tx_add_sg() argument
2048 struct pl08x_txd *txd; pl08x_prep_slave_sg() local
2090 struct pl08x_txd *txd; pl08x_prep_dma_cyclic() local
[all...]
H A Dtxx9dmac.c134 txd_to_txx9dmac_desc(struct dma_async_tx_descriptor *txd) in chan2parent()
136 return container_of(txd, struct txx9dmac_desc, txd); in chan2parent()
194 dma_async_tx_descriptor_init(&desc->txd, &dc->chan); in txx9dmac_desc_alloc()
195 desc->txd.tx_submit = txx9dmac_tx_submit; in txx9dmac_desc_alloc()
196 /* txd.flags will be overwritten in prep funcs */ in txx9dmac_desc_alloc()
197 desc->txd.flags = DMA_CTRL_ACK; in txx9dmac_desc_alloc()
198 desc->txd.phys = dma_map_single(chan2parent(&dc->chan), &desc->hwdesc, in txx9dmac_desc_alloc()
211 if (async_tx_test_ack(&desc->txd)) { in txx9dmac_desc_get()
244 child->txd in txx9dmac_sync_desc_for_cpu()
139 txd_to_txx9dmac_desc(struct dma_async_tx_descriptor * txd) txd_to_txx9dmac_desc() argument
403 struct dma_async_tx_descriptor *txd = &desc->txd; txx9dmac_descriptor_complete() local
[all...]
H A Dsun6i-dma.c389 struct sun6i_desc *txd = pchan->desc; in sun6i_dma_lli_add()
402 for (lli = txd->v_lli; lli; lli = lli->v_lli_next) { in sun6i_dma_dump_lli()
416 struct sun6i_desc *txd) in sun6i_dma_free_desc()
418 if ((!prev && !txd) || !next) in sun6i_dma_free_desc()
422 txd->p_lli = next_phy; in sun6i_dma_free_desc()
423 txd->v_lli = next; in sun6i_dma_free_desc()
449 struct sun6i_desc *txd) in sun6i_dma_start_desc()
454 p_lli = txd->p_lli; in sun6i_dma_start_desc()
455 v_lli = txd->v_lli; in sun6i_dma_start_desc()
467 kfree(txd); in sun6i_dma_start_desc()
352 struct sun6i_desc *txd = pchan->desc; sun6i_get_chan_size() local
379 sun6i_dma_lli_add(struct sun6i_dma_lli * prev,struct sun6i_dma_lli * next,dma_addr_t next_phy,struct sun6i_desc * txd) sun6i_dma_lli_add() argument
413 struct sun6i_desc *txd = to_sun6i_desc(&vd->tx); sun6i_dma_free_desc() local
672 struct sun6i_desc *txd; sun6i_dma_prep_dma_memcpy() local
726 struct sun6i_desc *txd; sun6i_dma_prep_slave_sg() local
812 struct sun6i_desc *txd; sun6i_dma_prep_dma_cyclic() local
997 struct sun6i_desc *txd = to_sun6i_desc(&vd->tx); sun6i_dma_tx_status() local
[all...]
H A Dplx_dma.c98 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()
[all...]
H A Dep93xx_dma.c143 * @txd: dmaengine API descriptor
152 struct dma_async_tx_descriptor txd; member
312 d->txd.callback = desc->txd.callback; in ep93xx_dma_set_active()
313 d->txd.callback_param = desc->txd.callback_param; in ep93xx_dma_set_active()
353 * If txd.cookie is set it means that we are back in the first in ep93xx_dma_advance_active()
356 return !desc->txd.cookie; in ep93xx_dma_advance_active()
483 desc->txd.cookie, desc->src_addr, desc->dst_addr, in m2p_hw_interrupt()
672 last_done = !desc || desc->txd in m2m_hw_interrupt()
[all...]
/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A Dipsec.c10 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 Drings.c203 struct nfp_nfd3_tx_desc *txd; in nfp_nfd3_print_tx_descs() local
211 txd = &tx_ring->txds[i]; in nfp_nfd3_print_tx_descs()
213 txd->vals[0], txd->vals[1], in nfp_nfd3_print_tx_descs()
214 txd->vals[2], txd->vals[3]); in nfp_nfd3_print_tx_descs()
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,armada-39x-pinctrl.txt19 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 Dmarvell,kirkwood-pinctrl.txt29 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 Dmarvell,armada-370-pinctrl.txt17 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 Dmarvell,armada-38x-pinctrl.txt19 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/drivers/rapidio/devices/
H A Dtsi721_dma.c58 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 Dfm10k_debugfs.c60 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/drivers/media/pci/mantis/
H A Dmantis_i2c.c75 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/include/linux/
H A Ddmaengine.h706 static inline void txd_lock(struct dma_async_tx_descriptor *txd) in txd_lock()
709 static inline void txd_unlock(struct dma_async_tx_descriptor *txd) in txd_unlock()
712 static inline void txd_chain(struct dma_async_tx_descriptor *txd, struct dma_async_tx_descriptor *next) in txd_chain() argument
716 static inline void txd_clear_parent(struct dma_async_tx_descriptor *txd) in txd_chain()
719 static inline void txd_clear_next(struct dma_async_tx_descriptor *txd) in txd_clear_parent()
722 static inline struct dma_async_tx_descriptor *txd_next(struct dma_async_tx_descriptor *txd) in txd_clear_next()
726 static inline struct dma_async_tx_descriptor *txd_parent(struct dma_async_tx_descriptor *txd) in txd_parent()
732 static inline void txd_lock(struct dma_async_tx_descriptor *txd) in txd_next()
734 spin_lock_bh(&txd->lock);
736 static inline void txd_unlock(struct dma_async_tx_descriptor *txd)
678 txd_lock(struct dma_async_tx_descriptor * txd) txd_lock() argument
681 txd_unlock(struct dma_async_tx_descriptor * txd) txd_unlock() argument
684 txd_chain(struct dma_async_tx_descriptor * txd,struct dma_async_tx_descriptor * next) txd_chain() argument
688 txd_clear_parent(struct dma_async_tx_descriptor * txd) txd_clear_parent() argument
691 txd_clear_next(struct dma_async_tx_descriptor * txd) txd_clear_next() argument
694 txd_next(struct dma_async_tx_descriptor * txd) txd_next() argument
698 txd_parent(struct dma_async_tx_descriptor * txd) txd_parent() argument
704 txd_lock(struct dma_async_tx_descriptor * txd) txd_lock() argument
708 txd_unlock(struct dma_async_tx_descriptor * txd) txd_unlock() argument
717 txd_clear_parent(struct dma_async_tx_descriptor * txd) txd_clear_parent() argument
721 txd_clear_next(struct dma_async_tx_descriptor * txd) txd_clear_next() argument
725 txd_parent(struct dma_async_tx_descriptor * txd) txd_parent() argument
729 txd_next(struct dma_async_tx_descriptor * txd) txd_next() argument
[all...]
/linux/drivers/dma/dw/
H A Dcore.c68 __func__, desc->txd.cookie); in dwc_tx_submit()
85 dma_async_tx_descriptor_init(&desc->txd, &dwc->chan); in dwc_desc_get()
86 desc->txd.tx_submit = dwc_tx_submit; in dwc_desc_get()
87 desc->txd.flags = DMA_CTRL_ACK; in dwc_desc_get()
88 desc->txd.phys = phys; in dwc_desc_get()
102 dma_pool_free(dw->desc_pool, child, child->txd.phys); in dwc_desc_put()
106 dma_pool_free(dw->desc_pool, desc, desc->txd.phys); in dwc_desc_put()
206 channel_writel(dwc, LLP, first->txd.phys | lms); in dwc_dostart()
221 dev_vdbg(dmaengine_chan_dev(&dwc->chan), "%s: started %u\n", __func__, desc->txd.cookie); in dwc_dostart_first_queued()
231 struct dma_async_tx_descriptor *txd
236 struct dma_async_tx_descriptor *txd = &desc->txd; dwc_descriptor_complete() local
[all...]
/linux/drivers/dma/ioat/
H A Dprep.c139 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 Ddma.c232 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 Ddma.c46 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()
286 dma_async_tx_descriptor_init(&desc->txd, chan); in idxd_register_dma_channel()
287 desc->txd.tx_submit = idxd_dma_tx_submit; in idxd_register_dma_channel()
/linux/drivers/spi/
H A Dspi-altera-core.c91 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()
/linux/drivers/dma/mediatek/
H A Dmtk-hsdma.c154 * @txd: The descriptor TX ring which describes DMA source
165 struct mtk_hsdma_pdesc *txd; member
326 pc->sz_ring = 2 * MTK_DMA_SIZE * sizeof(*ring->txd); in mtk_hsdma_alloc_pchan()
327 ring->txd = dma_alloc_coherent(hsdma2dev(hsdma), pc->sz_ring, in mtk_hsdma_alloc_pchan()
329 if (!ring->txd) in mtk_hsdma_alloc_pchan()
332 ring->rxd = &ring->txd[MTK_DMA_SIZE]; in mtk_hsdma_alloc_pchan()
333 ring->rphys = ring->tphys + MTK_DMA_SIZE * sizeof(*ring->txd); in mtk_hsdma_alloc_pchan()
383 pc->sz_ring, ring->txd, ring->tphys); in mtk_hsdma_alloc_pchan()
408 pc->sz_ring, ring->txd, ring->tphys); in mtk_hsdma_free_pchan()
416 struct mtk_hsdma_pdesc *txd, *rx in mtk_hsdma_issue_pending_vdesc() local
[all...]
/linux/drivers/net/fddi/skfp/h/
H A Dhwmtm.h127 SMbuf *txd_tx_pipe ; /* points to first mb in the txd ring */
128 SMbuf *txd_tx_tail ; /* points to last mb in the txd ring */
129 int queued_txd_mb ; /* number of SMT MBufs in txd ring */
199 * u_long HWM_GET_TX_PHYS(txd)
205 * para txd pointer to the TxD
209 #define HWM_GET_TX_PHYS(txd) (u_long)AIX_REVERSE((txd)->txd_tbadr) argument
213 * int HWM_GET_TX_LEN(txd)
225 #define HWM_GET_TX_LEN(txd) ((int)AIX_REVERSE((txd) argument
[all...]

1234