Home
last modified time | relevance | path

Searched refs:dma_params (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/sound/soc/omap/
Domap-pcm.c155 struct omap_dma_channel_params dma_params; in omap_pcm_prepare() local
163 memset(&dma_params, 0, sizeof(dma_params)); in omap_pcm_prepare()
164 dma_params.data_type = dma_data->data_type; in omap_pcm_prepare()
165 dma_params.trigger = dma_data->dma_req; in omap_pcm_prepare()
166 dma_params.sync_mode = dma_data->sync_mode; in omap_pcm_prepare()
168 dma_params.src_amode = OMAP_DMA_AMODE_POST_INC; in omap_pcm_prepare()
169 dma_params.dst_amode = OMAP_DMA_AMODE_CONSTANT; in omap_pcm_prepare()
170 dma_params.src_or_dst_synch = OMAP_DMA_DST_SYNC; in omap_pcm_prepare()
171 dma_params.src_start = runtime->dma_addr; in omap_pcm_prepare()
172 dma_params.dst_start = dma_data->port_addr; in omap_pcm_prepare()
[all …]
/linux-2.6.39/drivers/usb/musb/
Dtusb6010_omap.c235 struct omap_dma_channel_params dma_params; in tusb_omap_dma_program() local
319 dma_params.data_type = OMAP_DMA_DATA_TYPE_S32; in tusb_omap_dma_program()
320 dma_params.elem_count = 8; /* Elements in frame */ in tusb_omap_dma_program()
322 dma_params.data_type = OMAP_DMA_DATA_TYPE_S16; in tusb_omap_dma_program()
323 dma_params.elem_count = 16; /* Elements in frame */ in tusb_omap_dma_program()
327 dma_params.frame_count = chdat->transfer_len / 32; /* Burst sz frame */ in tusb_omap_dma_program()
338 dma_params.src_amode = OMAP_DMA_AMODE_POST_INC; in tusb_omap_dma_program()
339 dma_params.src_start = (unsigned long)dma_addr; in tusb_omap_dma_program()
340 dma_params.src_ei = 0; in tusb_omap_dma_program()
341 dma_params.src_fi = 0; in tusb_omap_dma_program()
[all …]
/linux-2.6.39/sound/soc/atmel/
Datmel_ssc_dai.c166 struct atmel_pcm_dma_params *dma_params; in atmel_ssc_interrupt() local
180 for (i = 0; i < ARRAY_SIZE(ssc_p->dma_params); i++) { in atmel_ssc_interrupt()
181 dma_params = ssc_p->dma_params[i]; in atmel_ssc_interrupt()
183 if ((dma_params != NULL) && in atmel_ssc_interrupt()
184 (dma_params->dma_intr_handler != NULL)) { in atmel_ssc_interrupt()
185 ssc_substream_mask = (dma_params->mask->ssc_endx | in atmel_ssc_interrupt()
186 dma_params->mask->ssc_endbuf); in atmel_ssc_interrupt()
188 dma_params->dma_intr_handler(ssc_sr, in atmel_ssc_interrupt()
189 dma_params-> in atmel_ssc_interrupt()
238 struct atmel_pcm_dma_params *dma_params; in atmel_ssc_shutdown() local
[all …]
Datmel_ssc_dai.h116 struct atmel_pcm_dma_params *dma_params[2]; member
/linux-2.6.39/sound/soc/davinci/
Ddavinci-vcif.c50 struct davinci_pcm_dma_params dma_params[2]; member
96 struct davinci_pcm_dma_params *dma_params = in davinci_vcif_hw_params() local
97 &davinci_vcif_dev->dma_params[substream->stream]; in davinci_vcif_hw_params()
116 dma_params->data_type = 0; in davinci_vcif_hw_params()
124 dma_params->data_type = 1; in davinci_vcif_hw_params()
133 dma_params->data_type = 2; in davinci_vcif_hw_params()
145 dma_params->acnt = dma_params->data_type; in davinci_vcif_hw_params()
179 snd_soc_dai_set_dma_data(dai, substream, dev->dma_params); in davinci_vcif_startup()
221 davinci_vcif_dev->dma_params[SNDRV_PCM_STREAM_PLAYBACK].channel = in davinci_vcif_probe()
223 davinci_vcif_dev->dma_params[SNDRV_PCM_STREAM_PLAYBACK].dma_addr = in davinci_vcif_probe()
[all …]
Ddavinci-i2s.c126 struct davinci_pcm_dma_params dma_params[2]; member
420 struct davinci_pcm_dma_params *dma_params = in davinci_i2s_hw_params() local
421 &dev->dma_params[substream->stream]; in davinci_i2s_hw_params()
533 dma_params->acnt = dma_params->data_type = data_type[fmt]; in davinci_i2s_hw_params()
534 dma_params->fifo_level = 0; in davinci_i2s_hw_params()
606 snd_soc_dai_set_dma_data(dai, substream, dev->dma_params); in davinci_i2s_startup()
675 dev->dma_params[SNDRV_PCM_STREAM_PLAYBACK].sram_size = in davinci_i2s_probe()
677 dev->dma_params[SNDRV_PCM_STREAM_CAPTURE].sram_size = in davinci_i2s_probe()
685 dev->dma_params[SNDRV_PCM_STREAM_PLAYBACK].asp_chan_q = asp_chan_q; in davinci_i2s_probe()
686 dev->dma_params[SNDRV_PCM_STREAM_PLAYBACK].ram_chan_q = ram_chan_q; in davinci_i2s_probe()
[all …]
Ddavinci-mcasp.c718 struct davinci_pcm_dma_params *dma_params = in davinci_mcasp_hw_params() local
719 &dev->dma_params[substream->stream]; in davinci_mcasp_hw_params()
736 dma_params->data_type = 1; in davinci_mcasp_hw_params()
741 dma_params->data_type = 2; in davinci_mcasp_hw_params()
746 dma_params->data_type = 4; in davinci_mcasp_hw_params()
756 dma_params->acnt = 4; in davinci_mcasp_hw_params()
758 dma_params->acnt = dma_params->data_type; in davinci_mcasp_hw_params()
760 dma_params->fifo_level = fifo_level; in davinci_mcasp_hw_params()
809 snd_soc_dai_set_dma_data(dai, substream, dev->dma_params); in davinci_mcasp_startup()
909 dma_data = &dev->dma_params[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_probe()
[all …]
Ddavinci-mcasp.h40 struct davinci_pcm_dma_params dma_params[2]; member
/linux-2.6.39/sound/soc/imx/
Dimx-pcm-dma-mx2.c76 struct imx_pcm_dma_params *dma_params; in imx_ssi_dma_alloc() local
84 dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in imx_ssi_dma_alloc()
88 iprtd->dma_data.dma_request = dma_params->dma; in imx_ssi_dma_alloc()
111 slave_config.dst_addr = dma_params->dma_addr; in imx_ssi_dma_alloc()
113 slave_config.dst_maxburst = dma_params->burstsize * buswidth; in imx_ssi_dma_alloc()
116 slave_config.src_addr = dma_params->dma_addr; in imx_ssi_dma_alloc()
118 slave_config.src_maxburst = dma_params->burstsize * buswidth; in imx_ssi_dma_alloc()
136 struct imx_pcm_dma_params *dma_params; in snd_imx_pcm_hw_params() local
139 dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in snd_imx_pcm_hw_params()
190 struct imx_pcm_dma_params *dma_params; in snd_imx_pcm_prepare() local
[all …]
/linux-2.6.39/sound/soc/s6000/
Ds6000-i2s.c38 struct s6000_pcm_dma_params dma_params; member
337 dai->capture_dma_data = &dev->dma_params; in s6000_i2s_dai_probe()
338 dai->playback_dma_data = &dev->dma_params; in s6000_i2s_dai_probe()
393 if (!dev->dma_params.dma_out) in s6000_i2s_dai_probe()
396 dev->dma_params.dma_out = dev->dma_params.dma_in; in s6000_i2s_dai_probe()
397 dev->dma_params.dma_in = 0; in s6000_i2s_dai_probe()
400 dev->dma_params.sif_in = dev->sifbase + (dev->channel_in ? in s6000_i2s_dai_probe()
402 dev->dma_params.sif_out = dev->sifbase + (dev->channel_out ? in s6000_i2s_dai_probe()
404 dev->dma_params.same_rate = pdata->same_rate | pdata->wide; in s6000_i2s_dai_probe()
530 dev->dma_params.check_xrun = s6000_i2s_check_xrun; in s6000_i2s_probe()
[all …]
/linux-2.6.39/drivers/net/
Ddavinci_emac.c1770 struct cpdma_params dma_params; in davinci_emac_probe() local
1846 memset(&dma_params, 0, sizeof(dma_params)); in davinci_emac_probe()
1847 dma_params.dev = emac_dev; in davinci_emac_probe()
1848 dma_params.dmaregs = priv->emac_base; in davinci_emac_probe()
1849 dma_params.rxthresh = priv->emac_base + 0x120; in davinci_emac_probe()
1850 dma_params.rxfree = priv->emac_base + 0x140; in davinci_emac_probe()
1851 dma_params.txhdp = priv->emac_base + 0x600; in davinci_emac_probe()
1852 dma_params.rxhdp = priv->emac_base + 0x620; in davinci_emac_probe()
1853 dma_params.txcp = priv->emac_base + 0x640; in davinci_emac_probe()
1854 dma_params.rxcp = priv->emac_base + 0x660; in davinci_emac_probe()
[all …]
/linux-2.6.39/sound/soc/ep93xx/
Dep93xx-pcm.c99 struct ep93xx_pcm_dma_params *dma_params; in ep93xx_pcm_open() local
103 dma_params = snd_soc_dai_get_dma_data(cpu_dai, substream); in ep93xx_pcm_open()
114 rtd->cl.name = dma_params->name; in ep93xx_pcm_open()
115 rtd->cl.flags = dma_params->dma_port | EP93XX_DMA_M2P_IGNORE_ERROR | in ep93xx_pcm_open()
Dep93xx-i2s.c65 struct ep93xx_pcm_dma_params *dma_params; member
151 &info->dma_params[substream->stream]); in ep93xx_i2s_startup()
383 info->dma_params = ep93xx_i2s_dma_params; in ep93xx_i2s_probe()
/linux-2.6.39/drivers/ata/
Dsata_dwc_460ex.c109 struct dmareg dma_params[6]; member