Searched refs:OLPC_GPIO_LID (Results 1 – 2 of 2) sorted by relevance
| /arch/x86/platform/olpc/ |
| A D | olpc-xo1-sci.c | 94 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_INPUT_INVERT); in flip_lid_inverter() 96 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_INPUT_INVERT); in flip_lid_inverter() 287 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); in xo1_sci_suspend() 301 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); in xo1_sci_resume() 402 r = gpio_request(OLPC_GPIO_LID, "OLPC-LID"); in setup_lid_events() 406 gpio_direction_input(OLPC_GPIO_LID); in setup_lid_events() 408 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_INPUT_INVERT); in setup_lid_events() 412 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); in setup_lid_events() 419 cs5535_gpio_setup_event(OLPC_GPIO_LID, 6, 1); in setup_lid_events() 425 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); in setup_lid_events() [all …]
|
| /arch/x86/include/asm/ |
| A D | olpc.h | 99 #define OLPC_GPIO_LID 26 macro
|
Completed in 5 milliseconds