Home
last modified time | relevance | path

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

/linux-4.1.27/arch/arm/mach-pxa/
Dpalmte2.c214 ret = gpio_request(GPIO_NR_PALMTE2_POWER_DETECT, "CABLE_STATE_AC"); in power_supply_init()
217 ret = gpio_direction_input(GPIO_NR_PALMTE2_POWER_DETECT); in power_supply_init()
224 gpio_free(GPIO_NR_PALMTE2_POWER_DETECT); in power_supply_init()
231 return gpio_get_value(GPIO_NR_PALMTE2_POWER_DETECT); in palmte2_is_ac_online()
236 gpio_free(GPIO_NR_PALMTE2_POWER_DETECT); in power_supply_exit()
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
Dpalmte2.h19 #define GPIO_NR_PALMTE2_POWER_DETECT 9 macro