Home
last modified time | relevance | path

Searched refs:btn (Results 1 – 25 of 30) sorted by relevance

12

/linux/drivers/input/keyboard/
H A Dhil_kbd.c251 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 Dmac_hid.c76 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 Dguillemot.c42 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 Dtmdc.c98 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 Dinteract.c57 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 Dkirkwood-nsa3x0-common.dtsi21 pmx_btn_reset: pmx-btn-reset {
26 pmx_btn_copy: pmx-btn-copy {
31 pmx_btn_power: pmx-btn-power {
H A Dkirkwood-linksys-viper.dts78 pmx_btn_wps: pmx-btn-wps {
82 pmx_btn_reset: pmx-btn-reset {
H A Dkirkwood-dir665.dts69 pmx_btn_restart: pmx-btn-restart {
73 pmx_btn_wps: pmx-btn-wps {
/linux/drivers/input/misc/
H A Dsoc_button_array.c346 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 Drk3326-odroid-go3.dts158 btn_pins: btn-pins {
178 btn_pins_vol: btn-pins-vol {
H A Dpx30-ringneck-haikou.dts35 button-slp-btn-n {
48 switch-lid-btn-n {
H A Drk3399-gru.dtsi448 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 Drk3399-puma-haikou.dts39 button-slp-btn-n {
52 switch-lid-btn-n {
H A Drk3588-tiger-haikou.dts44 button-slp-btn-n {
57 switch-lid-btn-n {
H A Drk3326-odroid-go2-v11.dts130 btn_pins: btn-pins {
H A Drk3566-anbernic-rgxx3.dtsi498 btn_pins_ctrl: btn-pins-ctrl {
518 btn_pins_vol: btn-pins-vol {
H A Drk3566-powkiddy-rk2023.dtsi643 btn_pins_ctrl: btn-pins-ctrl {
663 btn_pins_vol: btn-pins-vol {
/linux/drivers/input/joystick/iforce/
H A Diforce.h70 signed short *btn; member
H A Diforce-ff.c167 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 Danimeo_ip.dts189 label = "btn";
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8998-fxtec-pro1.dts350 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 Dsentelic.c314 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 Dwcd-mbhc-v2.c630 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 Dimx28-cfa10049.dts298 rotary_btn_pins_cfa10049: rotary-btn-10049@0 {
/linux/Documentation/input/joydev/
H A Djoystick.rst89 options analog map=gamepad,none,2btn
177 2btn 2-button n-axis joystick

12