Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/subsys/usb/common/
Dsample_usbd_init.c118 if (usbd_caps_speed(&sample_usbd) == USBD_SPEED_HS) { in sample_usbd_init_device()
119 err = usbd_add_configuration(&sample_usbd, USBD_SPEED_HS, in sample_usbd_init_device()
126 err = usbd_register_all_classes(&sample_usbd, USBD_SPEED_HS, 1); in sample_usbd_init_device()
132 sample_fix_code_triple(&sample_usbd, USBD_SPEED_HS); in sample_usbd_init_device()
166 (void)usbd_device_set_bcd_usb(&sample_usbd, USBD_SPEED_HS, 0x0201); in sample_usbd_init_device()
/Zephyr-Core-3.7.0/tests/subsys/usb/device_next/src/
Dmain.c128 if (usbd_caps_speed(&test_usbd) == USBD_SPEED_HS) { in usb_test_enable()
129 err = usbd_add_configuration(&test_usbd, USBD_SPEED_HS, &test_hs_config); in usb_test_enable()
136 if (usbd_caps_speed(&test_usbd) == USBD_SPEED_HS) { in usb_test_enable()
137 err = usbd_register_all_classes(&test_usbd, USBD_SPEED_HS, 1); in usb_test_enable()
140 err = usbd_unregister_all_classes(&test_usbd, USBD_SPEED_HS, 1); in usb_test_enable()
143 err = usbd_register_class(&test_usbd, "loopback_0", USBD_SPEED_HS, 1); in usb_test_enable()
/Zephyr-Core-3.7.0/subsys/usb/device_next/
Dusbd_device.h28 } else if (speed == USBD_SPEED_HS) { in usbd_get_num_configs()
53 } else if (speed == USBD_SPEED_HS) { in usbd_set_num_configs()
Dusbd_device.c34 return USBD_SPEED_HS; in usbd_caps_speed()
47 case USBD_SPEED_HS: in get_device_descriptor()
92 hs_desc = get_device_descriptor(uds_ctx, USBD_SPEED_HS); in usbd_device_set_vid()
116 hs_desc = get_device_descriptor(uds_ctx, USBD_SPEED_HS); in usbd_device_set_pid()
140 hs_desc = get_device_descriptor(uds_ctx, USBD_SPEED_HS); in usbd_device_set_bcd_device()
Dusbd_shell.c29 {.cfg_nd = &config_1_hs, .speed = USBD_SPEED_HS, .name = "HS1",},
31 {.cfg_nd = &config_2_hs, .speed = USBD_SPEED_HS, .name = "HS2",},
39 {.speed = USBD_SPEED_HS, .name = "hs",},
148 if (usbd_caps_speed(my_uds_ctx) != USBD_SPEED_HS) { in register_classes()
154 USBD_SPEED_HS, 1); in register_classes()
196 if (usbd_caps_speed(my_uds_ctx) == USBD_SPEED_HS) { in cmd_usbd_default_config()
197 err = usbd_add_configuration(my_uds_ctx, USBD_SPEED_HS, &config_1_hs); in cmd_usbd_default_config()
Dusbd_config.c25 case USBD_SPEED_HS: in usbd_configs()
269 if (speed == USBD_SPEED_HS && in usbd_add_configuration()
288 case USBD_SPEED_HS: in usbd_add_configuration()
Dusbd_class.c218 } else if (speed == USBD_SPEED_HS) { in usbd_class_node_get()
348 if (speed == USBD_SPEED_HS) { in usbd_register_all_classes()
412 if (speed == USBD_SPEED_HS) { in usbd_unregister_class()
452 if (speed == USBD_SPEED_HS) { in usbd_unregister_all_classes()
Dusbd_core.c122 uds_ctx->status.speed = USBD_SPEED_HS; in event_handler_bus_reset()
232 ret = usbd_class_remove_all(uds_ctx, USBD_SPEED_HS, cfg_value); in usbd_device_shutdown_core()
Dusbd_init.c276 ret = init_configuration(uds_ctx, USBD_SPEED_HS, cfg_nd); in usbd_init_configurations()
284 usbd_get_num_configs(uds_ctx, USBD_SPEED_HS)); in usbd_init_configurations()
Dusbd_ch9.c470 if (other_cfg && usbd_caps_speed(uds_ctx) != USBD_SPEED_HS) { in sreq_get_desc_cfg()
477 get_desc_speed = USBD_SPEED_HS; in sreq_get_desc_cfg()
617 case USBD_SPEED_HS: in sreq_get_desc_dev()
687 if (usbd_caps_speed(uds_ctx) != USBD_SPEED_HS) { in sreq_get_dev_qualifier()
730 case USBD_SPEED_HS: in sreq_get_desc_bos()
/Zephyr-Core-3.7.0/subsys/usb/device_next/class/
Dusbd_cdc_ecm.c110 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ecm_get_int_in()
124 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ecm_get_bulk_in()
135 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ecm_get_bulk_in_mps()
149 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ecm_get_bulk_out()
482 if (speed == USBD_SPEED_HS) { in usbd_cdc_ecm_get_desc()
Dbt_hci.c141 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in bt_hci_get_bulk_in()
154 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in bt_hci_get_bulk_out()
453 if (speed == USBD_SPEED_HS) { in bt_hci_get_desc()
Dusbd_cdc_acm.c152 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_acm_get_int_in()
166 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_acm_get_bulk_in()
180 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_acm_get_bulk_out()
191 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_acm_get_bulk_mps()
315 if (speed == USBD_SPEED_HS) { in usbd_cdc_acm_get_desc()
Dusbd_msc.c153 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in msc_get_bulk_in()
166 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in msc_get_bulk_out()
759 if (speed == USBD_SPEED_HS) { in msc_bot_get_desc()
Dloopback.c129 if (speed == USBD_SPEED_HS) { in lb_get_desc()
Dusbd_hid.c481 if (speed == USBD_SPEED_HS) { in usbd_hid_get_desc()
/Zephyr-Core-3.7.0/doc/connectivity/usb/device_next/
Dusb_device.rst142 :c:enumerator:`USBD_SPEED_HS`. The first full-speed or high-speed
157 :c:enumerator:`USBD_SPEED_HS` and the configuration number. For simple cases,
/Zephyr-Core-3.7.0/include/zephyr/usb/
Dusbd.h184 USBD_SPEED_HS, enumerator