Searched refs:gpio_batlock (Results 1 – 4 of 4) sorted by relevance
136 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in corgipm_read_devdata()154 .gpio_batlock = CORGI_GPIO_BAT_COVER,
180 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in spitzpm_read_devdata()198 .gpio_batlock = SPITZ_GPIO_BAT_COVER,
906 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()
20 int gpio_batlock; member