Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/device/
Dos_desc.c15 static struct usb_os_descriptor *os_desc; variable
20 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()
DCMakeLists.txt17 zephyr_sources_ifdef(CONFIG_USB_DEVICE_OS_DESC os_desc.c)
/Zephyr-latest/tests/subsys/usb/os_desc/src/
Dusb_osdesc.c74 static struct usb_os_descriptor os_desc = { variable
86 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() argument
135 ZTEST(os_desc, test_osdesc_feature) in ZTEST() argument
142 ZTEST_SUITE(os_desc, NULL, NULL, NULL, NULL, NULL);
/Zephyr-latest/tests/subsys/usb/os_desc/
DCMakeLists.txt5 project(os_desc) project
/Zephyr-latest/tests/subsys/usb/desc_sections/
DCMakeLists.txt5 project(os_desc) project
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_rndis.c1034 static struct usb_os_descriptor os_desc = { variable
1054 usb_register_os_desc(&os_desc); in rndis_init()