Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/usb/common/
Dsample_usbd_init.c119 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()
167 (void)usbd_device_set_bcd_usb(&sample_usbd, USBD_SPEED_HS, 0x0201); in sample_usbd_setup_device()
/Zephyr-latest/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-latest/subsys/usb/device_next/
Dusbd_device.h48 } else if (speed == USBD_SPEED_HS) { in usbd_get_num_configs()
73 } 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()
234 ret = usbd_class_remove_all(uds_ctx, USBD_SPEED_HS, cfg_value); in usbd_device_shutdown_core()
Dusbd_init.c287 ret = init_configuration(uds_ctx, USBD_SPEED_HS, cfg_nd); in usbd_init_configurations()
295 usbd_get_num_configs(uds_ctx, USBD_SPEED_HS)); in usbd_init_configurations()
Dusbd_endpoint.c70 case USBD_SPEED_HS: in usbd_ep_ctrl_set_zlp()
Dusbd_ch9.c475 if (other_cfg && usbd_caps_speed(uds_ctx) != USBD_SPEED_HS) { in sreq_get_desc_cfg()
482 get_desc_speed = USBD_SPEED_HS; in sreq_get_desc_cfg()
622 case USBD_SPEED_HS: in sreq_get_desc_dev()
692 if (usbd_caps_speed(uds_ctx) != USBD_SPEED_HS) { in sreq_get_dev_qualifier()
735 case USBD_SPEED_HS: in sreq_get_desc_bos()
/Zephyr-latest/samples/subsys/usb/webusb-next/src/
Dsfunc.c48 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in sfunc_get_bulk_out()
61 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in sfunc_get_bulk_in()
108 if (speed == USBD_SPEED_HS) { in sfunc_get_desc()
123 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in sfunc_buf_alloc()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_ecm.c109 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ecm_get_int_in()
123 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ecm_get_bulk_in()
134 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ecm_get_bulk_in_mps()
148 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ecm_get_bulk_out()
478 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()
452 if (speed == USBD_SPEED_HS) { in bt_hci_get_desc()
Dusbd_cdc_acm.c163 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_acm_get_int_in()
177 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_acm_get_bulk_in()
191 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_acm_get_bulk_out()
202 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_acm_get_bulk_mps()
338 if (speed == USBD_SPEED_HS) { in usbd_cdc_acm_get_desc()
Dusbd_cdc_ncm.c252 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ncm_get_int_in()
266 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ncm_get_bulk_in()
277 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ncm_get_bulk_in_mps()
291 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in cdc_ncm_get_bulk_out()
1012 if (speed == USBD_SPEED_HS) { in usbd_cdc_ncm_get_desc()
Dusbd_msc.c152 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in msc_get_bulk_in()
165 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_HS) { in msc_get_bulk_out()
758 if (speed == USBD_SPEED_HS) { in msc_bot_get_desc()
Dloopback.c129 if (speed == USBD_SPEED_HS) { in lb_get_desc()
Dusbd_hid.c482 if (speed == USBD_SPEED_HS) { in usbd_hid_get_desc()
Dusbd_uac2.c851 if (speed == USBD_SPEED_HS) { in uac2_get_desc()
/Zephyr-latest/tests/subsys/usb/uac2/src/
Duac2_desc.c402 zassert_equal(speed, USBD_SPEED_HS); in test_uac2_descriptors()
463 zassert_equal(speed, USBD_SPEED_HS); in test_uac2_descriptors()
485 test_uac2_descriptors(uac2_hs_descriptor_set, USBD_SPEED_HS); in ZTEST()
/Zephyr-latest/drivers/usb/udc/
Dudc_renesas_ra.c501 if (data->udc_cfg.usb_speed == USBD_SPEED_HS) { in udc_renesas_ra_init()
531 if (!(data->udc_cfg.usb_speed == USBD_SPEED_HS || in udc_renesas_ra_init()
/Zephyr-latest/include/zephyr/usb/
Dusbd.h240 USBD_SPEED_HS, enumerator
/Zephyr-latest/doc/connectivity/usb/device_next/
Dusb_device.rst119 :c:enumerator:`USBD_SPEED_HS`. The first full-speed or high-speed
134 :c:enumerator:`USBD_SPEED_HS` and the configuration number. For simple cases,