Home
last modified time | relevance | path

Searched refs:OLPC_GPIO_LID (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/platform/olpc/
A Dolpc-xo1-sci.c95 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_INPUT_INVERT); in flip_lid_inverter()
97 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_INPUT_INVERT); in flip_lid_inverter()
288 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); in xo1_sci_suspend()
302 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); in xo1_sci_resume()
403 r = gpio_request(OLPC_GPIO_LID, "OLPC-LID"); in setup_lid_events()
407 gpio_direction_input(OLPC_GPIO_LID); in setup_lid_events()
409 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_INPUT_INVERT); in setup_lid_events()
413 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); in setup_lid_events()
420 cs5535_gpio_setup_event(OLPC_GPIO_LID, 6, 1); in setup_lid_events()
426 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); in setup_lid_events()
[all …]
/linux/arch/x86/include/asm/
A Dolpc.h99 #define OLPC_GPIO_LID 26 macro

Completed in 4 milliseconds