Searched refs:max9768 (Results 1 – 2 of 2) sorted by relevance
28 struct max9768 { struct44 struct max9768 *max9768 = snd_soc_component_get_drvdata(c); in max9768_get_gpio() argument45 int val = gpio_get_value_cansleep(max9768->mute_gpio); in max9768_get_gpio()56 struct max9768 *max9768 = snd_soc_component_get_drvdata(c); in max9768_set_gpio() local58 gpio_set_value_cansleep(max9768->mute_gpio, !ucontrol->value.integer.value[0]); in max9768_set_gpio()131 struct max9768 *max9768 = snd_soc_component_get_drvdata(component); in max9768_probe() local134 if (max9768->flags & MAX9768_FLAG_CLASSIC_PWM) { in max9768_probe()135 ret = regmap_write(max9768->regmap, MAX9768_CTRL, in max9768_probe()141 if (gpio_is_valid(max9768->mute_gpio)) { in max9768_probe()173 struct max9768 *max9768; in max9768_i2c_probe() local[all …]
103 snd-soc-max9768-objs := max9768.o387 obj-$(CONFIG_SND_SOC_MAX9768) += snd-soc-max9768.o