Searched refs:ponkey (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/input/misc/ |
H A D | ab8500-ponkey.c | 21 * struct ab8500_ponkey - ab8500 ponkey information 37 struct ab8500_ponkey *ponkey = data; ab8500_ponkey_handler() local 39 if (irq == ponkey->irq_dbf) ab8500_ponkey_handler() 40 input_report_key(ponkey->idev, KEY_POWER, true); ab8500_ponkey_handler() 41 else if (irq == ponkey->irq_dbr) ab8500_ponkey_handler() 42 input_report_key(ponkey->idev, KEY_POWER, false); ab8500_ponkey_handler() 44 input_sync(ponkey->idev); ab8500_ponkey_handler() 52 struct ab8500_ponkey *ponkey; ab8500_ponkey_probe() local 69 ponkey = devm_kzalloc(&pdev->dev, sizeof(struct ab8500_ponkey), ab8500_ponkey_probe() 71 if (!ponkey) ab8500_ponkey_probe() 78 ponkey->idev = input; ab8500_ponkey_probe() 79 ponkey->ab8500 = ab8500; ab8500_ponkey_probe() 80 ponkey->irq_dbf = irq_dbf; ab8500_ponkey_probe() 81 ponkey->irq_dbr = irq_dbr; ab8500_ponkey_probe() 88 error = devm_request_any_context_irq(&pdev->dev, ponkey->irq_dbf, ab8500_ponkey_probe() 90 "ab8500-ponkey-dbf", ponkey); ab8500_ponkey_probe() 93 ponkey->irq_dbf, error); ab8500_ponkey_probe() 97 error = devm_request_any_context_irq(&pdev->dev, ponkey->irq_dbr, ab8500_ponkey_probe() 99 "ab8500-ponkey-dbr", ponkey); ab8500_ponkey_probe() 102 ponkey->irq_dbr, error); ab8500_ponkey_probe() 106 error = input_register_device(ponkey->idev); ab8500_ponkey_probe() 112 platform_set_drvdata(pdev, ponkey); ab8500_ponkey_probe() 118 { .compatible = "stericsson,ab8500-ponkey", },
|
Completed in 66 milliseconds