Lines Matching defs:component

502 	struct snd_soc_component *component = codec_dai->component;
503 struct wm8750_priv *wm8750 = snd_soc_component_get_drvdata(component);
520 struct snd_soc_component *component = codec_dai->component;
571 snd_soc_component_write(component, WM8750_IFACE, iface);
579 struct snd_soc_component *component = dai->component;
580 struct wm8750_priv *wm8750 = snd_soc_component_get_drvdata(component);
581 u16 iface = snd_soc_component_read(component, WM8750_IFACE) & 0x1f3;
582 u16 srate = snd_soc_component_read(component, WM8750_SRATE) & 0x1c0;
601 snd_soc_component_write(component, WM8750_IFACE, iface);
603 snd_soc_component_write(component, WM8750_SRATE, srate |
611 struct snd_soc_component *component = dai->component;
612 u16 mute_reg = snd_soc_component_read(component, WM8750_ADCDAC) & 0xfff7;
615 snd_soc_component_write(component, WM8750_ADCDAC, mute_reg | 0x8);
617 snd_soc_component_write(component, WM8750_ADCDAC, mute_reg);
621 static int wm8750_set_bias_level(struct snd_soc_component *component,
624 u16 pwr_reg = snd_soc_component_read(component, WM8750_PWR1) & 0xfe3e;
629 snd_soc_component_write(component, WM8750_PWR1, pwr_reg | 0x00c0);
634 if (snd_soc_component_get_bias_level(component) == SND_SOC_BIAS_OFF) {
635 snd_soc_component_cache_sync(component);
638 snd_soc_component_write(component, WM8750_PWR1, pwr_reg | 0x01c1);
645 snd_soc_component_write(component, WM8750_PWR1, pwr_reg | 0x0141);
648 snd_soc_component_write(component, WM8750_PWR1, 0x0001);
686 static int wm8750_probe(struct snd_soc_component *component)
690 ret = wm8750_reset(component);
697 snd_soc_component_update_bits(component, WM8750_LDAC, 0x0100, 0x0100);
698 snd_soc_component_update_bits(component, WM8750_RDAC, 0x0100, 0x0100);
699 snd_soc_component_update_bits(component, WM8750_LOUT1V, 0x0100, 0x0100);
700 snd_soc_component_update_bits(component, WM8750_ROUT1V, 0x0100, 0x0100);
701 snd_soc_component_update_bits(component, WM8750_LOUT2V, 0x0100, 0x0100);
702 snd_soc_component_update_bits(component, WM8750_ROUT2V, 0x0100, 0x0100);
703 snd_soc_component_update_bits(component, WM8750_LINVOL, 0x0100, 0x0100);
704 snd_soc_component_update_bits(component, WM8750_RINVOL, 0x0100, 0x0100);