Home
last modified time | relevance | path

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

/arch/arm/mach-pxa/
Dpalm27x.c351 static int palm_usb_state; variable
364 if (gpio_is_valid(palm_usb_state)) { in palm27x_power_supply_init()
365 ret = gpio_request(palm_usb_state, "USB state"); in palm27x_power_supply_init()
368 ret = gpio_direction_input(palm_usb_state); in palm27x_power_supply_init()
375 gpio_free(palm_usb_state); in palm27x_power_supply_init()
384 gpio_free(palm_usb_state); in palm27x_power_supply_exit()
395 return !gpio_get_value(palm_usb_state); in palm27x_is_usb_online()
421 palm_usb_state = usb; in palm27x_power_init()