Lines Matching refs:adau
383 struct adau *adau = snd_soc_component_get_drvdata(component); in adau1761_dejitter_fixup() local
387 regmap_write(adau->regmap, ADAU1761_DEJITTER, 0); in adau1761_dejitter_fixup()
388 if (!adau->master) in adau1761_dejitter_fixup()
389 regmap_write(adau->regmap, ADAU1761_DEJITTER, 3); in adau1761_dejitter_fixup()
576 struct adau *adau = dev_get_drvdata(dev); in adau1761_compatibility_probe() local
577 struct regmap *regmap = adau->regmap; in adau1761_compatibility_probe()
581 if (adau->type != ADAU1361) in adau1761_compatibility_probe()
612 adau->type = ADAU1761_AS_1361; in adau1761_compatibility_probe()
623 struct adau *adau = snd_soc_component_get_drvdata(component); in adau1761_set_bias_level() local
631 regcache_cache_only(adau->regmap, false); in adau1761_set_bias_level()
632 regmap_update_bits(adau->regmap, ADAU17X1_CLOCK_CONTROL, in adau1761_set_bias_level()
636 regcache_sync(adau->regmap); in adau1761_set_bias_level()
639 regmap_update_bits(adau->regmap, ADAU17X1_CLOCK_CONTROL, in adau1761_set_bias_level()
641 regcache_cache_only(adau->regmap, true); in adau1761_set_bias_level()
663 struct adau *adau = snd_soc_component_get_drvdata(component); in adau1761_setup_digmic_jackdetect() local
717 regmap_write(adau->regmap, ADAU1761_DIGMIC_JACKDETECT, val); in adau1761_setup_digmic_jackdetect()
725 struct adau *adau = snd_soc_component_get_drvdata(component); in adau1761_setup_headphone_mode() local
739 regmap_update_bits(adau->regmap, ADAU1761_PLAY_MONO_OUTPUT_VOL, in adau1761_setup_headphone_mode()
746 regmap_update_bits(adau->regmap, ADAU1761_PLAY_HP_RIGHT_VOL, in adau1761_setup_headphone_mode()
824 struct adau *adau = snd_soc_component_get_drvdata(component); in adau1761_component_probe() local
832 regmap_update_bits(adau->regmap, ADAU1761_LEFT_DIFF_INPUT_VOL, in adau1761_component_probe()
835 regmap_update_bits(adau->regmap, ADAU1761_RIGHT_DIFF_INPUT_VOL, in adau1761_component_probe()
855 regmap_update_bits(adau->regmap, ADAU1761_PLAY_LINE_LEFT_VOL, in adau1761_component_probe()
858 regmap_update_bits(adau->regmap, ADAU1761_PLAY_LINE_RIGHT_VOL, in adau1761_component_probe()
878 if (adau->type == ADAU1761 || adau->type == ADAU1761_AS_1361) { in adau1761_component_probe()
893 if (adau->type == ADAU1761) { in adau1761_component_probe()
908 if (adau->type == ADAU1761_AS_1361) { in adau1761_component_probe()
909 regmap_write(adau->regmap, ADAU17X1_SERIAL_INPUT_ROUTE, 0x01); in adau1761_component_probe()
910 regmap_write(adau->regmap, ADAU17X1_SERIAL_OUTPUT_ROUTE, 0x01); in adau1761_component_probe()