Lines Matching full:dac

17 /* DAC definitions */
19 /* stih407 DAC registers */
22 /* sysconf 5042: Audio-DAC-Control */
25 /* DAC definitions */
65 const struct snd_soc_dai_ops *dac_ops; /* DAC function callbacks */
76 struct sti_dac_audio dac; member
88 status = regmap_read(drvdata->dac.regmap, reg, &val); in sti_sas_read_reg()
100 return regmap_write(drvdata->dac.regmap, reg, value); in sti_sas_write_reg()
108 * DAC and SPDIF are activated by default in sti_sas_init_sas_registers()
125 /* Init DAC configuration */ in sti_sas_init_sas_registers()
141 dev_err(component->dev, "Failed to update DAC registers\n"); in sti_sas_init_sas_registers()
149 * DAC
165 SND_SOC_DAPM_OUT_DRV("DAC standby ana", STIH407_AUDIO_DAC_CTRL,
167 SND_SOC_DAPM_DAC("DAC standby", "dac_p", STIH407_AUDIO_DAC_CTRL,
169 SND_SOC_DAPM_OUTPUT("DAC Output"),
173 {"DAC Output", NULL, "DAC standby ana"},
174 {"DAC standby ana", NULL, "DAC standby"},
272 drvdata->dac.mclk = freq; in sti_sas_set_sysclk()
294 if ((drvdata->dac.mclk / runtime->rate) != 256) { in sti_sas_prepare()
358 .name = "sas-dai-dac",
430 /* Request the DAC & SPDIF registers memory region */ in sti_sas_driver_probe()
431 drvdata->dac.virt_regmap = devm_regmap_init(&pdev->dev, NULL, drvdata, in sti_sas_driver_probe()
433 if (IS_ERR(drvdata->dac.virt_regmap)) { in sti_sas_driver_probe()
435 return PTR_ERR(drvdata->dac.virt_regmap); in sti_sas_driver_probe()
439 drvdata->dac.regmap = in sti_sas_driver_probe()
441 if (IS_ERR(drvdata->dac.regmap)) { in sti_sas_driver_probe()
443 return PTR_ERR(drvdata->dac.regmap); in sti_sas_driver_probe()
445 drvdata->spdif.regmap = drvdata->dac.regmap; in sti_sas_driver_probe()