Home
last modified time | relevance | path

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

/linux-4.4.14/arch/arm/mach-pxa/
Dpalmte2.c218 ret = gpio_request(GPIO_NR_PALMTE2_POWER_DETECT, "CABLE_STATE_AC"); in power_supply_init()
221 ret = gpio_direction_input(GPIO_NR_PALMTE2_POWER_DETECT); in power_supply_init()
228 gpio_free(GPIO_NR_PALMTE2_POWER_DETECT); in power_supply_init()
235 return gpio_get_value(GPIO_NR_PALMTE2_POWER_DETECT); in palmte2_is_ac_online()
240 gpio_free(GPIO_NR_PALMTE2_POWER_DETECT); in power_supply_exit()
/linux-4.4.14/arch/arm/mach-pxa/include/mach/
Dpalmte2.h19 #define GPIO_NR_PALMTE2_POWER_DETECT 9 macro