| /linux/drivers/dma/ |
| H A D | sa11x0-dma.c | 148 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() 154 dev_vdbg(p->dev->slave.dev, "pchan %u: txd %p[%x]: starting: DDAR:%x\n", 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() [all …]
|
| H A D | owl-dma.c | 163 * @node: node for txd's lli_list 199 * @txd: active transaction on this channel 206 struct owl_dma_txd *txd; member 364 static struct owl_dma_lli *owl_dma_add_lli(struct owl_dma_txd *txd, in owl_dma_add_lli() argument 370 list_add_tail(&next->node, &txd->lli_list); in owl_dma_add_lli() 540 struct owl_dma_txd *txd = to_owl_txd(&vd->tx); in owl_dma_start_next_txd() local 547 vchan->txd = txd; in owl_dma_start_next_txd() 553 lli = list_first_entry(&txd->lli_list, in owl_dma_start_next_txd() 556 if (txd->cyclic) in owl_dma_start_next_txd() 641 struct owl_dma_txd *txd; in owl_dma_interrupt() local [all …]
|
| H A D | timb_dma.c | 64 struct dma_async_tx_descriptor txd; member 199 iowrite32(td_desc->txd.phys, td_chan->membase + in __td_start_dma() 209 iowrite32(td_desc->txd.phys, td_chan->membase + in __td_start_dma() 222 struct dma_async_tx_descriptor *txd; in __td_finish() local 231 txd = &td_desc->txd; in __td_finish() 234 txd->cookie); in __td_finish() 243 dma_cookie_complete(txd); in __td_finish() 246 dmaengine_desc_get_callback(txd, &cb); in __td_finish() 250 dma_descriptor_unmap(txd); in __td_finish() 288 __func__, td_desc->txd.cookie); in __td_start_next() [all …]
|
| H A D | amba-pl08x.c | 177 * @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 765 txd = plchan->at; in pl08x_getbytes_chan() [all …]
|
| H A D | txx9dmac.c | 139 txd_to_txx9dmac_desc(struct dma_async_tx_descriptor *txd) in txd_to_txx9dmac_desc() argument 141 return container_of(txd, struct txx9dmac_desc, txd); in txd_to_txx9dmac_desc() 199 dma_async_tx_descriptor_init(&desc->txd, &dc->chan); in txx9dmac_desc_alloc() 200 desc->txd.tx_submit = txx9dmac_tx_submit; in txx9dmac_desc_alloc() 201 /* txd.flags will be overwritten in prep funcs */ in txx9dmac_desc_alloc() 202 desc->txd.flags = DMA_CTRL_ACK; in txx9dmac_desc_alloc() 203 desc->txd.phys = dma_map_single(chan2parent(&dc->chan), &desc->hwdesc, in txx9dmac_desc_alloc() 216 if (async_tx_test_ack(&desc->txd)) { in txx9dmac_desc_get() 249 child->txd.phys, ddev->descsize, in txx9dmac_sync_desc_for_cpu() 252 desc->txd.phys, ddev->descsize, in txx9dmac_sync_desc_for_cpu() [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 | sun6i-dma.c | 352 struct sun6i_desc *txd = pchan->desc; in sun6i_get_chan_size() local 363 for (lli = txd->v_lli; lli; lli = lli->v_lli_next) { in sun6i_get_chan_size() 377 struct sun6i_desc *txd) in sun6i_dma_lli_add() argument 379 if ((!prev && !txd) || !next) in sun6i_dma_lli_add() 383 txd->p_lli = next_phy; in sun6i_dma_lli_add() 384 txd->v_lli = next; in sun6i_dma_lli_add() 411 struct sun6i_desc *txd = to_sun6i_desc(&vd->tx); in sun6i_dma_free_desc() local 416 if (unlikely(!txd)) in sun6i_dma_free_desc() 419 p_lli = txd->p_lli; in sun6i_dma_free_desc() 420 v_lli = txd->v_lli; in sun6i_dma_free_desc() [all …]
|
| H A D | pch_dma.c | 85 struct dma_async_tx_descriptor txd; member 138 struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd) in to_pd_desc() argument 140 return container_of(txd, struct pch_dma_desc, txd); in to_pd_desc() 338 channel_writel(pd_chan, NEXT, desc->txd.phys); in pdc_dostart() 346 struct dma_async_tx_descriptor *txd = &desc->txd; in pdc_chain_complete() local 349 dmaengine_desc_get_callback(txd, &cb); in pdc_chain_complete() 387 bad_desc->txd.cookie); in pdc_handle_error() 403 static dma_cookie_t pd_tx_submit(struct dma_async_tx_descriptor *txd) in pd_tx_submit() argument 405 struct pch_dma_desc *desc = to_pd_desc(txd); in pd_tx_submit() 406 struct pch_dma_chan *pd_chan = to_pd_chan(txd->chan); in pd_tx_submit() [all …]
|
| H A D | ep93xx_dma.c | 144 * @txd: dmaengine API descriptor 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() 359 * If txd.cookie is set it means that we are back in the first in ep93xx_dma_advance_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() [all …]
|
| /linux/drivers/net/fddi/skfp/h/ |
| H A D | hwmtm.h | 62 #define LAST_FRAG 0x08 /* last TxD of the frame */ 63 #define FIRST_FRAG 0x10 /* first TxD of the frame */ 127 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) 203 * the physical address of the specified 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) [all …]
|
| H A D | fplustm.h | 52 __le32 txd_ntdadr ; /* physical pointer to the next TxD */ 57 /* virt pointer to the next TxD */ 83 struct s_smt_fp_txd t ; /* pointer to the TxD */ 88 * TxD Ring Control struct 91 struct s_smt_fp_txd volatile *tx_curr_put ; /* next free TxD */ 93 struct s_smt_fp_txd volatile *tx_curr_get ; /* next TxD to release*/ 94 u_short tx_free ; /* count of free TxD's */ 95 u_short tx_used ; /* count of used TxD's */
|
| /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)
|
| /linux/drivers/pinctrl/mvebu/ |
| H A D | pinctrl-ac5.c | 40 MPP_FUNCTION(3, "uart3", "txd"), 41 MPP_FUNCTION(4, "uart2", "txd")), 90 MPP_FUNCTION(3, "uart1", "txd")), 104 MPP_FUNCTION(2, "uart2", "txd")), 109 MPP_FUNCTION(4, "uart3", "txd")), 124 MPP_FUNCTION(2, "uart2", "txd"), 125 MPP_FUNCTION(3, "uartsd", "txd")), 135 MPP_FUNCTION(3, "uart3", "txd")), 145 MPP_FUNCTION(3, "uart3", "txd")), 163 MPP_FUNCTION(1, "uart0", "txd")), [all …]
|
| H A D | pinctrl-armada-cp110.c | 60 MPP_FUNCTION(8, "uart0", "txd"), 81 MPP_FUNCTION(5, "mss_uart", "txd"), 84 MPP_FUNCTION(8, "uart1", "txd"), 104 MPP_FUNCTION(5, "mss_uart", "txd"), 107 MPP_FUNCTION(8, "uart3", "txd"), 127 MPP_FUNCTION(8, "uart0", "txd"), 164 MPP_FUNCTION(8, "uart2", "txd"), 294 MPP_FUNCTION(10, "uart0", "txd"), 375 MPP_FUNCTION(1, "uart2", "txd"), 402 MPP_FUNCTION(7, "uart1", "txd"), [all …]
|
| H A D | pinctrl-armada-39x.c | 34 MPP_VAR_FUNCTION(1, "ua0", "txd", V_88F6920_PLUS)), 43 MPP_VAR_FUNCTION(2, "ua1", "txd", V_88F6920_PLUS), 89 MPP_VAR_FUNCTION(7, "ua1", "txd", V_88F6920_PLUS)), 110 MPP_VAR_FUNCTION(3, "ua1", "txd", V_88F6920_PLUS), 123 MPP_VAR_FUNCTION(6, "ua1", "txd", V_88F6920_PLUS), 152 MPP_VAR_FUNCTION(3, "ua1", "txd", V_88F6920_PLUS), 238 MPP_VAR_FUNCTION(1, "ua1", "txd", V_88F6920_PLUS), 265 MPP_VAR_FUNCTION(6, "ua1", "txd", V_88F6920_PLUS), 282 MPP_VAR_FUNCTION(7, "ua1", "txd", V_88F6920_PLUS)), 303 MPP_VAR_FUNCTION(7, "ua2", "txd", V_88F6920_PLUS)), [all …]
|
| /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/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()
|
| /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/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/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 …]
|
| /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() 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/arch/arm64/boot/dts/renesas/ |
| H A D | rzg2lc-smarc-pinfunction.dtsi | 18 pinmux = <RZG2L_PORT_PINMUX(40, 0, 3)>, /* TxD */ 33 pinmux = <RZG2L_PORT_PINMUX(44, 0, 3)>, /* TxD */ 63 pinmux = <RZG2L_PORT_PINMUX(38, 0, 1)>, /* TxD */ 68 pinmux = <RZG2L_PORT_PINMUX(40, 0, 1)>, /* TxD */ 128 <RZG2L_PORT_PINMUX(45, 2, 1)>, /* TXD */
|