Home
last modified time | relevance | path

Searched refs:button_state (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/input/joystick/
Dadafruit-seesaw.c67 u32 button_state; member
73 u32 button_state; member
156 data->button_state = ~be32_to_cpu(read_buf); in seesaw_read_data()
186 private->button_state = 0; in seesaw_open()
208 data.button_state &= SEESAW_BUTTON_MASK; in seesaw_poll()
209 changed = private->button_state ^ data.button_state; in seesaw_poll()
210 private->button_state = data.button_state; in seesaw_poll()
214 data.button_state & BIT(i), in seesaw_poll()
/linux-6.12.1/sound/pci/hda/
Dhda_jack.c444 int button_state) in snd_hda_jack_set_button_state() argument
456 report_to->button_state = button_state; in snd_hda_jack_set_button_state()
461 jack->button_state = button_state; in snd_hda_jack_set_button_state()
488 state = jack->button_state; in snd_hda_jack_report_sync()
492 if (jack->button_state) { in snd_hda_jack_report_sync()
494 state & ~jack->button_state); in snd_hda_jack_report_sync()
495 jack->button_state = 0; /* button released */ in snd_hda_jack_report_sync()
571 jack->button_state = 0; in snd_hda_jack_add_kctl_mst()
Dhda_jack.h45 int button_state; member
109 int button_state);
/linux-6.12.1/drivers/media/usb/gspca/
Dkonica.c340 u8 button_state = st & 0x40 ? 1 : 0; in sd_isoc_irq() local
341 if (sd->snapshot_pressed != button_state) { in sd_isoc_irq()
344 button_state); in sd_isoc_irq()
346 sd->snapshot_pressed = button_state; in sd_isoc_irq()
Dse401.c54 u8 button_state; member
605 if (sd->button_state != state) { in sd_int_pkt_scan()
608 sd->button_state = state; in sd_int_pkt_scan()
Dxirlink_cit.c51 u8 button_state; member
2774 if (sd->button_state) { in sd_stop0()
2777 sd->button_state = 0; in sd_stop0()
2947 if (sd->button_state != new_button_state) { in cit_check_button()
2951 sd->button_state = new_button_state; in cit_check_button()