Lines Matching refs:component
194 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in ak4375_dac_event() local
198 snd_soc_component_update_bits(component, AK4375_00_POWER_MANAGEMENT1, PMPLL, PMPLL); in ak4375_dac_event()
199 snd_soc_component_update_bits(component, AK4375_01_POWER_MANAGEMENT2, PMCP1, PMCP1); in ak4375_dac_event()
201 snd_soc_component_update_bits(component, AK4375_01_POWER_MANAGEMENT2, PMLDO, PMLDO); in ak4375_dac_event()
205 snd_soc_component_update_bits(component, AK4375_01_POWER_MANAGEMENT2, PMCP2, PMCP2); in ak4375_dac_event()
209 snd_soc_component_update_bits(component, AK4375_01_POWER_MANAGEMENT2, PMCP2, 0x0); in ak4375_dac_event()
212 snd_soc_component_update_bits(component, AK4375_01_POWER_MANAGEMENT2, PMLDO, 0x0); in ak4375_dac_event()
213 snd_soc_component_update_bits(component, AK4375_01_POWER_MANAGEMENT2, PMCP1, 0x0); in ak4375_dac_event()
214 snd_soc_component_update_bits(component, AK4375_00_POWER_MANAGEMENT1, PMPLL, 0x0); in ak4375_dac_event()
253 struct snd_soc_component *component = dai->component; in ak4375_hw_params() local
254 struct ak4375_priv *ak4375 = snd_soc_component_get_drvdata(component); in ak4375_hw_params()
277 struct snd_soc_component *component = dai->component; in ak4375_dai_set_pll() local
278 struct ak4375_priv *ak4375 = snd_soc_component_get_drvdata(component); in ak4375_dai_set_pll()
282 cms = snd_soc_component_read(component, AK4375_05_CLOCK_MODE_SELECT); in ak4375_dai_set_pll()
342 snd_soc_component_update_bits(component, AK4375_05_CLOCK_MODE_SELECT, FS_MASK, fs); in ak4375_dai_set_pll()
343 snd_soc_component_update_bits(component, AK4375_05_CLOCK_MODE_SELECT, CM_MASK, cm); in ak4375_dai_set_pll()
345 snd_soc_component_write(component, AK4375_0F_PLL_REF_CLK_DIVIDER1, in ak4375_dai_set_pll()
347 snd_soc_component_write(component, AK4375_10_PLL_REF_CLK_DIVIDER2, in ak4375_dai_set_pll()
351 snd_soc_component_write(component, AK4375_11_PLL_FB_CLK_DIVIDER1, (plm & 0xff00) >> 8); in ak4375_dai_set_pll()
352 snd_soc_component_write(component, AK4375_12_PLL_FB_CLK_DIVIDER2, plm & 0x00ff); in ak4375_dai_set_pll()
354 snd_soc_component_update_bits(component, AK4375_13_SRC_CLK_SOURCE, DIV, div); in ak4375_dai_set_pll()
357 snd_soc_component_update_bits(component, AK4375_13_SRC_CLK_SOURCE, SRCCKS, SRCCKS); in ak4375_dai_set_pll()
359 snd_soc_component_write(component, AK4375_14_DAC_CLK_DIVIDER, mdiv); in ak4375_dai_set_pll()
369 struct snd_soc_component *component = dai->component; in ak4375_mute() local
370 struct ak4375_priv *ak4375 = snd_soc_component_get_drvdata(component); in ak4375_mute()
371 u8 val = snd_soc_component_read(component, AK4375_07_DAC_MONO_MIXING); in ak4375_mute()
382 snd_soc_component_write(component, AK4375_07_DAC_MONO_MIXING, val); in ak4375_mute()