Home
last modified time | relevance | path

Searched refs:USB_MAXIMUM_SPEED (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-2.7.6/drivers/usb/device/
Dusb_dc_sam_usbhs.c50 #define USB_MAXIMUM_SPEED DT_ENUM_IDX(DT_DRV_INST(0), maximum_speed) macro
52 #define USB_MAXIMUM_SPEED 2 /* Default to high-speed */ macro
315 #if USB_MAXIMUM_SPEED == 0 in usb_dc_attach()
319 #elif USB_MAXIMUM_SPEED == 1 in usb_dc_attach()
322 #elif USB_MAXIMUM_SPEED == 2 in usb_dc_attach()
Dusb_dc_stm32.c60 #define USB_MAXIMUM_SPEED DT_INST_PROP(0, maximum_speed) macro
322 #ifdef USB_MAXIMUM_SPEED in usb_dc_stm32_get_maximum_speed()
324 if (!strncmp(USB_MAXIMUM_SPEED, "high-speed", 10)) { in usb_dc_stm32_get_maximum_speed()
326 } else if (!strncmp(USB_MAXIMUM_SPEED, "full-speed", 10)) { in usb_dc_stm32_get_maximum_speed()