| /linux/drivers/input/keyboard/ |
| H A D | hil_kbd.c | 251 unsigned int btn = ptr->data[cnt++]; in hil_dev_handle_ptr_events() local 252 int up = btn & 1; in hil_dev_handle_ptr_events() 254 btn &= 0xfe; in hil_dev_handle_ptr_events() 255 if (btn == 0x8e) in hil_dev_handle_ptr_events() 257 if (btn > 0x8c || btn < 0x80) in hil_dev_handle_ptr_events() 259 btn = (btn - 0x80) >> 1; in hil_dev_handle_ptr_events() 260 btn = ptr->btnmap[btn]; in hil_dev_handle_ptr_events() 261 input_report_key(dev, btn, !up); in hil_dev_handle_ptr_events()
|
| /linux/drivers/macintosh/ |
| H A D | mac_hid.c | 76 unsigned int btn; in mac_hid_emumouse_filter() local 82 btn = BTN_MIDDLE; in mac_hid_emumouse_filter() 84 btn = BTN_RIGHT; in mac_hid_emumouse_filter() 88 input_report_key(mac_hid_emumouse_dev, btn, value); in mac_hid_emumouse_filter()
|
| /linux/drivers/input/joystick/ |
| H A D | guillemot.c | 42 short *btn; member 124 for (i = 0; i < 16 && guillemot->type->btn[i] >= 0; i++) in guillemot_poll() 125 input_report_key(dev, guillemot->type->btn[i], (data[2 + (i >> 3)] >> (i & 7)) & 1); in guillemot_poll() 229 for (i = 0; (t = guillemot->type->btn[i]) >= 0; i++) in guillemot_connect()
|
| H A D | tmdc.c | 98 const short *btn; member 113 short *btn[2]; 206 input_report_key(port->dev, port->btn[i + l], in tmdc_parse_packet() 280 port->btn = model->buttons; in tmdc_setup_port() 325 set_bit(port->btn[j + b], input_dev->keybit); in tmdc_setup_port()
|
| H A D | interact.c | 57 short *btn; member 259 for (i = 0; (t = interact_type[interact->type].btn[i]) >= 0; i++) in interact_connect()
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | kirkwood-nsa3x0-common.dtsi | 21 pmx_btn_reset: pmx-btn-reset { 26 pmx_btn_copy: pmx-btn-copy { 31 pmx_btn_power: pmx-btn-power {
|
| H A D | kirkwood-linksys-viper.dts | 78 pmx_btn_wps: pmx-btn-wps { 82 pmx_btn_reset: pmx-btn-reset {
|
| H A D | kirkwood-dir665.dts | 69 pmx_btn_restart: pmx-btn-restart { 73 pmx_btn_wps: pmx-btn-wps {
|
| /linux/drivers/input/misc/ |
| H A D | soc_button_array.c | 346 int i, btn, collection_uid = -1; in soc_button_get_button_info() local 404 for (i = 1, btn = 0; i < btns_desc->package.count; i++, btn++) { in soc_button_get_button_info() 408 &button_info[btn])) { in soc_button_get_button_info()
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3326-odroid-go3.dts | 158 btn_pins: btn-pins { 178 btn_pins_vol: btn-pins-vol {
|
| H A D | px30-ringneck-haikou.dts | 35 button-slp-btn-n { 48 switch-lid-btn-n {
|
| H A D | rk3399-gru.dtsi | 448 dlg,btn-avg = <4>; 449 dlg,btn-cfg = <50>; 455 dlg,a-d-btn-thr = <0xa>; 456 dlg,d-b-btn-thr = <0x16>; 457 dlg,b-c-btn-thr = <0x21>; 458 dlg,c-mic-btn-thr = <0x3E>;
|
| H A D | rk3399-puma-haikou.dts | 39 button-slp-btn-n { 52 switch-lid-btn-n {
|
| H A D | rk3588-tiger-haikou.dts | 44 button-slp-btn-n { 57 switch-lid-btn-n {
|
| H A D | rk3326-odroid-go2-v11.dts | 130 btn_pins: btn-pins {
|
| H A D | rk3566-anbernic-rgxx3.dtsi | 498 btn_pins_ctrl: btn-pins-ctrl { 518 btn_pins_vol: btn-pins-vol {
|
| H A D | rk3566-powkiddy-rk2023.dtsi | 643 btn_pins_ctrl: btn-pins-ctrl { 663 btn_pins_vol: btn-pins-vol {
|
| /linux/drivers/input/joystick/iforce/ |
| H A D | iforce.h | 70 signed short *btn; member
|
| H A D | iforce-ff.c | 167 for (i = 1; iforce->type->btn[i] >= 0; i++) in find_button() 168 if (iforce->type->btn[i] == button) in find_button()
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | animeo_ip.dts | 189 label = "btn";
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8998-fxtec-pro1.dts | 350 cam_focus_pin_a: cam-focus-btn-active-state { 358 cam_snapshot_pin_a: cam-snapshot-btn-active-state {
|
| /linux/drivers/input/mouse/ |
| H A D | sentelic.c | 314 static int fsp_get_buttons(struct psmouse *psmouse, int *btn) in fsp_get_buttons() argument 327 *btn = buttons[(val & 0x30) >> 4]; in fsp_get_buttons()
|
| /linux/sound/soc/codecs/ |
| H A D | wcd-mbhc-v2.c | 630 int btn; in wcd_mbhc_get_button_mask() local 632 btn = wcd_mbhc_read_field(mbhc, WCD_MBHC_BTN_RESULT); in wcd_mbhc_get_button_mask() 634 switch (btn) { in wcd_mbhc_get_button_mask()
|
| /linux/arch/arm/boot/dts/nxp/mxs/ |
| H A D | imx28-cfa10049.dts | 298 rotary_btn_pins_cfa10049: rotary-btn-10049@0 {
|
| /linux/Documentation/input/joydev/ |
| H A D | joystick.rst | 89 options analog map=gamepad,none,2btn 177 2btn 2-button n-axis joystick
|