Home
last modified time | relevance | path

Searched refs:connect_mask (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/sound/drivers/opl3/
Dopl3_midi.c282 unsigned short connect_mask; in snd_opl3_note_on() local
383 connect_mask = (OPL3_LEFT_4OP_0 << voice_offset) & 0x07; in snd_opl3_note_on()
388 connect_mask = (OPL3_RIGHT_4OP_0 << voice_offset) & 0x38; in snd_opl3_note_on()
410 if ((opl3->connection_reg ^ connect_mask) & connect_mask) { in snd_opl3_note_on()
411 opl3->connection_reg |= connect_mask; in snd_opl3_note_on()
417 if ((opl3->connection_reg ^ ~connect_mask) & connect_mask) { in snd_opl3_note_on()
418 opl3->connection_reg &= ~connect_mask; in snd_opl3_note_on()
/linux-6.1.9/drivers/hid/
Dhid-cougar.c198 unsigned int connect_mask; in cougar_probe() local
214 connect_mask = HID_CONNECT_HIDRAW; in cougar_probe()
216 connect_mask = HID_CONNECT_DEFAULT; in cougar_probe()
218 error = hid_hw_start(hdev, connect_mask); in cougar_probe()
Dhid-core.c2148 int hid_connect(struct hid_device *hdev, unsigned int connect_mask) in hid_connect() argument
2161 connect_mask |= (HID_CONNECT_HIDDEV_FORCE | HID_CONNECT_HIDDEV); in hid_connect()
2163 connect_mask |= HID_CONNECT_HIDINPUT_FORCE; in hid_connect()
2165 connect_mask &= ~HID_CONNECT_HIDDEV; in hid_connect()
2167 connect_mask |= HID_CONNECT_HIDDEV_FORCE; in hid_connect()
2169 if ((connect_mask & HID_CONNECT_HIDINPUT) && !hidinput_connect(hdev, in hid_connect()
2170 connect_mask & HID_CONNECT_HIDINPUT_FORCE)) in hid_connect()
2173 if ((connect_mask & HID_CONNECT_HIDDEV) && hdev->hiddev_connect && in hid_connect()
2175 connect_mask & HID_CONNECT_HIDDEV_FORCE)) in hid_connect()
2177 if ((connect_mask & HID_CONNECT_HIDRAW) && !hidraw_connect(hdev)) in hid_connect()
[all …]
Dhid-lg-g15.c754 unsigned int connect_mask = 0; in lg_g15_probe() local
804 connect_mask = HID_CONNECT_HIDRAW; in lg_g15_probe()
810 connect_mask = HID_CONNECT_HIDRAW; in lg_g15_probe()
817 connect_mask = HID_CONNECT_HIDINPUT | HID_CONNECT_HIDRAW; in lg_g15_probe()
822 connect_mask = HID_CONNECT_HIDRAW; in lg_g15_probe()
826 ret = hid_hw_start(hdev, connect_mask); in lg_g15_probe()
Dhid-lg.c754 unsigned int connect_mask = HID_CONNECT_DEFAULT; in lg_probe() local
790 connect_mask &= ~HID_CONNECT_FF; in lg_probe()
792 ret = hid_hw_start(hdev, connect_mask); in lg_probe()
Dhid-sony.c2983 unsigned int connect_mask = HID_CONNECT_DEFAULT; in sony_probe() local
3011 connect_mask |= HID_CONNECT_HIDDEV_FORCE; in sony_probe()
3013 connect_mask |= HID_CONNECT_HIDDEV_FORCE; in sony_probe()
3024 ret = hid_hw_start(hdev, connect_mask); in sony_probe()
Dwacom_sys.c2308 unsigned int connect_mask = HID_CONNECT_HIDRAW; in wacom_parse_and_register() local
2397 connect_mask |= HID_CONNECT_DRIVER; in wacom_parse_and_register()
2400 error = hid_hw_start(hdev, connect_mask); in wacom_parse_and_register()
Dhid-logitech-hidpp.c4107 unsigned int connect_mask = HID_CONNECT_DEFAULT; in hidpp_probe() local
4235 connect_mask &= ~HID_CONNECT_HIDINPUT; in hidpp_probe()
4238 ret = hid_hw_start(hdev, connect_mask); in hidpp_probe()
/linux-6.1.9/include/linux/
Dhid.h941 int hid_connect(struct hid_device *hid, unsigned int connect_mask);
1098 unsigned int connect_mask);