Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
gpio_methods Struct Reference

#include <aoa-gpio.h>

Data Fields

void(* init )(struct gpio_runtime *rt)
 
void(* exit )(struct gpio_runtime *rt)
 
void(* all_amps_off )(struct gpio_runtime *rt)
 
void(* all_amps_restore )(struct gpio_runtime *rt)
 
void(* set_headphone )(struct gpio_runtime *rt, int on)
 
void(* set_speakers )(struct gpio_runtime *rt, int on)
 
void(* set_lineout )(struct gpio_runtime *rt, int on)
 
void(* set_master )(struct gpio_runtime *rt, int on)
 
int(* get_headphone )(struct gpio_runtime *rt)
 
int(* get_speakers )(struct gpio_runtime *rt)
 
int(* get_lineout )(struct gpio_runtime *rt)
 
int(* get_master )(struct gpio_runtime *rt)
 
void(* set_hw_reset )(struct gpio_runtime *rt, int on)
 
int(* set_notify )(struct gpio_runtime *rt, enum notify_type type, notify_func_t notify, void *data)
 
int(* get_detect )(struct gpio_runtime *rt, enum notify_type type)
 

Detailed Description

Definition at line 24 of file aoa-gpio.h.

Field Documentation

void(* all_amps_off)(struct gpio_runtime *rt)

Definition at line 30 of file aoa-gpio.h.

void(* all_amps_restore)(struct gpio_runtime *rt)

Definition at line 32 of file aoa-gpio.h.

void(* exit)(struct gpio_runtime *rt)

Definition at line 27 of file aoa-gpio.h.

int(* get_detect)(struct gpio_runtime *rt, enum notify_type type)

Definition at line 59 of file aoa-gpio.h.

int(* get_headphone)(struct gpio_runtime *rt)

Definition at line 39 of file aoa-gpio.h.

int(* get_lineout)(struct gpio_runtime *rt)

Definition at line 41 of file aoa-gpio.h.

int(* get_master)(struct gpio_runtime *rt)

Definition at line 42 of file aoa-gpio.h.

int(* get_speakers)(struct gpio_runtime *rt)

Definition at line 40 of file aoa-gpio.h.

void(* init)(struct gpio_runtime *rt)

Definition at line 26 of file aoa-gpio.h.

void(* set_headphone)(struct gpio_runtime *rt, int on)

Definition at line 34 of file aoa-gpio.h.

void(* set_hw_reset)(struct gpio_runtime *rt, int on)

Definition at line 44 of file aoa-gpio.h.

void(* set_lineout)(struct gpio_runtime *rt, int on)

Definition at line 36 of file aoa-gpio.h.

void(* set_master)(struct gpio_runtime *rt, int on)

Definition at line 37 of file aoa-gpio.h.

Definition at line 53 of file aoa-gpio.h.

void(* set_speakers)(struct gpio_runtime *rt, int on)

Definition at line 35 of file aoa-gpio.h.


The documentation for this struct was generated from the following file: