Searched refs:mode_bytes (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/dev/hid/ |
| H A D | bcm5974.c | 550 uint8_t mode_bytes[BCM5974_USB_REPORT_LEN]; in bcm5974_set_device_mode_usb() local 561 ucr.ucr_data = mode_bytes; in bcm5974_set_device_mode_usb() 577 mode_bytes[0] = on ? BCM5974_USB_MODE_RAW : BCM5974_USB_MODE_HID; in bcm5974_set_device_mode_usb() 593 uint8_t mode_bytes[BCM5974_HID_REPORT_LEN] = { in bcm5974_set_device_mode_hid() local 600 err = hid_get_report(sc->sc_dev, mode_bytes, BCM5974_HID_REPORT_LEN, in bcm5974_set_device_mode_hid() 613 mode_bytes[1] = on ? BCM5974_HID_MODE_RAW : BCM5974_HID_MODE_HID; in bcm5974_set_device_mode_hid() 615 return (hid_set_report(sc->sc_dev, mode_bytes, BCM5974_HID_REPORT_LEN, in bcm5974_set_device_mode_hid()
|
| /freebsd/sys/dev/usb/input/ |
| H A D | wsp.c | 702 uint8_t mode_bytes[8]; in wsp_set_device_mode() local 710 mode_bytes, params->tp->um_size, params->tp->iface_index, in wsp_set_device_mode() 726 mode_bytes[params->tp->um_switch_idx] = in wsp_set_device_mode() 730 mode_bytes, params->tp->um_size, params->tp->iface_index, in wsp_set_device_mode()
|