Home
last modified time | relevance | path

Searched refs:gpio_runtime (Results 1 – 5 of 5) sorted by relevance

/sound/aoa/
Daoa-gpio.h23 struct gpio_runtime;
26 void (*init)(struct gpio_runtime *rt);
27 void (*exit)(struct gpio_runtime *rt);
30 void (*all_amps_off)(struct gpio_runtime *rt);
32 void (*all_amps_restore)(struct gpio_runtime *rt);
34 void (*set_headphone)(struct gpio_runtime *rt, int on);
35 void (*set_speakers)(struct gpio_runtime *rt, int on);
36 void (*set_lineout)(struct gpio_runtime *rt, int on);
37 void (*set_master)(struct gpio_runtime *rt, int on);
39 int (*get_headphone)(struct gpio_runtime *rt);
[all …]
Daoa.h45 struct gpio_runtime *gpio;
/sound/aoa/core/
Dgpio-pmf.c15 static void pmf_gpio_set_##name(struct gpio_runtime *rt, int on)\
28 static int pmf_gpio_get_##name(struct gpio_runtime *rt) \
38 static void pmf_gpio_set_hw_reset(struct gpio_runtime *rt, int on) in pmf_gpio_set_hw_reset()
50 static void pmf_gpio_all_amps_off(struct gpio_runtime *rt) in pmf_gpio_all_amps_off()
62 static void pmf_gpio_all_amps_restore(struct gpio_runtime *rt) in pmf_gpio_all_amps_restore()
84 static void pmf_gpio_init(struct gpio_runtime *rt) in pmf_gpio_init()
96 static void pmf_gpio_exit(struct gpio_runtime *rt) in pmf_gpio_exit()
130 static int pmf_set_notify(struct gpio_runtime *rt, in pmf_set_notify()
209 static int pmf_get_detect(struct gpio_runtime *rt, in pmf_get_detect()
Dgpio-feature.c131 static void ftr_gpio_set_##name(struct gpio_runtime *rt, int on)\
153 static int ftr_gpio_get_##name(struct gpio_runtime *rt) \
164 static void ftr_gpio_set_hw_reset(struct gpio_runtime *rt, int on) in ftr_gpio_set_hw_reset()
181 static void ftr_gpio_all_amps_off(struct gpio_runtime *rt) in ftr_gpio_all_amps_off()
195 static void ftr_gpio_all_amps_restore(struct gpio_runtime *rt) in ftr_gpio_all_amps_restore()
230 static void ftr_gpio_init(struct gpio_runtime *rt) in ftr_gpio_init()
281 static void ftr_gpio_exit(struct gpio_runtime *rt) in ftr_gpio_exit()
308 static int ftr_set_notify(struct gpio_runtime *rt, in ftr_set_notify()
375 static int ftr_get_detect(struct gpio_runtime *rt, in ftr_get_detect()
/sound/aoa/fabrics/
Dlayout.c606 struct gpio_runtime gpio;
637 struct gpio_runtime *gpio = snd_kcontrol_chip(kcontrol); \
646 struct gpio_runtime *gpio = snd_kcontrol_chip(kcontrol); \