Lines Matching refs:pwr
26 struct tps65219_pwrbutton *pwr = _pwr; in tps65219_pb_push_irq() local
28 input_report_key(pwr->idev, KEY_POWER, 1); in tps65219_pb_push_irq()
29 pm_wakeup_event(pwr->dev, 0); in tps65219_pb_push_irq()
30 input_sync(pwr->idev); in tps65219_pb_push_irq()
37 struct tps65219_pwrbutton *pwr = _pwr; in tps65219_pb_release_irq() local
39 input_report_key(pwr->idev, KEY_POWER, 0); in tps65219_pb_release_irq()
40 input_sync(pwr->idev); in tps65219_pb_release_irq()
49 struct tps65219_pwrbutton *pwr; in tps65219_pb_probe() local
55 pwr = devm_kzalloc(dev, sizeof(*pwr), GFP_KERNEL); in tps65219_pb_probe()
56 if (!pwr) in tps65219_pb_probe()
64 snprintf(pwr->phys, sizeof(pwr->phys), "%s/input0", in tps65219_pb_probe()
66 idev->phys = pwr->phys; in tps65219_pb_probe()
71 pwr->dev = dev; in tps65219_pb_probe()
72 pwr->idev = idev; in tps65219_pb_probe()
86 dev->init_name, pwr); in tps65219_pb_probe()
96 dev->init_name, pwr); in tps65219_pb_probe()