Home
last modified time | relevance | path

Searched refs:tx_chan (Results 1 – 27 of 27) sorted by relevance

/linux-4.4.14/drivers/spi/
Dspi-pxa2xx-dma.c33 dmadev = drv_data->tx_chan->device->dev; in pxa2xx_spi_map_dma_buffer()
81 dmadev = drv_data->tx_chan->device->dev; in pxa2xx_spi_unmap_dma_buffer()
192 chan = drv_data->tx_chan; in pxa2xx_spi_dma_prepare_one()
258 dmaengine_terminate_all(drv_data->tx_chan); in pxa2xx_spi_dma_transfer()
297 dma_async_issue_pending(drv_data->tx_chan); in pxa2xx_spi_dma_start()
315 drv_data->tx_chan = dma_request_slave_channel_compat(mask, in pxa2xx_spi_dma_setup()
317 if (!drv_data->tx_chan) in pxa2xx_spi_dma_setup()
323 dma_release_channel(drv_data->tx_chan); in pxa2xx_spi_dma_setup()
324 drv_data->tx_chan = NULL; in pxa2xx_spi_dma_setup()
339 if (drv_data->tx_chan) { in pxa2xx_spi_dma_release()
[all …]
Dspi-sirf.c275 struct dma_chan *tx_chan; member
560 tx_desc = dmaengine_prep_slave_single(sspi->tx_chan, in spi_sirfsoc_dma_transfer()
568 dma_async_issue_pending(sspi->tx_chan); in spi_sirfsoc_dma_transfer()
594 dmaengine_terminate_all(sspi->tx_chan); in spi_sirfsoc_dma_transfer()
1138 sspi->tx_chan = dma_request_slave_channel(&pdev->dev, "tx"); in spi_sirfsoc_probe()
1139 if (!sspi->tx_chan) { in spi_sirfsoc_probe()
1168 dma_release_channel(sspi->tx_chan); in spi_sirfsoc_probe()
1188 dma_release_channel(sspi->tx_chan); in spi_sirfsoc_remove()
Dspi-pxa2xx.h54 struct dma_chan *tx_chan; member
/linux-4.4.14/drivers/ide/
Dau1xxx-ide.c81 if (!au1xxx_dbdma_put_source(ahwif->tx_chan, virt_to_phys(addr), in auide_outsw()
86 ctp = *((chan_tab_t **)ahwif->tx_chan); in auide_outsw()
252 if (!au1xxx_dbdma_put_source(ahwif->tx_chan, in auide_build_dmatable()
378 auide->tx_chan = au1xxx_dbdma_chan_alloc(auide->target_dev_id, in auide_ddma_init()
389 auide->tx_desc_head = (void*)au1xxx_dbdma_ring_alloc(auide->tx_chan, in auide_ddma_init()
397 au1xxx_dbdma_start( auide->tx_chan ); in auide_ddma_init()
425 auide->tx_chan = au1xxx_dbdma_chan_alloc(DSCR_CMD0_ALWAYS, in auide_ddma_init()
436 auide->tx_desc_head = (void*)au1xxx_dbdma_ring_alloc(auide->tx_chan, in auide_ddma_init()
441 au1xxx_dbdma_start( auide->tx_chan ); in auide_ddma_init()
/linux-4.4.14/sound/atmel/
Dac97c.c60 struct dma_chan *tx_chan; member
126 chan = chip->dma.tx_chan; in atmel_ac97c_prepare_dma()
262 dw_dma_cyclic_free(chip->dma.tx_chan); in atmel_ac97c_playback_hw_params()
302 dw_dma_cyclic_free(chip->dma.tx_chan); in atmel_ac97c_playback_hw_free()
513 retval = dw_dma_cyclic_start(chip->dma.tx_chan); in atmel_ac97c_playback_trigger()
525 dw_dma_cyclic_stop(chip->dma.tx_chan); in atmel_ac97c_playback_trigger()
597 bytes = dw_dma_get_src_addr(chip->dma.tx_chan); in atmel_ac97c_playback_pointer()
1086 chip->dma.tx_chan = dma_request_channel(mask, filter, in atmel_ac97c_probe()
1088 if (chip->dma.tx_chan) { in atmel_ac97c_probe()
1100 dmaengine_slave_config(chip->dma.tx_chan, in atmel_ac97c_probe()
[all …]
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c498 ENETDMAC_IR, priv->tx_chan); in bcm_enet_poll()
520 ENETDMAC_IRMASK, priv->tx_chan); in bcm_enet_poll()
564 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->tx_chan); in bcm_enet_isr_dma()
644 ENETDMAC_CHANCFG, priv->tx_chan); in bcm_enet_start_xmit()
923 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->tx_chan); in bcm_enet_open()
1014 ENETDMAS_RSTART_REG, priv->tx_chan); in bcm_enet_open()
1019 ENETDMAC_RSTART, priv->tx_chan); in bcm_enet_open()
1025 enet_dmas_writel(priv, 0, ENETDMAS_SRAM2_REG, priv->tx_chan); in bcm_enet_open()
1027 enet_dmas_writel(priv, 0, ENETDMAS_SRAM3_REG, priv->tx_chan); in bcm_enet_open()
1029 enet_dmas_writel(priv, 0, ENETDMAS_SRAM4_REG, priv->tx_chan); in bcm_enet_open()
[all …]
Dbcm63xx_enet.h251 int tx_chan; member
/linux-4.4.14/drivers/tty/serial/
Dsamsung.c177 if (dma && dma->tx_chan && ourport->tx_in_progress == S3C24XX_TX_DMA) { in s3c24xx_serial_stop_tx()
178 dmaengine_pause(dma->tx_chan); in s3c24xx_serial_stop_tx()
179 dmaengine_tx_status(dma->tx_chan, dma->tx_cookie, &state); in s3c24xx_serial_stop_tx()
180 dmaengine_terminate_all(dma->tx_chan); in s3c24xx_serial_stop_tx()
211 dmaengine_tx_status(dma->tx_chan, dma->tx_cookie, &state); in s3c24xx_serial_tx_dma_complete()
303 dma->tx_desc = dmaengine_prep_slave_single(dma->tx_chan, in s3c24xx_serial_start_tx_dma()
317 dma_async_issue_pending(dma->tx_chan); in s3c24xx_serial_start_tx_dma()
335 if (!ourport->dma || !ourport->dma->tx_chan || in s3c24xx_serial_start_next_tx()
353 if (!ourport->dma || !ourport->dma->tx_chan) in s3c24xx_serial_start_tx()
357 if (ourport->dma && ourport->dma->tx_chan) { in s3c24xx_serial_start_tx()
[all …]
Dsamsung.h58 struct dma_chan *tx_chan; member
/linux-4.4.14/drivers/atm/
Dzatm.c327 zpeekl(zatm_dev,zatm_vcc->tx_chan*VC_SIZE/4+i));
331 qrp = (unsigned long *) zpeekl(zatm_dev,zatm_vcc->tx_chan*VC_SIZE/4+
698 DPRINTK("QRP=0x%08lx\n",zpeekl(zatm_dev,zatm_vcc->tx_chan*VC_SIZE/4+ in do_tx()
701 zout(uPD98401_TX_READY | (zatm_vcc->tx_chan << in do_tx()
877 chan = zatm_vcc->tx_chan; in close_tx()
902 zatm_vcc->tx_chan = 0; in close_tx()
924 zatm_vcc->tx_chan = 0; in open_tx_first()
952 zatm_vcc->tx_chan = chan; in open_tx_first()
980 if (!zatm_vcc->tx_chan) return 0; in open_tx_second()
983 zpokel(zatm_dev,0,zatm_vcc->tx_chan*VC_SIZE/4); in open_tx_second()
[all …]
Dzatm.h47 int tx_chan; /* TX channel, 0 if none */ member
/linux-4.4.14/drivers/usb/renesas_usbhs/
Dfifo.c763 return fifo->tx_chan; in usbhsf_dma_chan_get()
1215 if (fifo->tx_chan) in usbhsf_dma_quit()
1216 dma_release_channel(fifo->tx_chan); in usbhsf_dma_quit()
1220 fifo->tx_chan = NULL; in usbhsf_dma_quit()
1230 fifo->tx_chan = dma_request_channel(mask, usbhsf_dma_filter, in usbhsf_dma_init_pdev()
1251 fifo->tx_chan = dma_request_slave_channel_reason(dev, name); in usbhsf_dma_init_dt()
1252 if (IS_ERR(fifo->tx_chan)) in usbhsf_dma_init_dt()
1253 fifo->tx_chan = NULL; in usbhsf_dma_init_dt()
1271 if (fifo->tx_chan || fifo->rx_chan) in usbhsf_dma_init()
1274 fifo->tx_chan ? "[TX]" : " ", in usbhsf_dma_init()
Dfifo.h34 struct dma_chan *tx_chan; member
/linux-4.4.14/drivers/mmc/host/
Dau1xmmc.c112 u32 tx_chan; member
152 (((h)->flags & HOST_F_XMIT) ? (h)->tx_chan : (h)->rx_chan)
892 host->tx_chan = au1xxx_dbdma_chan_alloc(memid, txid, in au1xmmc_dbdma_init()
894 if (!host->tx_chan) { in au1xmmc_dbdma_init()
903 au1xxx_dbdma_chan_free(host->tx_chan); in au1xmmc_dbdma_init()
907 au1xxx_dbdma_set_devwidth(host->tx_chan, 8); in au1xmmc_dbdma_init()
910 au1xxx_dbdma_ring_alloc(host->tx_chan, AU1XMMC_DESCRIPTOR_COUNT); in au1xmmc_dbdma_init()
923 au1xxx_dbdma_chan_free(host->tx_chan); in au1xmmc_dbdma_shutdown()
Domap_hsmmc.c202 struct dma_chan *tx_chan; member
949 return data->flags & MMC_DATA_WRITE ? host->tx_chan : host->rx_chan; in omap_hsmmc_get_dma_chan()
2167 host->tx_chan = in omap_hsmmc_probe()
2171 if (!host->tx_chan) { in omap_hsmmc_probe()
2231 if (host->tx_chan) in omap_hsmmc_probe()
2232 dma_release_channel(host->tx_chan); in omap_hsmmc_probe()
2253 if (host->tx_chan) in omap_hsmmc_remove()
2254 dma_release_channel(host->tx_chan); in omap_hsmmc_remove()
/linux-4.4.14/arch/mips/include/asm/mach-au1x00/
Dau1xxx_ide.h51 u32 tx_chan, rx_chan; member
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c420 t4_get_port_stats_offset(adapter, pi->tx_chan, in get_stats()
463 t4_restart_aneg(p->adapter, p->adapter->pf, p->tx_chan); in restart_autoneg()
654 ret = t4_link_l1cfg(p->adapter, p->adapter->mbox, p->tx_chan, lc); in set_settings()
689 return t4_link_l1cfg(p->adapter, p->adapter->pf, p->tx_chan, in set_pauseparam()
Dcxgb4_main.c489 ret = t4_link_l1cfg(pi->adapter, mb, pi->tx_chan, in link_start()
938 return netdev2pinfo(p->ingr_map[qid]->netdev)->tx_chan; in rxq_to_chan()
1081 pi->tx_chan)); in setup_sge_queues()
1135 RSSCONTROL_V(netdev2pinfo(adap->port[0])->tx_chan) | in setup_sge_queues()
1973 return netdev2pinfo(dev)->tx_chan; in cxgb4_port_chan()
2921 t4_get_port_stats_offset(adapter, p->tx_chan, &stats, in cxgb_get_stats()
4229 ret = t4_alloc_vi(adap, adap->mbox, p->tx_chan, adap->pf, 0, 1, in eeh_slot_reset()
4925 adapter->chan_map[pi->tx_chan] = i; in init_one()
Dsge.c1277 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_INTF_V(pi->tx_chan) | in t4_eth_xmit()
2479 c.iqdroprss_to_iqesize = htons(FW_IQ_CMD_IQPCIECH_V(pi->tx_chan) | in t4_sge_alloc_rxq()
2667 FW_EQ_ETH_CMD_PCIECHN_V(pi->tx_chan) | in t4_sge_alloc_eth_txq()
2722 FW_EQ_CTRL_CMD_PCIECHN_V(pi->tx_chan) | in t4_sge_alloc_ctrl_txq()
2775 FW_EQ_OFLD_CMD_PCIECHN_V(pi->tx_chan) | in t4_sge_alloc_ofld_txq()
Dl2t.c377 lport = netdev2pinfo(physdev)->tx_chan + 4; in cxgb4_l2t_get()
Dcxgb4.h444 u8 tx_chan; member
Dt4_hw.c7444 p->tx_chan = j; in t4_port_init()
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c199 TX_CHAN_V(csk->tx_chan) | in send_act_open_req()
286 TX_CHAN_V(csk->tx_chan) | in send_act_open_req6()
544 flowc->mnemval[1].val = htonl(csk->tx_chan); in send_tx_flowc_wr()
546 flowc->mnemval[2].val = htonl(csk->tx_chan); in send_tx_flowc_wr()
566 csk, csk->tid, 0, csk->tx_chan, csk->rss_qid, in send_tx_flowc_wr()
1445 csk->tx_chan = cxgb4_port_chan(ndev); in init_act_open()
1476 csk->flags, csk->tx_chan, csk->txq_idx, csk->rss_qid, in init_act_open()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dcm.c501 flowc->mnemval[1].val = cpu_to_be32(ep->tx_chan); in send_flowc()
503 flowc->mnemval[2].val = cpu_to_be32(ep->tx_chan); in send_flowc()
711 TX_CHAN_V(ep->tx_chan) | in send_connect()
1865 TX_CHAN_V(ep->tx_chan) | in send_fw_act_open_req()
1871 TX_QUEUE_V(ep->com.dev->rdev.lldi.tx_modq[ep->tx_chan]) | in send_fw_act_open_req()
1965 ep->tx_chan = cxgb4_port_chan(pdev); in import_ep()
1985 ep->tx_chan = cxgb4_port_chan(pdev); in import_ep()
2068 __func__, ep->txq_idx, ep->tx_chan, ep->smac_idx, ep->rss_qid, in c4iw_reconnect()
2285 TX_CHAN_V(ep->tx_chan) | in accept_cr()
2517 child_ep->tx_chan, child_ep->smac_idx, child_ep->rss_qid); in pass_accept_req()
[all …]
Diw_cxgb4.h829 u32 tx_chan; member
/linux-4.4.14/drivers/ntb/
Dntb_transport.c1996 struct dma_chan *rx_chan, *tx_chan; in ntb_transport_max_size() local
2002 tx_chan = qp->tx_dma_chan; in ntb_transport_max_size()
2005 tx_chan ? tx_chan->device->copy_align : 0); in ntb_transport_max_size()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.h193 unsigned int tx_chan; member