Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/usb/device/class/hid/
Dcore.c141 uint8_t idle_rate[CONFIG_USB_HID_REPORTS]; member
173 *data = &dev_data->idle_rate[0]; in hid_on_get_idle()
174 *len = sizeof(dev_data->idle_rate[0]); 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()
236 dev_data->idle_rate[i] = rate; in hid_on_set_idle()
240 dev_data->idle_rate[report_id - 1] = rate; in hid_on_set_idle()
309 dev_data->idle_rate[i] = 0U; in hid_clear_idle_ctx()
323 if (dev_data->idle_rate[i]) { in hid_sof_handler()
329 int32_t diff = abs((int32_t) ((uint32_t) dev_data->idle_rate[i] * 4U - in hid_sof_handler()