Home
last modified time | relevance | path

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

12

/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8183-kukui-audio-da7219.dtsi26 dlg,btn-avg = <4>;
27 dlg,btn-cfg = <50>;
33 dlg,a-d-btn-thr = <0xa>;
34 dlg,d-b-btn-thr = <0x16>;
35 dlg,b-c-btn-thr = <0x21>;
36 dlg,c-mic-btn-thr = <0x3E>;
/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/power/supply/
H A Dip5xxx_power.c90 } btn; member
222 ret = ip5xxx_write(ip5xxx, ip5xxx->regs.btn.shdn_enable, 1); in ip5xxx_initialize()
242 ret = ip5xxx_write(ip5xxx, ip5xxx->regs.btn.wled_mode, 1); in ip5xxx_initialize()
245 ret = ip5xxx_write(ip5xxx, ip5xxx->regs.btn.shdn_mode, 1); in ip5xxx_initialize()
811 ip5xxx_setup_reg(btn_shdn_enable, btn.shdn_enable); in ip5xxx_setup_regs()
812 ip5xxx_setup_reg(btn_wled_mode, btn.wled_mode); in ip5xxx_setup_regs()
813 ip5xxx_setup_reg(btn_shdn_mode, btn.shdn_mode); in ip5xxx_setup_regs()
814 ip5xxx_setup_reg(btn_long_press_time, btn.long_press_time); in ip5xxx_setup_regs()
815 ip5xxx_setup_reg(btn_pressed, btn.pressed); in ip5xxx_setup_regs()
816 ip5xxx_setup_reg(btn_long_pressed, btn.long_pressed); in ip5xxx_setup_regs()
[all …]
/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/drivers/input/joystick/iforce/
H A Diforce-packets.c121 for (i = 0; iforce->type->btn[i] >= 0; i++) in iforce_report_hats_buttons()
122 input_report_key(dev, iforce->type->btn[i], in iforce_report_hats_buttons()
H A Diforce-main.c337 for (i = 0; iforce->type->btn[i] >= 0; i++) in iforce_init_device()
338 set_bit(iforce->type->btn[i], input_dev->keybit); in iforce_init_device()
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/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 {
/linux/scripts/kconfig/
H A Dnconf.gui.c194 char *btn; in btn_dialog() local
211 btn = va_arg(ap, char *); in btn_dialog()
212 btns[i] = new_item(btn, ""); in btn_dialog()
213 btns_width += strlen(btn)+1; in btn_dialog()
/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()

12