Home
last modified time | relevance | path

Searched refs:report_id (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/subsys/usb/device/class/hid/
Dcore.c158 uint8_t report_id = (uint8_t)setup->wValue; in hid_on_get_idle() local
160 if (report_id > CONFIG_USB_HID_REPORTS) { in hid_on_get_idle()
161 LOG_ERR("Report id out of limit: %d", report_id); in hid_on_get_idle()
165 LOG_DBG("Get Idle callback, report_id: %d", report_id); in hid_on_get_idle()
167 if (report_id == 0U) { in hid_on_get_idle()
176 *data = &dev_data->idle_rate[report_id - 1]; in hid_on_get_idle()
177 *len = sizeof(dev_data->idle_rate[report_id - 1]); in hid_on_get_idle()
225 uint8_t report_id = (uint8_t)setup->wValue; in hid_on_set_idle() local
227 if (report_id > CONFIG_USB_HID_REPORTS) { in hid_on_set_idle()
228 LOG_ERR("Report id out of limit: %d", report_id); in hid_on_set_idle()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/usb/class/
Dusb_hid.h39 typedef void (*hid_idle_cb_t)(const struct device *dev, uint16_t report_id);
/Zephyr-Core-3.5.0/samples/subsys/usb/hid/src/
Dmain.c92 static void on_idle_cb(const struct device *dev, uint16_t report_id) in on_idle_cb() argument