Lines Matching +full:0 +full:xbf8
23 #define SNVS_HPVIDR1_REG 0xBF8
24 #define SNVS_LPSR_REG 0x4C /* LP Status Register */
25 #define SNVS_LPCR_REG 0x38 /* LP Control Register */
26 #define SNVS_HPSR_REG 0x14
52 state = state & SNVS_HPSR_BTN ? 1 : 0; in imx_imx_snvs_check_for_events()
76 pm_wakeup_event(input->dev.parent, 0); in imx_snvs_pwrkey_interrupt()
80 if (pdata->minor_rev == 0) { in imx_snvs_pwrkey_interrupt()
88 input_report_key(input, pdata->keycode, 0); in imx_snvs_pwrkey_interrupt()
147 pdata->irq = platform_get_irq(pdev, 0); in imx_snvs_pwrkey_probe()
148 if (pdata->irq < 0) in imx_snvs_pwrkey_probe()
152 pdata->minor_rev = vid & 0xff; in imx_snvs_pwrkey_probe()
159 timer_setup(&pdata->check_timer, imx_imx_snvs_check_for_events, 0); in imx_snvs_pwrkey_probe()
185 0, pdev->name, pdev); in imx_snvs_pwrkey_probe()
192 if (error < 0) { in imx_snvs_pwrkey_probe()
202 return 0; in imx_snvs_pwrkey_probe()
206 { .compatible = "fsl,sec-v4.0-pwrkey" },