Lines Matching defs:component
49 static int rear_amp_power(struct snd_soc_component *component, int power)
54 reg = snd_soc_component_read(component, AC97_GPIO_CFG);
55 snd_soc_component_write(component, AC97_GPIO_CFG, reg | 0x0100);
56 reg = snd_soc_component_read(component, AC97_GPIO_PULL);
57 snd_soc_component_write(component, AC97_GPIO_PULL, reg | (1<<15));
59 reg = snd_soc_component_read(component, AC97_GPIO_CFG);
60 snd_soc_component_write(component, AC97_GPIO_CFG, reg & ~0x0100);
61 reg = snd_soc_component_read(component, AC97_GPIO_PULL);
62 snd_soc_component_write(component, AC97_GPIO_PULL, reg & ~(1<<15));
73 struct snd_soc_component *component;
76 component = asoc_rtd_to_codec(rtd, 0)->component;
77 return rear_amp_power(component, SND_SOC_DAPM_EVENT_ON(event));
120 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component;
123 snd_soc_component_update_bits(component, AC97_GPIO_CFG, 0x100, 0x100);
126 snd_soc_component_update_bits(component, AC97_3D_CONTROL, 0xc000, 0xc000);