Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/usb/common/
Dsample_usbd_init.c94 err = usbd_add_descriptor(&sample_usbd, &sample_lang); in sample_usbd_setup_device()
100 err = usbd_add_descriptor(&sample_usbd, &sample_mfr); in sample_usbd_setup_device()
106 err = usbd_add_descriptor(&sample_usbd, &sample_product); in sample_usbd_setup_device()
112 err = usbd_add_descriptor(&sample_usbd, &sample_sn); in sample_usbd_setup_device()
169 err = usbd_add_descriptor(&sample_usbd, &sample_usbext); in sample_usbd_setup_device()
/Zephyr-latest/samples/subsys/usb/webusb-next/src/
Dmain.c56 ret = usbd_add_descriptor(sample_usbd, &bos_vreq_msosv2); in main()
62 ret = usbd_add_descriptor(sample_usbd, &bos_vreq_webusb); in main()
/Zephyr-latest/tests/subsys/usb/device_next/src/
Dmain.c116 err = usbd_add_descriptor(&test_usbd, &test_lang); in usb_test_enable()
119 err = usbd_add_descriptor(&test_usbd, &test_mfg); in usb_test_enable()
122 err = usbd_add_descriptor(&test_usbd, &test_product); in usb_test_enable()
125 err = usbd_add_descriptor(&test_usbd, &test_sn); in usb_test_enable()
/Zephyr-latest/subsys/usb/device_next/
Dusbd_shell.c117 err = usbd_add_descriptor(my_uds_ctx, &lang); in cmd_usbd_default_strings()
118 err |= usbd_add_descriptor(my_uds_ctx, &mfr); in cmd_usbd_default_strings()
119 err |= usbd_add_descriptor(my_uds_ctx, &product); in cmd_usbd_default_strings()
120 err |= usbd_add_descriptor(my_uds_ctx, &sn); in cmd_usbd_default_strings()
Dusbd_desc.c119 int usbd_add_descriptor(struct usbd_context *const uds_ctx, in usbd_add_descriptor() function
Dusbd_config.c323 ret = usbd_add_descriptor(uds_ctx, cfg_nd->str_desc_nd); in usbd_add_configuration()
/Zephyr-latest/include/zephyr/usb/
Dusbd.h775 int usbd_add_descriptor(struct usbd_context *uds_ctx,
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_ecm.c453 if (usbd_add_descriptor(uds_ctx, data->mac_desc_data)) { in usbd_cdc_ecm_init()
Dusbd_cdc_ncm.c987 if (usbd_add_descriptor(uds_ctx, data->mac_desc_data)) { in usbd_cdc_ncm_init()
/Zephyr-latest/doc/connectivity/usb/device_next/
Dusb_device.rst98 initializing the USB device with :c:func:`usbd_add_descriptor`.