Lines Matching full:variant

47 	struct lpass_variant *v = drvdata->variant;  in lpass_cpu_init_i2sctl_bitfields()
443 LPAIF_I2SCTL_REG(drvdata->variant, dai->driver->id), 0); in asoc_qcom_lpass_cpu_dai_probe()
456 struct lpass_variant *variant = drvdata->variant; in asoc_qcom_of_xlate_dai_name() local
461 for (i = 0; i < variant->num_dai; i++) { in asoc_qcom_of_xlate_dai_name()
462 if (variant->dai_driver[i].id == id) { in asoc_qcom_of_xlate_dai_name()
463 *dai_name = variant->dai_driver[i].name; in asoc_qcom_of_xlate_dai_name()
481 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_writeable()
523 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_readable()
571 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_volatile()
606 struct lpass_variant *v = drvdata->variant; in lpass_hdmi_init_bitfields()
684 struct lpass_variant *v = drvdata->variant; in lpass_hdmi_regmap_writeable()
729 struct lpass_variant *v = drvdata->variant; in lpass_hdmi_regmap_readable()
778 struct lpass_variant *v = drvdata->variant; in lpass_hdmi_regmap_volatile()
817 struct lpass_variant *v = drvdata->variant; in __lpass_rxtx_regmap_accessible()
883 struct lpass_variant *v = drvdata->variant; in lpass_rxtx_regmap_volatile()
908 struct lpass_variant *v = drvdata->variant; in __lpass_va_regmap_accessible()
958 struct lpass_variant *v = drvdata->variant; in lpass_va_regmap_volatile()
1043 for (id = 0; id < data->variant->num_dai; id++) { in of_lpass_cpu_parse_dai_data()
1096 struct lpass_variant *variant; in asoc_qcom_lpass_cpu_platform_probe() local
1122 drvdata->variant = (struct lpass_variant *)match->data; in asoc_qcom_lpass_cpu_platform_probe()
1123 variant = drvdata->variant; in asoc_qcom_lpass_cpu_platform_probe()
1137 lpass_rxtx_regmap_config.max_register = LPAIF_CDC_RXTX_WRDMAPER_REG(variant, in asoc_qcom_lpass_cpu_platform_probe()
1138 variant->rxtx_wrdma_channels + in asoc_qcom_lpass_cpu_platform_probe()
1139 variant->rxtx_wrdma_channel_start, LPASS_CDC_DMA_TX3); in asoc_qcom_lpass_cpu_platform_probe()
1146 lpass_va_regmap_config.max_register = LPAIF_CDC_VA_WRDMAPER_REG(variant, in asoc_qcom_lpass_cpu_platform_probe()
1147 variant->va_wrdma_channels + in asoc_qcom_lpass_cpu_platform_probe()
1148 variant->va_wrdma_channel_start, LPASS_CDC_DMA_VA_TX0); in asoc_qcom_lpass_cpu_platform_probe()
1172 lpass_cpu_regmap_config.max_register = LPAIF_WRDMAPER_REG(variant, in asoc_qcom_lpass_cpu_platform_probe()
1173 variant->wrdma_channels + in asoc_qcom_lpass_cpu_platform_probe()
1174 variant->wrdma_channel_start); in asoc_qcom_lpass_cpu_platform_probe()
1189 lpass_hdmi_regmap_config.max_register = LPAIF_HDMI_RDMAPER_REG(variant, in asoc_qcom_lpass_cpu_platform_probe()
1190 variant->hdmi_rdma_channels - 1); in asoc_qcom_lpass_cpu_platform_probe()
1200 if (variant->init) { in asoc_qcom_lpass_cpu_platform_probe()
1201 ret = variant->init(pdev); in asoc_qcom_lpass_cpu_platform_probe()
1203 dev_err(dev, "error initializing variant: %d\n", ret); in asoc_qcom_lpass_cpu_platform_probe()
1208 for (i = 0; i < variant->num_dai; i++) { in asoc_qcom_lpass_cpu_platform_probe()
1209 dai_id = variant->dai_driver[i].id; in asoc_qcom_lpass_cpu_platform_probe()
1214 variant->dai_osr_clk_names[i]); in asoc_qcom_lpass_cpu_platform_probe()
1216 variant->dai_bit_clk_names[i]); in asoc_qcom_lpass_cpu_platform_probe()
1220 variant->dai_bit_clk_names[i], in asoc_qcom_lpass_cpu_platform_probe()
1226 variant->dai_driver[dai_id].playback.channels_min = 4; in asoc_qcom_lpass_cpu_platform_probe()
1227 variant->dai_driver[dai_id].playback.channels_max = 4; in asoc_qcom_lpass_cpu_platform_probe()
1252 variant->dai_driver, in asoc_qcom_lpass_cpu_platform_probe()
1253 variant->num_dai); in asoc_qcom_lpass_cpu_platform_probe()
1274 if (drvdata->variant->exit) in asoc_qcom_lpass_cpu_platform_remove()
1275 drvdata->variant->exit(pdev); in asoc_qcom_lpass_cpu_platform_remove()
1286 if (drvdata->variant->exit) in asoc_qcom_lpass_cpu_platform_shutdown()
1287 drvdata->variant->exit(pdev); in asoc_qcom_lpass_cpu_platform_shutdown()