Searched refs:gpio_runtime (Results 1 – 4 of 4) sorted by relevance
21 struct gpio_runtime;24 void (*init)(struct gpio_runtime *rt);25 void (*exit)(struct gpio_runtime *rt);28 void (*all_amps_off)(struct gpio_runtime *rt);30 void (*all_amps_restore)(struct gpio_runtime *rt);32 void (*set_headphone)(struct gpio_runtime *rt, int on);33 void (*set_speakers)(struct gpio_runtime *rt, int on);34 void (*set_lineout)(struct gpio_runtime *rt, int on);35 void (*set_master)(struct gpio_runtime *rt, int on);37 int (*get_headphone)(struct gpio_runtime *rt);[all …]
43 struct gpio_runtime *gpio;
14 static void pmf_gpio_set_##name(struct gpio_runtime *rt, int on)\27 static int pmf_gpio_get_##name(struct gpio_runtime *rt) \37 static void pmf_gpio_set_hw_reset(struct gpio_runtime *rt, int on) in pmf_gpio_set_hw_reset()49 static void pmf_gpio_all_amps_off(struct gpio_runtime *rt) in pmf_gpio_all_amps_off()61 static void pmf_gpio_all_amps_restore(struct gpio_runtime *rt) in pmf_gpio_all_amps_restore()82 static void pmf_gpio_init(struct gpio_runtime *rt) in pmf_gpio_init()94 static void pmf_gpio_exit(struct gpio_runtime *rt) in pmf_gpio_exit()128 static int pmf_set_notify(struct gpio_runtime *rt, in pmf_set_notify()199 static int pmf_get_detect(struct gpio_runtime *rt, in pmf_get_detect()
613 struct gpio_runtime gpio;644 struct gpio_runtime *gpio = snd_kcontrol_chip(kcontrol); \653 struct gpio_runtime *gpio = snd_kcontrol_chip(kcontrol); \