Home
last modified time | relevance | path

Searched refs:gpio_batlock (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/arch/arm/mach-pxa/
Dcorgi_pm.c136 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in corgipm_read_devdata()
154 .gpio_batlock = CORGI_GPIO_BAT_COVER,
Dspitz_pm.c180 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in spitzpm_read_devdata()
198 .gpio_batlock = SPITZ_GPIO_BAT_COVER,
Dsharpsl_pm.c906 gpio_request(sharpsl_pm.machinfo->gpio_batlock, "Battery Lock"); in sharpsl_pm_probe()
907 gpio_direction_input(sharpsl_pm.machinfo->gpio_batlock); in sharpsl_pm_probe()
914 …if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock), sharpsl_fatal_isr, IRQF_DISABLED | IR… in sharpsl_pm_probe()
915 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock)); in sharpsl_pm_probe()
957 free_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock), sharpsl_fatal_isr); in sharpsl_pm_remove()
965 gpio_free(sharpsl_pm.machinfo->gpio_batlock); in sharpsl_pm_remove()
/linux-2.6.39/arch/arm/mach-pxa/include/mach/
Dsharpsl_pm.h20 int gpio_batlock; member