Searched refs:ponkey (Results 1 – 4 of 4) sorted by relevance
37 struct ab8500_ponkey *ponkey = data; in ab8500_ponkey_handler() local39 if (irq == ponkey->irq_dbf) in ab8500_ponkey_handler()40 input_report_key(ponkey->idev, KEY_POWER, true); in ab8500_ponkey_handler()41 else if (irq == ponkey->irq_dbr) in ab8500_ponkey_handler()42 input_report_key(ponkey->idev, KEY_POWER, false); in ab8500_ponkey_handler()44 input_sync(ponkey->idev); in ab8500_ponkey_handler()52 struct ab8500_ponkey *ponkey; in ab8500_ponkey_probe() local65 ponkey = devm_kzalloc(&pdev->dev, sizeof(struct ab8500_ponkey), in ab8500_ponkey_probe()67 if (!ponkey) in ab8500_ponkey_probe()74 ponkey->idev = input; in ab8500_ponkey_probe()[all …]
26 static irqreturn_t onkey_falling_irq(int irq, void *ponkey) in onkey_falling_irq() argument28 struct stpmic1_onkey *onkey = ponkey; in onkey_falling_irq()38 static irqreturn_t onkey_rising_irq(int irq, void *ponkey) in onkey_rising_irq() argument40 struct stpmic1_onkey *onkey = ponkey; in onkey_rising_irq()
11 obj-$(CONFIG_INPUT_AB8500_PONKEY) += ab8500-ponkey.o
51 will be called ab8500-ponkey.