Lines Matching refs:irq
39 unsigned int irq[2]; member
47 static irqreturn_t max8925_onkey_handler(int irq, void *data) in max8925_onkey_handler() argument
71 int irq[2], error; in max8925_onkey_probe() local
73 irq[0] = platform_get_irq(pdev, 0); in max8925_onkey_probe()
74 if (irq[0] < 0) { in max8925_onkey_probe()
79 irq[1] = platform_get_irq(pdev, 1); in max8925_onkey_probe()
80 if (irq[1] < 0) { in max8925_onkey_probe()
97 info->irq[0] = irq[0]; in max8925_onkey_probe()
98 info->irq[1] = irq[1]; in max8925_onkey_probe()
106 error = devm_request_threaded_irq(&pdev->dev, irq[0], NULL, in max8925_onkey_probe()
111 irq[0], error); in max8925_onkey_probe()
115 error = devm_request_threaded_irq(&pdev->dev, irq[1], NULL, in max8925_onkey_probe()
120 irq[1], error); in max8925_onkey_probe()
143 chip->wakeup_flag |= 1 << info->irq[0]; in max8925_onkey_suspend()
144 chip->wakeup_flag |= 1 << info->irq[1]; in max8925_onkey_suspend()
157 chip->wakeup_flag &= ~(1 << info->irq[0]); in max8925_onkey_resume()
158 chip->wakeup_flag &= ~(1 << info->irq[1]); in max8925_onkey_resume()