zephyr/subsys/usb
Emil Obalski 0d8bd579a5 usb: hid: All hid_ops callbacks get device pointer.
This commit extends USB hid API callbacks by adding
'const struct device *dev' parameter. If the application
configured more than one HID device then it must specify
separate hid_ops for each device as its unable to determine
for which device the callback was called.

This patch makes it possible to have only one hid_ops within
the application and the application is aware for which device
the callback was called because of explicit device pointer.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
2020-09-04 12:27:44 +02:00
..
class usb: hid: All hid_ops callbacks get device pointer. 2020-09-04 12:27:44 +02:00
bos.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt usb: move USB transfer functions to appropriate file 2020-02-05 11:28:12 +01:00
Kconfig usb: Configurable transfer buffers 2020-09-01 13:29:47 +02:00
os_desc.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
os_desc.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
usb_descriptor.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
usb_descriptor.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
usb_device.c usb: Fix std iface/ep requests 2020-09-04 11:59:06 +02:00
usb_transfer.c usb: Configurable transfer buffers 2020-09-01 13:29:47 +02:00
usb_transfer.h usb: move USB transfer functions to appropriate file 2020-02-05 11:28:12 +01:00