Searched refs:palm_usb_state (Results 1 – 1 of 1) sorted by relevance
351 static int palm_usb_state; variable364 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()