Home
last modified time | relevance | path

Searched refs:rx_chan (Results 1 – 17 of 17) sorted by relevance

/linux-4.1.27/drivers/spi/
Dspi-pxa2xx-dma.c38 dmadev = drv_data->rx_chan->device->dev; in pxa2xx_spi_map_dma_buffer()
84 dmadev = drv_data->rx_chan->device->dev; in pxa2xx_spi_unmap_dma_buffer()
200 chan = drv_data->rx_chan; in pxa2xx_spi_dma_prepare_one()
257 dmaengine_terminate_all(drv_data->rx_chan); in pxa2xx_spi_dma_transfer()
296 dma_async_issue_pending(drv_data->rx_chan); in pxa2xx_spi_dma_start()
320 drv_data->rx_chan = dma_request_slave_channel_compat(mask, in pxa2xx_spi_dma_setup()
322 if (!drv_data->rx_chan) { in pxa2xx_spi_dma_setup()
333 if (drv_data->rx_chan) { in pxa2xx_spi_dma_release()
334 dmaengine_terminate_all(drv_data->rx_chan); in pxa2xx_spi_dma_release()
335 dma_release_channel(drv_data->rx_chan); in pxa2xx_spi_dma_release()
[all …]
Dspi-sirf.c163 struct dma_chan *rx_chan; member
368 rx_desc = dmaengine_prep_slave_single(sspi->rx_chan, in spi_sirfsoc_dma_transfer()
386 dma_async_issue_pending(sspi->rx_chan); in spi_sirfsoc_dma_transfer()
391 dmaengine_terminate_all(sspi->rx_chan); in spi_sirfsoc_dma_transfer()
695 sspi->rx_chan = dma_request_slave_channel(&pdev->dev, "rx"); in spi_sirfsoc_probe()
696 if (!sspi->rx_chan) { in spi_sirfsoc_probe()
761 dma_release_channel(sspi->rx_chan); in spi_sirfsoc_probe()
780 dma_release_channel(sspi->rx_chan); in spi_sirfsoc_remove()
Dspi-pxa2xx.h61 struct dma_chan *rx_chan; member
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c279 enet_dma_writel(priv, 1, ENETDMA_BUFALLOC_REG(priv->rx_chan)); in bcm_enet_refill_rx()
281 enet_dmac_writel(priv, 1, ENETDMAC_BUFALLOC, priv->rx_chan); in bcm_enet_refill_rx()
420 ENETDMAC_CHANCFG, priv->rx_chan); in bcm_enet_receive_queue()
496 ENETDMAC_IR, priv->rx_chan); in bcm_enet_poll()
518 ENETDMAC_IRMASK, priv->rx_chan); in bcm_enet_poll()
563 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->rx_chan); in bcm_enet_isr_dma()
778 val |= ENETDMA_CFG_FLOWCH_MASK(priv->rx_chan); in bcm_enet_set_flow()
780 val &= ~ENETDMA_CFG_FLOWCH_MASK(priv->rx_chan); in bcm_enet_set_flow()
922 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->rx_chan); in bcm_enet_open()
998 ENETDMA_BUFALLOC_REG(priv->rx_chan)); in bcm_enet_open()
[all …]
Dbcm63xx_enet.h219 int rx_chan; member
/linux-4.1.27/drivers/ide/
Dau1xxx-ide.c63 if (!au1xxx_dbdma_put_dest(ahwif->rx_chan, virt_to_phys(addr), in auide_insw()
68 ctp = *((chan_tab_t **)ahwif->rx_chan); in auide_insw()
258 if (!au1xxx_dbdma_put_dest(ahwif->rx_chan, in auide_build_dmatable()
384 auide->rx_chan = au1xxx_dbdma_chan_alloc(auide->rx_dev_id, in auide_ddma_init()
391 auide->rx_desc_head = (void*)au1xxx_dbdma_ring_alloc(auide->rx_chan, in auide_ddma_init()
398 au1xxx_dbdma_start( auide->rx_chan ); in auide_ddma_init()
431 auide->rx_chan = au1xxx_dbdma_chan_alloc(auide->rx_dev_id, in auide_ddma_init()
438 auide->rx_desc_head = (void*)au1xxx_dbdma_ring_alloc(auide->rx_chan, in auide_ddma_init()
442 au1xxx_dbdma_start( auide->rx_chan ); in auide_ddma_init()
/linux-4.1.27/sound/atmel/
Dac97c.c59 struct dma_chan *rx_chan; member
128 chan = chip->dma.rx_chan; in atmel_ac97c_prepare_dma()
286 dw_dma_cyclic_free(chip->dma.rx_chan); in atmel_ac97c_capture_hw_params()
312 dw_dma_cyclic_free(chip->dma.rx_chan); in atmel_ac97c_capture_hw_free()
558 retval = dw_dma_cyclic_start(chip->dma.rx_chan); in atmel_ac97c_capture_trigger()
570 dw_dma_cyclic_stop(chip->dma.rx_chan); in atmel_ac97c_capture_trigger()
617 bytes = dw_dma_get_dst_addr(chip->dma.rx_chan); in atmel_ac97c_capture_pointer()
1057 chip->dma.rx_chan = dma_request_channel(mask, filter, in atmel_ac97c_probe()
1059 if (chip->dma.rx_chan) { in atmel_ac97c_probe()
1071 dmaengine_slave_config(chip->dma.rx_chan, in atmel_ac97c_probe()
[all …]
/linux-4.1.27/drivers/tty/serial/
Dsamsung.c433 if (dma && dma->rx_chan) { in s3c24xx_serial_stop_rx()
435 dma_status = dmaengine_tx_status(dma->rx_chan, in s3c24xx_serial_stop_rx()
440 dmaengine_terminate_all(dma->rx_chan); in s3c24xx_serial_stop_rx()
489 dmaengine_tx_status(dma->rx_chan, dma->rx_cookie, &state); in s3c24xx_serial_rx_dma_complete()
515 dma->rx_desc = dmaengine_prep_slave_single(dma->rx_chan, in s3c64xx_start_rx_dma()
528 dma_async_issue_pending(dma->rx_chan); in s3c64xx_start_rx_dma()
601 dmaengine_pause(dma->rx_chan); in s3c24xx_serial_rx_chars_dma()
602 dmaengine_tx_status(dma->rx_chan, dma->rx_cookie, &state); in s3c24xx_serial_rx_chars_dma()
603 dmaengine_terminate_all(dma->rx_chan); in s3c24xx_serial_rx_chars_dma()
721 if (ourport->dma && ourport->dma->rx_chan) in s3c24xx_serial_rx_chars()
[all …]
Dsamsung.h57 struct dma_chan *rx_chan; member
/linux-4.1.27/drivers/usb/renesas_usbhs/
Dfifo.c766 return fifo->rx_chan; in usbhsf_dma_chan_get()
1217 if (fifo->rx_chan) in usbhsf_dma_quit()
1218 dma_release_channel(fifo->rx_chan); in usbhsf_dma_quit()
1221 fifo->rx_chan = NULL; in usbhsf_dma_quit()
1235 fifo->rx_chan = dma_request_channel(mask, usbhsf_dma_filter, in usbhsf_dma_init_pdev()
1255 fifo->rx_chan = dma_request_slave_channel_reason(dev, name); in usbhsf_dma_init_dt()
1256 if (IS_ERR(fifo->rx_chan)) in usbhsf_dma_init_dt()
1257 fifo->rx_chan = NULL; in usbhsf_dma_init_dt()
1271 if (fifo->tx_chan || fifo->rx_chan) in usbhsf_dma_init()
1275 fifo->rx_chan ? "[RX]" : " "); in usbhsf_dma_init()
Dfifo.h35 struct dma_chan *rx_chan; member
/linux-4.1.27/drivers/atm/
Dzatm.h44 int rx_chan; /* RX channel, 0 if none */ member
Dzatm.c493 zatm_vcc->rx_chan = 0; in open_rx_first()
527 zatm_vcc->rx_chan = chan; in open_rx_first()
544 if (!zatm_vcc->rx_chan) return 0; in open_rx_second()
550 ((zatm_vcc->rx_chan | uPD98401_RXLT_ENBL) << shift),pos); in open_rx_second()
565 if (!zatm_vcc->rx_chan) return; in close_rx()
581 zout(uPD98401_DEACT_CHAN | uPD98401_CHAN_RT | (zatm_vcc->rx_chan << in close_rx()
585 zout(uPD98401_CLOSE_CHAN | uPD98401_CHAN_RT | (zatm_vcc->rx_chan << in close_rx()
590 "%d\n",vcc->dev->number,zatm_vcc->rx_chan); in close_rx()
592 zatm_dev->rx_map[zatm_vcc->rx_chan] = NULL; in close_rx()
593 zatm_vcc->rx_chan = 0; in close_rx()
/linux-4.1.27/drivers/mmc/host/
Dau1xmmc.c113 u32 rx_chan; member
152 (((h)->flags & HOST_F_XMIT) ? (h)->tx_chan : (h)->rx_chan)
899 host->rx_chan = au1xxx_dbdma_chan_alloc(rxid, memid, in au1xmmc_dbdma_init()
901 if (!host->rx_chan) { in au1xmmc_dbdma_init()
908 au1xxx_dbdma_set_devwidth(host->rx_chan, 8); in au1xmmc_dbdma_init()
911 au1xxx_dbdma_ring_alloc(host->rx_chan, AU1XMMC_DESCRIPTOR_COUNT); in au1xmmc_dbdma_init()
924 au1xxx_dbdma_chan_free(host->rx_chan); in au1xmmc_dbdma_shutdown()
Domap_hsmmc.c210 struct dma_chan *rx_chan; member
846 return data->flags & MMC_DATA_WRITE ? host->tx_chan : host->rx_chan; in omap_hsmmc_get_dma_chan()
2072 host->rx_chan = in omap_hsmmc_probe()
2076 if (!host->rx_chan) { in omap_hsmmc_probe()
2152 if (host->rx_chan) in omap_hsmmc_probe()
2153 dma_release_channel(host->rx_chan); in omap_hsmmc_probe()
2176 if (host->rx_chan) in omap_hsmmc_remove()
2177 dma_release_channel(host->rx_chan); in omap_hsmmc_remove()
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/
Dau1xxx_ide.h51 u32 tx_chan, rx_chan; member
/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.h194 unsigned int rx_chan; member