Searched refs:os_desc (Results 1 – 6 of 6) sorted by relevance
15 static struct usb_os_descriptor *os_desc; variable20 if (!os_desc) { in usb_handle_os_desc()27 *data = os_desc->string; in usb_handle_os_desc()28 *len = os_desc->string_len; in usb_handle_os_desc()41 if (!os_desc) { in usb_handle_os_desc_feature()45 if (setup->bRequest == os_desc->vendor_code) { in usb_handle_os_desc_feature()49 *data = os_desc->compat_id; in usb_handle_os_desc_feature()50 *len = os_desc->compat_id_len; in usb_handle_os_desc_feature()64 os_desc = desc; in usb_register_os_desc()69 return !!os_desc; in usb_os_desc_enabled()
17 zephyr_sources_ifdef(CONFIG_USB_DEVICE_OS_DESC os_desc.c)
74 static struct usb_os_descriptor os_desc = { variable86 usb_register_os_desc(&os_desc); in test_register_osdesc()116 setup.bRequest = os_desc.vendor_code; in test_handle_os_desc_feature()129 ZTEST(os_desc, test_osdesc_string) in ZTEST() argument135 ZTEST(os_desc, test_osdesc_feature) in ZTEST() argument142 ZTEST_SUITE(os_desc, NULL, NULL, NULL, NULL, NULL);
5 project(os_desc) project
1034 static struct usb_os_descriptor os_desc = { variable1054 usb_register_os_desc(&os_desc); in rndis_init()