Home
last modified time | relevance | path

Searched refs:chan_name (Results 1 – 10 of 10) sorted by relevance

/drivers/firmware/imx/
Dimx-dsp.c92 char *chan_name; in imx_dsp_setup_channels() local
98 chan_name = kasprintf(GFP_KERNEL, "txdb%d", i); in imx_dsp_setup_channels()
100 chan_name = kasprintf(GFP_KERNEL, "rxdb%d", i - 2); in imx_dsp_setup_channels()
102 if (!chan_name) in imx_dsp_setup_channels()
106 dsp_chan->name = chan_name; in imx_dsp_setup_channels()
115 dsp_chan->ch = mbox_request_channel_byname(cl, chan_name); in imx_dsp_setup_channels()
120 chan_name, ret); in imx_dsp_setup_channels()
125 dev_dbg(dev, "request mbox chan %s\n", chan_name); in imx_dsp_setup_channels()
Dimx-scu.c267 char *chan_name; in imx_scu_probe() local
287 chan_name = kasprintf(GFP_KERNEL, "tx%d", i); in imx_scu_probe()
289 chan_name = kasprintf(GFP_KERNEL, "rx%d", in imx_scu_probe()
292 if (!chan_name) in imx_scu_probe()
311 sc_chan->ch = mbox_request_channel_byname(cl, chan_name); in imx_scu_probe()
315 chan_name); in imx_scu_probe()
316 kfree(chan_name); in imx_scu_probe()
320 dev_dbg(dev, "request mbox chan %s\n", chan_name); in imx_scu_probe()
322 kfree(chan_name); in imx_scu_probe()
/drivers/i2c/busses/
Di2c-sh_mobile.c476 char *chan_name = dir == DMA_MEM_TO_DEV ? "tx" : "rx"; in sh_mobile_i2c_request_dma_chan() local
479 chan = dma_request_chan(dev, chan_name); in sh_mobile_i2c_request_dma_chan()
481 dev_dbg(dev, "request_channel failed for %s (%ld)\n", chan_name, in sh_mobile_i2c_request_dma_chan()
498 dev_dbg(dev, "slave_config failed for %s (%d)\n", chan_name, ret); in sh_mobile_i2c_request_dma_chan()
503 dev_dbg(dev, "got DMA channel for %s\n", chan_name); in sh_mobile_i2c_request_dma_chan()
Di2c-rcar.c754 char *chan_name = dir == DMA_MEM_TO_DEV ? "tx" : "rx"; in rcar_i2c_request_dma_chan() local
757 chan = dma_request_chan(dev, chan_name); in rcar_i2c_request_dma_chan()
760 chan_name, PTR_ERR(chan)); in rcar_i2c_request_dma_chan()
777 chan_name, ret); in rcar_i2c_request_dma_chan()
782 dev_dbg(dev, "got DMA channel for %s\n", chan_name); in rcar_i2c_request_dma_chan()
/drivers/dma/
Dfsl-edma-main.c246 fsl_chan->chan_name, fsl_chan); in fsl_edma3_irq_init()
290 fsl_edma->chans[i].chan_name, in fsl_edma2_irq_init()
535 snprintf(fsl_chan->chan_name, sizeof(fsl_chan->chan_name), "%s-CH%02d", in fsl_edma_probe()
Dbcm2835-dma.c887 char chan_name[BCM2835_DMA_CHAN_NAME_SIZE]; in bcm2835_dma_probe() local
961 snprintf(chan_name, sizeof(chan_name), "dma%i", i); in bcm2835_dma_probe()
962 irq[i] = platform_get_irq_byname(pdev, chan_name); in bcm2835_dma_probe()
Dpxa_dma.c324 char chan_name[11]; in pxad_dbg_alloc_chan() local
328 scnprintf(chan_name, sizeof(chan_name), "%d", ch); in pxad_dbg_alloc_chan()
329 chan = debugfs_create_dir(chan_name, chandir); in pxad_dbg_alloc_chan()
Dfsl-edma-common.h147 char chan_name[32]; member
/drivers/mailbox/
Domap-mailbox.c415 const char *chan_name) in omap_mbox_request_channel() argument
433 mbox = omap_mbox_device_find(mdev, chan_name); in omap_mbox_request_channel()
/drivers/iio/adc/
Dstm32-adc.c281 char chan_name[STM32_ADC_CH_MAX][STM32_ADC_CH_SZ]; member
1955 char *name = adc->chan_name[vinp]; in stm32_adc_chan_init_one()
2212 strncpy(adc->chan_name[val], name, STM32_ADC_CH_SZ); in stm32_adc_generic_chan_init()