Lines Matching refs:OLPC_GPIO_LID

95 		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()
116 state = cs5535_gpio_isset(OLPC_GPIO_LID, GPIO_READ_BACK); in detect_lid_state()
258 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_NEGATIVE_EDGE_STS); in xo1_sci_intr()
259 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_POSITIVE_EDGE_STS); in xo1_sci_intr()
279 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_EVENTS_ENABLE); in xo1_sci_suspend()
285 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_NEGATIVE_EDGE_STS); in xo1_sci_suspend()
286 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_POSITIVE_EDGE_STS); in xo1_sci_suspend()
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()
414 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_NEGATIVE_EDGE_EN); in setup_lid_events()
415 cs5535_gpio_clear(OLPC_GPIO_LID, GPIO_POSITIVE_EDGE_EN); in setup_lid_events()
416 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_NEGATIVE_EDGE_STS); in setup_lid_events()
417 cs5535_gpio_set(OLPC_GPIO_LID, GPIO_POSITIVE_EDGE_STS); 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()
433 gpio_free(OLPC_GPIO_LID); in free_lid_events()