Lines Matching defs:gpio_methods
24 struct gpio_methods { struct
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);
40 int (*get_speakers)(struct gpio_runtime *rt);
41 int (*get_lineout)(struct gpio_runtime *rt);
42 int (*get_master)(struct gpio_runtime *rt);
44 void (*set_hw_reset)(struct gpio_runtime *rt, int on);
75 struct gpio_methods *methods; argument