Home
last modified time | relevance | path

Searched refs:USBD_SPEED_FS (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/samples/subsys/usb/common/
Dsample_usbd_init.c137 err = usbd_add_configuration(&sample_usbd, USBD_SPEED_FS, in sample_usbd_setup_device()
146 err = usbd_register_all_classes(&sample_usbd, USBD_SPEED_FS, 1); in sample_usbd_setup_device()
153 sample_fix_code_triple(&sample_usbd, USBD_SPEED_FS); in sample_usbd_setup_device()
166 (void)usbd_device_set_bcd_usb(&sample_usbd, USBD_SPEED_FS, 0x0201); in sample_usbd_setup_device()
/Zephyr-latest/tests/subsys/usb/device_next/src/
Dmain.c133 err = usbd_add_configuration(&test_usbd, USBD_SPEED_FS, &test_fs_config); in usb_test_enable()
147 err = usbd_register_all_classes(&test_usbd, USBD_SPEED_FS, 1); in usb_test_enable()
150 err = usbd_unregister_all_classes(&test_usbd, USBD_SPEED_FS, 1); in usb_test_enable()
153 err = usbd_register_class(&test_usbd, "loopback_0", USBD_SPEED_FS, 1); in usb_test_enable()
/Zephyr-latest/subsys/usb/device_next/
Dusbd_device.h46 if (speed == USBD_SPEED_FS) { in usbd_get_num_configs()
71 if (speed == USBD_SPEED_FS) { in usbd_set_num_configs()
Dusbd_device.c37 return USBD_SPEED_FS; in usbd_caps_speed()
45 case USBD_SPEED_FS: in get_device_descriptor()
89 fs_desc = get_device_descriptor(uds_ctx, USBD_SPEED_FS); in usbd_device_set_vid()
113 fs_desc = get_device_descriptor(uds_ctx, USBD_SPEED_FS); in usbd_device_set_pid()
137 fs_desc = get_device_descriptor(uds_ctx, USBD_SPEED_FS); in usbd_device_set_bcd_device()
Dusbd_config.c23 case USBD_SPEED_FS: in usbd_configs()
270 usbd_caps_speed(uds_ctx) == USBD_SPEED_FS) { in usbd_add_configuration()
297 case USBD_SPEED_FS: in usbd_add_configuration()
Dusbd_shell.c28 {.cfg_nd = &config_1_fs, .speed = USBD_SPEED_FS, .name = "FS1",},
30 {.cfg_nd = &config_2_fs, .speed = USBD_SPEED_FS, .name = "FS2",},
38 {.speed = USBD_SPEED_FS, .name = "fs",},
53 static enum usbd_speed current_cmd_speed = USBD_SPEED_FS;
137 USBD_SPEED_FS, 1); in register_classes()
204 err = usbd_add_configuration(my_uds_ctx, USBD_SPEED_FS, &config_1_fs); in cmd_usbd_default_config()
Dusbd_core.c125 uds_ctx->status.speed = USBD_SPEED_FS; in event_handler_bus_reset()
243 ret = usbd_class_remove_all(uds_ctx, USBD_SPEED_FS, cfg_value); in usbd_device_shutdown_core()
Dusbd_class.c211 if (speed == USBD_SPEED_FS) { in usbd_class_node_get()
362 if (speed == USBD_SPEED_FS) { in usbd_register_all_classes()
466 if (speed == USBD_SPEED_FS) { in usbd_unregister_all_classes()
Dusbd_init.c301 ret = init_configuration(uds_ctx, USBD_SPEED_FS, cfg_nd); in usbd_init_configurations()
309 usbd_get_num_configs(uds_ctx, USBD_SPEED_FS)); in usbd_init_configurations()
Dusbd_endpoint.c67 case USBD_SPEED_FS: in usbd_ep_ctrl_set_zlp()
Dusbd_ch9.c481 if (speed == USBD_SPEED_FS) { in sreq_get_desc_cfg()
484 get_desc_speed = USBD_SPEED_FS; in sreq_get_desc_cfg()
619 case USBD_SPEED_FS: in sreq_get_desc_dev()
673 usbd_bus_speed(uds_ctx) == USBD_SPEED_FS ? in sreq_get_dev_qualifier()
732 case USBD_SPEED_FS: in sreq_get_desc_bos()
/Zephyr-latest/tests/subsys/usb/uac2/src/
Duac2_desc.c399 if (speed == USBD_SPEED_FS) { in test_uac2_descriptors()
460 if (speed == USBD_SPEED_FS) { in test_uac2_descriptors()
480 test_uac2_descriptors(uac2_fs_descriptor_set, USBD_SPEED_FS); in ZTEST()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_uac2.c130 if (usbd_bus_speed(c_data->uds_ctx) == USBD_SPEED_FS) { in get_as_data_ep()
152 if (usbd_bus_speed(c_data->uds_ctx) == USBD_SPEED_FS) { in get_as_feedback_ep()
384 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_FS) { in write_explicit_feedback()
417 if (usbd_bus_speed(uds_ctx) == USBD_SPEED_FS) { in uac2_update()
Dusbd_cdc_ncm.c735 uint32_t usb_speed = (usbd_bus_speed(uds_ctx) == USBD_SPEED_FS) ? in cdc_ncm_send_speed_change()
/Zephyr-latest/include/zephyr/usb/
Dusbd.h238 USBD_SPEED_FS, enumerator
/Zephyr-latest/doc/connectivity/usb/device_next/
Dusb_device.rst118 :c:func:`usbd_add_configuration`. Note :c:enumerator:`USBD_SPEED_FS` and
133 configuration is specified using :c:enumerator:`USBD_SPEED_FS` or
/Zephyr-latest/drivers/usb/udc/
Dudc_renesas_ra.c532 data->udc_cfg.usb_speed == USBD_SPEED_FS)) { in udc_renesas_ra_init()