Home
last modified time | relevance | path

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

/arch/arm/mach-pxa/
Dpalmtx.c374 ret = gpio_request(GPIO_NR_PALMTX_POWER_DETECT, "CABLE_STATE_AC"); in power_supply_init()
377 ret = gpio_direction_input(GPIO_NR_PALMTX_POWER_DETECT); in power_supply_init()
384 gpio_free(GPIO_NR_PALMTX_POWER_DETECT); in power_supply_init()
391 return gpio_get_value(GPIO_NR_PALMTX_POWER_DETECT); in palmtx_is_ac_online()
396 gpio_free(GPIO_NR_PALMTX_POWER_DETECT); in power_supply_exit()
/arch/arm/mach-pxa/include/mach/
Dpalmtx.h24 #define GPIO_NR_PALMTX_POWER_DETECT 12 /* 90 */ macro