Lines Matching refs:component
251 struct snd_soc_component *component = codec_dai->component; in ak4535_set_dai_sysclk() local
252 struct ak4535_priv *ak4535 = snd_soc_component_get_drvdata(component); in ak4535_set_dai_sysclk()
262 struct snd_soc_component *component = dai->component; in ak4535_hw_params() local
263 struct ak4535_priv *ak4535 = snd_soc_component_get_drvdata(component); in ak4535_hw_params()
264 u8 mode2 = snd_soc_component_read(component, AK4535_MODE2) & ~(0x3 << 5); in ak4535_hw_params()
283 snd_soc_component_write(component, AK4535_MODE2, mode2); in ak4535_hw_params()
290 struct snd_soc_component *component = codec_dai->component; in ak4535_set_dai_fmt() local
308 snd_soc_component_write(component, AK4535_MODE1, mode1); in ak4535_set_dai_fmt()
314 struct snd_soc_component *component = dai->component; in ak4535_mute() local
315 u16 mute_reg = snd_soc_component_read(component, AK4535_DAC); in ak4535_mute()
318 snd_soc_component_write(component, AK4535_DAC, mute_reg & ~0x20); in ak4535_mute()
320 snd_soc_component_write(component, AK4535_DAC, mute_reg | 0x20); in ak4535_mute()
324 static int ak4535_set_bias_level(struct snd_soc_component *component, in ak4535_set_bias_level() argument
329 snd_soc_component_update_bits(component, AK4535_DAC, 0x20, 0); in ak4535_set_bias_level()
332 snd_soc_component_update_bits(component, AK4535_DAC, 0x20, 0x20); in ak4535_set_bias_level()
335 snd_soc_component_update_bits(component, AK4535_PM1, 0x80, 0x80); in ak4535_set_bias_level()
336 snd_soc_component_update_bits(component, AK4535_PM2, 0x80, 0); in ak4535_set_bias_level()
339 snd_soc_component_update_bits(component, AK4535_PM1, 0x80, 0); in ak4535_set_bias_level()
374 static int ak4535_resume(struct snd_soc_component *component) in ak4535_resume() argument
376 snd_soc_component_cache_sync(component); in ak4535_resume()