Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm/mach-pxa/
Dpalmte2.c225 ret = gpio_request(GPIO_NR_PALMTE2_POWER_DETECT, "CABLE_STATE_AC"); in power_supply_init()
228 ret = gpio_direction_input(GPIO_NR_PALMTE2_POWER_DETECT); in power_supply_init()
235 gpio_free(GPIO_NR_PALMTE2_POWER_DETECT); in power_supply_init()
242 return gpio_get_value(GPIO_NR_PALMTE2_POWER_DETECT); in palmte2_is_ac_online()
247 gpio_free(GPIO_NR_PALMTE2_POWER_DETECT); in power_supply_exit()
Dpalmte2.h15 #define GPIO_NR_PALMTE2_POWER_DETECT 9 macro