Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gpio.h
Go to the documentation of this file.
1 #ifndef __NVBIOS_GPIO_H__
2 #define __NVBIOS_GPIO_H__
3 
4 struct nouveau_bios;
5 
13 };
14 
15 struct dcb_gpio_func {
18  u8 log[2];
19 
20  /* so far, "param" seems to only have an influence on PWM-related
21  * GPIOs such as FAN_CONTROL and PANEL_BACKLIGHT_LEVEL.
22  * if param equals 1, hardware PWM is available
23  * if param equals 0, the host should toggle the GPIO itself
24  */
26 };
27 
29 u16 dcb_gpio_entry(struct nouveau_bios *, int idx, int ent, u8 *ver);
30 int dcb_gpio_parse(struct nouveau_bios *, int idx, u8 func, u8 line,
31  struct dcb_gpio_func *);
32 
33 #endif