Lines Matching refs:id

33 				      struct lpaif_dmactl **dmactl, int *id)  in __lpass_get_dmactl_handle()  argument
41 unsigned int dai_id = cpu_dai->driver->id; in __lpass_get_dmactl_handle()
46 *id = pcm_data->dma_ch; in __lpass_get_dmactl_handle()
50 *id = pcm_data->dma_ch - v->rxtx_wrdma_channel_start; in __lpass_get_dmactl_handle()
54 *id = pcm_data->dma_ch - v->va_wrdma_channel_start; in __lpass_get_dmactl_handle()
129 int ret, id, codec_intf; in __lpass_platform_codec_intf_init() local
130 unsigned int dai_id = cpu_dai->driver->id; in __lpass_platform_codec_intf_init()
138 __lpass_get_dmactl_handle(substream, dai, &dmactl, &id); in __lpass_platform_codec_intf_init()
142 ret = regmap_fields_write(dmactl->codec_intf, id, codec_intf); in __lpass_platform_codec_intf_init()
147 ret = regmap_fields_write(dmactl->codec_fs_sel, id, 0x0); in __lpass_platform_codec_intf_init()
152 ret = regmap_fields_write(dmactl->codec_fs_delay, id, 0x0); in __lpass_platform_codec_intf_init()
157 ret = regmap_fields_write(dmactl->codec_pack, id, 0x1); in __lpass_platform_codec_intf_init()
162 ret = regmap_fields_write(dmactl->codec_enable, id, LPAIF_DMACTL_ENABLE_ON); in __lpass_platform_codec_intf_init()
176 switch (dai->id) { in lpass_cdc_dma_daiops_startup()
187 dev_err(soc_runtime->dev, "%s: invalid interface: %d\n", __func__, dai->id); in lpass_cdc_dma_daiops_startup()
199 switch (dai->id) { in lpass_cdc_dma_daiops_shutdown()
208 dev_err(soc_runtime->dev, "%s: invalid interface: %d\n", __func__, dai->id); in lpass_cdc_dma_daiops_shutdown()
221 int id; in lpass_cdc_dma_daiops_hw_params() local
244 __lpass_get_dmactl_handle(substream, dai, &dmactl, &id); in lpass_cdc_dma_daiops_hw_params()
248 ret = regmap_fields_write(dmactl->codec_channel, id, regval); in lpass_cdc_dma_daiops_hw_params()
262 int ret = 0, id; in lpass_cdc_dma_daiops_trigger() local
273 __lpass_get_dmactl_handle(substream, dai, &dmactl, &id); in lpass_cdc_dma_daiops_trigger()
277 ret = regmap_fields_write(dmactl->codec_enable, id, LPAIF_DMACTL_ENABLE_OFF); in lpass_cdc_dma_daiops_trigger()