Lines Matching defs:component
30 aiu_encoder_spdif_divider_enable(struct snd_soc_component *component,
33 snd_soc_component_update_bits(component, AIU_CLK_CTRL,
38 static void aiu_encoder_spdif_hold(struct snd_soc_component *component,
41 snd_soc_component_update_bits(component, AIU_958_CTRL,
50 struct snd_soc_component *component = dai->component;
56 aiu_encoder_spdif_hold(component, false);
62 aiu_encoder_spdif_hold(component, true);
70 static int aiu_encoder_spdif_setup_cs_word(struct snd_soc_component *component,
84 snd_soc_component_write(component, AIU_958_CHSTAT_L0, val);
85 snd_soc_component_write(component, AIU_958_CHSTAT_R0, val);
89 snd_soc_component_write(component, AIU_958_CHSTAT_L1, val);
90 snd_soc_component_write(component, AIU_958_CHSTAT_R1, val);
99 struct snd_soc_component *component = dai->component;
100 struct aiu *aiu = snd_soc_component_get_drvdata(component);
105 aiu_encoder_spdif_divider_enable(component, false);
120 snd_soc_component_update_bits(component, AIU_958_MISC,
130 ret = aiu_encoder_spdif_setup_cs_word(component, params);
136 snd_soc_component_update_bits(component, AIU_CLK_CTRL,
150 aiu_encoder_spdif_divider_enable(component, true);
158 struct snd_soc_component *component = dai->component;
160 aiu_encoder_spdif_divider_enable(component, false);
168 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component);
198 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component);