Home
last modified time | relevance | path

Searched full:key_power (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/Linux-v5.10/drivers/input/misc/
Dda9063_onkey.c42 bool key_power; member
114 input_report_key(onkey->input, KEY_POWER, 0); in da9063_poll_on()
169 if (onkey->key_power && !error && (val & config->onkey_nonkey_mask)) { in da9063_onkey_irq_handler()
170 input_report_key(onkey->input, KEY_POWER, 1); in da9063_onkey_irq_handler()
173 dev_dbg(onkey->dev, "KEY_POWER long press.\n"); in da9063_onkey_irq_handler()
175 input_report_key(onkey->input, KEY_POWER, 1); in da9063_onkey_irq_handler()
177 input_report_key(onkey->input, KEY_POWER, 0); in da9063_onkey_irq_handler()
179 dev_dbg(onkey->dev, "KEY_POWER short press.\n"); in da9063_onkey_irq_handler()
220 onkey->key_power = !of_property_read_bool(pdev->dev.of_node, in da9063_onkey_probe()
235 input_set_capability(onkey->input, EV_KEY, KEY_POWER); in da9063_onkey_probe()
Drk805-pwrkey.c22 input_report_key(pwr, KEY_POWER, 1); in pwrkey_fall_irq()
32 input_report_key(pwr, KEY_POWER, 0); in pwrkey_rise_irq()
53 input_set_capability(pwr, EV_KEY, KEY_POWER); in rk805_pwrkey_probe()
Dpcf50633-input.c43 input_report_key(input->input_dev, KEY_POWER, 1); in pcf50633_input_irq()
45 input_report_key(input->input_dev, KEY_POWER, 0); in pcf50633_input_irq()
74 set_bit(KEY_POWER, input_dev->keybit); in pcf50633_input_probe()
Dhisi_powerkey.c34 input_report_key(input, KEY_POWER, 1); in hi65xx_power_press_isr()
45 input_report_key(input, KEY_POWER, 0); in hi65xx_power_release_isr()
87 input_set_capability(input, EV_KEY, KEY_POWER); in hi65xx_powerkey_probe()
De3x0-button.c21 input_report_key(idev, KEY_POWER, 0); in e3x0_button_release_handler()
31 input_report_key(idev, KEY_POWER, 1); in e3x0_button_press_handler()
83 input_set_capability(input, EV_KEY, KEY_POWER); in e3x0_button_probe()
Dab8500-ponkey.c40 input_report_key(ponkey->idev, KEY_POWER, true); in ab8500_ponkey_handler()
42 input_report_key(ponkey->idev, KEY_POWER, false); in ab8500_ponkey_handler()
82 input_set_capability(input, EV_KEY, KEY_POWER); in ab8500_ponkey_probe()
Dda9055_onkey.c37 input_report_key(onkey->input, KEY_POWER, 0); in da9055_onkey_query()
63 input_report_key(onkey->input, KEY_POWER, 1); in da9055_onkey_irq()
101 __set_bit(KEY_POWER, input_dev->keybit); in da9055_onkey_probe()
Dwm831x-on.c51 input_report_key(wm831x_on->dev, KEY_POWER, poll); in wm831x_poll_on()
96 wm831x_on->dev->keybit[BIT_WORD(KEY_POWER)] = BIT_MASK(KEY_POWER); in wm831x_on_probe()
D88pm860x_onkey.c52 input_report_key(info->idev, KEY_POWER, ret); in pm860x_onkey_handler()
90 info->idev->keybit[BIT_WORD(KEY_POWER)] = BIT_MASK(KEY_POWER); in pm860x_onkey_probe()
Dtps65218-pwrbutton.c77 input_report_key(pwr->idev, KEY_POWER, 1); in tps6521x_pb_irq()
80 input_report_key(pwr->idev, KEY_POWER, 0); in tps6521x_pb_irq()
119 input_set_capability(idev, EV_KEY, KEY_POWER); in tps6521x_pb_probe()
Dsirfsoc-onkey.c47 input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 0); in sirfsoc_pwrc_report_event()
62 input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 1); in sirfsoc_pwrc_isr()
138 input_set_capability(pwrcdrv->input, EV_KEY, KEY_POWER); in sirfsoc_pwrc_probe()
Dstpmic1_onkey.c31 input_report_key(input_dev, KEY_POWER, 1); in onkey_falling_irq()
43 input_report_key(input_dev, KEY_POWER, 0); in onkey_rising_irq()
112 input_set_capability(input_dev, EV_KEY, KEY_POWER); in stpmic1_onkey_probe()
Drave-sp-pwrbutton.c32 input_report_key(idev, KEY_POWER, value); in rave_sp_power_button_event()
58 input_set_capability(idev, EV_KEY, KEY_POWER); in rave_sp_pwrbutton_probe()
Dretu-pwrbutton.c38 input_report_key(idev, KEY_POWER, state); in retu_pwrbutton_irq()
62 input_set_capability(idev, EV_KEY, KEY_POWER); in retu_pwrbutton_probe()
/Linux-v5.10/arch/powerpc/platforms/cell/
Dcbe_powerbutton.c23 input_report_key(button_dev, KEY_POWER, 1); in cbe_powerbutton_handle_pmi()
25 input_report_key(button_dev, KEY_POWER, 0); in cbe_powerbutton_handle_pmi()
53 set_bit(KEY_POWER, dev->keybit); in cbe_powerbutton_init()
/Linux-v5.10/drivers/media/rc/keymaps/
Drc-dib0700-rc5.c20 { 0x0739, KEY_POWER },
45 { 0xeb01, KEY_POWER },
139 { 0x1e3d, KEY_POWER },
142 { 0x0042, KEY_POWER },
205 { 0x1d3d, KEY_POWER },
Drc-lme2510.c23 { 0xef12bc43, KEY_POWER },
50 { 0xff40ff00, KEY_POWER },
71 { 0xff00ba45, KEY_POWER },
Drc-dib0700-nec.c19 { 0x866b12, KEY_POWER },
57 { 0x7a40, KEY_POWER },
61 { 0x4501, KEY_POWER },
Drc-it913x-v1.c15 { 0x61d603, KEY_POWER }, /* ShutDown */
56 { 0x807f12, KEY_POWER },
/Linux-v5.10/Documentation/devicetree/bindings/input/
Dda9062-onkey.txt7 This module provides the KEY_POWER event.
19 entry exists the OnKey driver will remove support for the KEY_POWER key
Dqcom,pm8941-pwrkey.txt42 When property is omitted KEY_POWER is assumed.
52 linux,code = <KEY_POWER>;
/Linux-v5.10/drivers/macintosh/
Dvia-pmu-event.c50 set_bit(KEY_POWER, pmu_input_dev->keybit); in via_pmu_event_init()
67 input_report_key(pmu_input_dev, KEY_POWER, down); in via_pmu_event()
/Linux-v5.10/drivers/platform/x86/
Dintel_chtdc_ti_pwrbtn.c29 input_report_key(input, KEY_POWER, !(state & SIRQ_PWRBTN_REL)); in chtdc_ti_pwrbtn_interrupt()
52 input_set_capability(input, EV_KEY, KEY_POWER); in chtdc_ti_pwrbtn_probe()
Dintel_mrfld_pwrbtn.c35 input_report_key(input, KEY_POWER, !(state & BCOVE_PBSTATUS_PBLVL)); in mrfld_pwrbtn_interrupt()
60 input_set_capability(input, EV_KEY, KEY_POWER); in mrfld_pwrbtn_probe()
/Linux-v5.10/Documentation/devicetree/bindings/mfd/
Dda9063.txt61 entry exists the OnKey driver will remove support for the KEY_POWER key
63 triggered power down is enabled and the OnKey will support both KEY_POWER

12345678910>>...15