freebsd-skq/sys/dev/hid
Vladimir Kondratyev 961a3535db hid: Import HID transport method definitions and helper functions.
Create an abstract HID interface that provides hardware independent
access to HID capabilities and functions through the device tree.

hid_if.m resembles existing USBHID KPI and consist of next methods:

HID method		USBHID variant
-----------------------------------------------------------------------
hid_intr_setup		usbd_transfer_setup	(INTERRUPT IN xfer)
hid_intr_unsetup	usbd_transfer_unsetup	(INTERRUPT IN xfer)
hid_intr_start		usbd_transfer_start	(INTERRUPT IN xfer)
hid_intr_stop		usbd_transfer_drain	(INTERRUPT IN xfer)
hid_intr_poll		usbd_transfer_poll	(INTERRUPT IN xfer)

hid_get_rdesc		usbd_req_get_report_descriptor
hid_read		No direct analog. Not intended for common use.
hid_write		uhid(4) write()
hid_get_report		usbd_req_get_report
hid_set_report		usbd_req_set_report
hid_set_idle		usbd_req_set_idle
hid_set_protocol	usbd_req_set_protocol

This change is part of D27888
2021-01-08 02:18:42 +03:00
..
hid_if.m hid: Import HID transport method definitions and helper functions. 2021-01-08 02:18:42 +03:00
hid.c hid: Import HID transport method definitions and helper functions. 2021-01-08 02:18:42 +03:00
hid.h hid: Import HID transport method definitions and helper functions. 2021-01-08 02:18:42 +03:00
hidquirk.h hid: Import functions and constants required by new subsystem 2021-01-08 02:18:42 +03:00
hidrdesc.h