Searched refs:report_id (Results 1 – 3 of 3) sorted by relevance
158 uint8_t report_id = (uint8_t)setup->wValue; in hid_on_get_idle() local160 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() local227 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 …]
39 typedef void (*hid_idle_cb_t)(const struct device *dev, uint16_t report_id);
92 static void on_idle_cb(const struct device *dev, uint16_t report_id) in on_idle_cb() argument