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

/linux-4.4.14/arch/x86/platform/olpc/
H A Dolpc-xo1-sci.c100 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_INPUT_INVERT); flip_lid_inverter()
102 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_INPUT_INVERT); flip_lid_inverter()
121 state = cs5535_gpio_isset(OLPC_GPIO_LID, GPIO_READ_BACK); detect_lid_state()
257 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_NEGATIVE_EDGE_STS); xo1_sci_intr()
258 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_POSITIVE_EDGE_STS); xo1_sci_intr()
278 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); xo1_sci_suspend()
284 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_NEGATIVE_EDGE_STS); xo1_sci_suspend()
285 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_POSITIVE_EDGE_STS); xo1_sci_suspend()
287 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); xo1_sci_suspend()
301 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); xo1_sci_resume()
402 r = gpio_request(OLPC_GPIO_LID, "OLPC-LID"); setup_lid_events()
406 gpio_direction_input(OLPC_GPIO_LID); setup_lid_events()
408 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_INPUT_INVERT); setup_lid_events()
412 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); setup_lid_events()
413 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_NEGATIVE_EDGE_EN); setup_lid_events()
414 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_POSITIVE_EDGE_EN); setup_lid_events()
415 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_NEGATIVE_EDGE_STS); setup_lid_events()
416 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_POSITIVE_EDGE_STS); setup_lid_events()
419 cs5535_gpio_setup_event(OLPC_GPIO_LID, 6, 1); setup_lid_events()
425 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); setup_lid_events()
432 gpio_free(OLPC_GPIO_LID); free_lid_events()
/linux-4.4.14/arch/x86/include/asm/
H A Dolpc.h129 #define OLPC_GPIO_LID 26 macro

Completed in 46 milliseconds