Searched refs:palm_usb_state (Results 1 – 1 of 1) sorted by relevance
347 static int palm_usb_state; variable360 if (gpio_is_valid(palm_usb_state)) { in palm27x_power_supply_init()361 ret = gpio_request(palm_usb_state, "USB state"); in palm27x_power_supply_init()364 ret = gpio_direction_input(palm_usb_state); in palm27x_power_supply_init()371 gpio_free(palm_usb_state); in palm27x_power_supply_init()380 gpio_free(palm_usb_state); in palm27x_power_supply_exit()391 return !gpio_get_value(palm_usb_state); in palm27x_is_usb_online()417 palm_usb_state = usb; in palm27x_power_init()