Symbol: wm831x_on
drivers/input/misc/wm831x-on.c
104
wm831x_on);
drivers/input/misc/wm831x-on.c
109
ret = input_register_device(wm831x_on->dev);
drivers/input/misc/wm831x-on.c
115
platform_set_drvdata(pdev, wm831x_on);
drivers/input/misc/wm831x-on.c
120
free_irq(irq, wm831x_on);
drivers/input/misc/wm831x-on.c
128
struct wm831x_on *wm831x_on = platform_get_drvdata(pdev);
drivers/input/misc/wm831x-on.c
131
free_irq(irq, wm831x_on);
drivers/input/misc/wm831x-on.c
132
cancel_delayed_work_sync(&wm831x_on->work);
drivers/input/misc/wm831x-on.c
42
struct wm831x_on *wm831x_on = container_of(work, struct wm831x_on,
drivers/input/misc/wm831x-on.c
44
struct wm831x *wm831x = wm831x_on->wm831x;
drivers/input/misc/wm831x-on.c
51
input_report_key(wm831x_on->dev, KEY_POWER, poll);
drivers/input/misc/wm831x-on.c
52
input_sync(wm831x_on->dev);
drivers/input/misc/wm831x-on.c
59
schedule_delayed_work(&wm831x_on->work, 100);
drivers/input/misc/wm831x-on.c
64
struct wm831x_on *wm831x_on = data;
drivers/input/misc/wm831x-on.c
66
schedule_delayed_work(&wm831x_on->work, 0);
drivers/input/misc/wm831x-on.c
74
struct wm831x_on *wm831x_on;
drivers/input/misc/wm831x-on.c
78
wm831x_on = devm_kzalloc(&pdev->dev, sizeof(struct wm831x_on),
drivers/input/misc/wm831x-on.c
80
if (!wm831x_on) {
drivers/input/misc/wm831x-on.c
85
wm831x_on->wm831x = wm831x;
drivers/input/misc/wm831x-on.c
86
INIT_DELAYED_WORK(&wm831x_on->work, wm831x_poll_on);
drivers/input/misc/wm831x-on.c
88
wm831x_on->dev = devm_input_allocate_device(&pdev->dev);
drivers/input/misc/wm831x-on.c
89
if (!wm831x_on->dev) {
drivers/input/misc/wm831x-on.c
95
wm831x_on->dev->evbit[0] = BIT_MASK(EV_KEY);
drivers/input/misc/wm831x-on.c
96
wm831x_on->dev->keybit[BIT_WORD(KEY_POWER)] = BIT_MASK(KEY_POWER);
drivers/input/misc/wm831x-on.c
97
wm831x_on->dev->name = "wm831x_on";
drivers/input/misc/wm831x-on.c
98
wm831x_on->dev->phys = "wm831x_on/input0";
drivers/input/misc/wm831x-on.c
99
wm831x_on->dev->dev.parent = &pdev->dev;