/Linux-v5.10/drivers/input/misc/ |
D | da9063_onkey.c | 42 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()
|
D | rk805-pwrkey.c | 22 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()
|
D | pcf50633-input.c | 43 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()
|
D | hisi_powerkey.c | 34 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()
|
D | e3x0-button.c | 21 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()
|
D | ab8500-ponkey.c | 40 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()
|
D | da9055_onkey.c | 37 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()
|
D | wm831x-on.c | 51 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()
|
D | 88pm860x_onkey.c | 52 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()
|
D | tps65218-pwrbutton.c | 77 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()
|
D | sirfsoc-onkey.c | 47 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()
|
D | stpmic1_onkey.c | 31 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()
|
D | rave-sp-pwrbutton.c | 32 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()
|
D | retu-pwrbutton.c | 38 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/ |
D | cbe_powerbutton.c | 23 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/ |
D | rc-dib0700-rc5.c | 20 { 0x0739, KEY_POWER }, 45 { 0xeb01, KEY_POWER }, 139 { 0x1e3d, KEY_POWER }, 142 { 0x0042, KEY_POWER }, 205 { 0x1d3d, KEY_POWER },
|
D | rc-lme2510.c | 23 { 0xef12bc43, KEY_POWER }, 50 { 0xff40ff00, KEY_POWER }, 71 { 0xff00ba45, KEY_POWER },
|
D | rc-dib0700-nec.c | 19 { 0x866b12, KEY_POWER }, 57 { 0x7a40, KEY_POWER }, 61 { 0x4501, KEY_POWER },
|
D | rc-it913x-v1.c | 15 { 0x61d603, KEY_POWER }, /* ShutDown */ 56 { 0x807f12, KEY_POWER },
|
/Linux-v5.10/Documentation/devicetree/bindings/input/ |
D | da9062-onkey.txt | 7 This module provides the KEY_POWER event. 19 entry exists the OnKey driver will remove support for the KEY_POWER key
|
D | qcom,pm8941-pwrkey.txt | 42 When property is omitted KEY_POWER is assumed. 52 linux,code = <KEY_POWER>;
|
/Linux-v5.10/drivers/macintosh/ |
D | via-pmu-event.c | 50 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/ |
D | intel_chtdc_ti_pwrbtn.c | 29 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()
|
D | intel_mrfld_pwrbtn.c | 35 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/ |
D | da9063.txt | 61 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
|