/Zephyr-latest/samples/subsys/usb/common/ |
D | sample_usbd_init.c | 24 USBD_DEVICE_DEFINE(sample_usbd, 94 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() 119 if (usbd_caps_speed(&sample_usbd) == USBD_SPEED_HS) { in sample_usbd_setup_device() 120 err = usbd_add_configuration(&sample_usbd, USBD_SPEED_HS, in sample_usbd_setup_device() 127 err = usbd_register_all_classes(&sample_usbd, USBD_SPEED_HS, 1); in sample_usbd_setup_device() 133 sample_fix_code_triple(&sample_usbd, USBD_SPEED_HS); in sample_usbd_setup_device() 137 err = usbd_add_configuration(&sample_usbd, USBD_SPEED_FS, in sample_usbd_setup_device() [all …]
|
/Zephyr-latest/samples/subsys/usb/webusb-next/src/ |
D | main.c | 47 struct usbd_context *sample_usbd; in main() local 50 sample_usbd = sample_usbd_setup_device(msg_cb); in main() 51 if (sample_usbd == NULL) { in main() 56 ret = usbd_add_descriptor(sample_usbd, &bos_vreq_msosv2); in main() 62 ret = usbd_add_descriptor(sample_usbd, &bos_vreq_webusb); in main() 68 ret = usbd_init(sample_usbd); in main() 74 if (!usbd_can_detect_vbus(sample_usbd)) { in main() 75 ret = usbd_enable(sample_usbd); in main()
|
/Zephyr-latest/samples/net/sockets/echo_server/src/ |
D | usb.c | 16 static struct usbd_context *sample_usbd; variable 22 sample_usbd = sample_usbd_init_device(NULL); in enable_usb_device_next() 23 if (sample_usbd == NULL) { in enable_usb_device_next() 27 err = usbd_enable(sample_usbd); in enable_usb_device_next()
|
/Zephyr-latest/samples/net/zperf/src/ |
D | main.c | 24 static struct usbd_context *sample_usbd; variable 30 sample_usbd = sample_usbd_init_device(NULL); in enable_usb_device_next() 31 if (sample_usbd == NULL) { in enable_usb_device_next() 35 err = usbd_enable(sample_usbd); in enable_usb_device_next()
|
/Zephyr-latest/samples/subsys/usb/console/src/ |
D | main.c | 19 static struct usbd_context *sample_usbd; variable 25 sample_usbd = sample_usbd_init_device(NULL); in enable_usb_device_next() 26 if (sample_usbd == NULL) { in enable_usb_device_next() 30 err = usbd_enable(sample_usbd); in enable_usb_device_next()
|
/Zephyr-latest/samples/bluetooth/hci_usb/src/ |
D | main.c | 17 struct usbd_context *sample_usbd = sample_usbd_init_device(NULL); in enable_usb_device_next() local 19 if (sample_usbd == NULL) { in enable_usb_device_next() 24 return usbd_enable(sample_usbd); in enable_usb_device_next()
|
/Zephyr-latest/samples/subsys/usb/cdc_acm/src/ |
D | main.c | 52 static struct usbd_context *sample_usbd; variable 91 sample_usbd = sample_usbd_init_device(sample_msg_cb); in enable_usb_device_next() 92 if (sample_usbd == NULL) { in enable_usb_device_next() 97 if (!usbd_can_detect_vbus(sample_usbd)) { in enable_usb_device_next() 98 err = usbd_enable(sample_usbd); in enable_usb_device_next()
|
/Zephyr-latest/samples/subsys/usb/hid-mouse/src/ |
D | main.c | 105 struct usbd_context *sample_usbd; in enable_usb_device_next() local 108 sample_usbd = sample_usbd_init_device(NULL); in enable_usb_device_next() 109 if (sample_usbd == NULL) { in enable_usb_device_next() 114 err = usbd_enable(sample_usbd); in enable_usb_device_next()
|
/Zephyr-latest/samples/subsys/usb/mass/src/ |
D | main.c | 45 static struct usbd_context *sample_usbd; variable 63 sample_usbd = sample_usbd_init_device(NULL); in enable_usb_device_next() 64 if (sample_usbd == NULL) { in enable_usb_device_next() 69 err = usbd_enable(sample_usbd); in enable_usb_device_next()
|
/Zephyr-latest/samples/subsys/usb/hid-keyboard/src/ |
D | main.c | 174 struct usbd_context *sample_usbd; in main() local 209 sample_usbd = sample_usbd_init_device(msg_cb); in main() 210 if (sample_usbd == NULL) { in main() 215 if (!usbd_can_detect_vbus(sample_usbd)) { in main() 217 ret = usbd_enable(sample_usbd); in main()
|
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/src/ |
D | main.c | 259 struct usbd_context *sample_usbd; in main() local 289 sample_usbd = sample_usbd_init_device(NULL); in main() 290 if (sample_usbd == NULL) { in main() 294 ret = usbd_enable(sample_usbd); in main()
|
/Zephyr-latest/samples/subsys/usb/hid-keyboard/ |
D | Kconfig | 7 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
/Zephyr-latest/samples/subsys/usb/hid-mouse/ |
D | Kconfig | 7 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
/Zephyr-latest/samples/subsys/usb/uac2_implicit_feedback/ |
D | Kconfig | 7 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
/Zephyr-latest/samples/subsys/usb/webusb-next/ |
D | Kconfig | 7 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
/Zephyr-latest/samples/bluetooth/hci_usb/ |
D | Kconfig | 7 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
/Zephyr-latest/samples/subsys/usb/cdc_acm/ |
D | Kconfig | 7 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
/Zephyr-latest/samples/subsys/usb/console/ |
D | Kconfig | 7 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/ |
D | Kconfig | 17 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
/Zephyr-latest/samples/net/zperf/ |
D | Kconfig | 28 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
/Zephyr-latest/samples/subsys/usb/uac2_implicit_feedback/src/ |
D | main.c | 522 struct usbd_context *sample_usbd; in main() local 559 sample_usbd = sample_usbd_init_device(NULL); in main() 560 if (sample_usbd == NULL) { in main() 564 ret = usbd_enable(sample_usbd); in main()
|
/Zephyr-latest/samples/subsys/usb/mass/ |
D | Kconfig | 75 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
/Zephyr-latest/samples/net/sockets/echo_server/ |
D | Kconfig | 111 source "samples/subsys/usb/common/Kconfig.sample_usbd"
|