Searched refs:palm_usb_state (Results 1 – 1 of 1) sorted by relevance
348 static int palm_usb_state; variable361 if (gpio_is_valid(palm_usb_state)) { in palm27x_power_supply_init()362 ret = gpio_request(palm_usb_state, "USB state"); in palm27x_power_supply_init()365 ret = gpio_direction_input(palm_usb_state); in palm27x_power_supply_init()372 gpio_free(palm_usb_state); in palm27x_power_supply_init()381 gpio_free(palm_usb_state); in palm27x_power_supply_exit()392 return !gpio_get_value(palm_usb_state); in palm27x_is_usb_online()418 palm_usb_state = usb; in palm27x_power_init()