Home
last modified time | relevance | path

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

/third_party/NuttX/drivers/usbdev/gadget/
Df_hid.c87 #define HID_STRING_HEAD_LEN 2 macro
233 if (str_manufacturer->len > (HID_STRING_LEN_MAX - HID_STRING_HEAD_LEN) || in hid_device_string_info()
234 str_serial_number->len > (HID_STRING_LEN_MAX - HID_STRING_HEAD_LEN) || in hid_device_string_info()
235 str_product->len > (HID_STRING_LEN_MAX - HID_STRING_HEAD_LEN)) in hid_device_string_info()
249 len = str_desc[i]->len + HID_STRING_HEAD_LEN; in hid_device_string_info()
263 (void)memcpy_s(buf[i] + HID_STRING_HEAD_LEN, (size_t)str_desc[i]->len, in hid_device_string_info()