Home
last modified time | relevance | path

Searched refs:USB_BSTRING_LENGTH (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/subsys/usb/device/
Dusb_descriptor.h24 #define USB_BSTRING_LENGTH(s) (sizeof(s) * 2 - 2) macro
Dusb_descriptor.c112 uint8_t bString[USB_BSTRING_LENGTH(
119 uint8_t bString[USB_BSTRING_LENGTH(CONFIG_USB_DEVICE_PRODUCT)];
125 uint8_t bString[USB_BSTRING_LENGTH(CONFIG_USB_DEVICE_SN)];
132 uint8_t bString[USB_BSTRING_LENGTH(CONFIG_USB_CONFIGURATION_STRING_DESC)];
/Zephyr-latest/subsys/usb/device/class/dfu/
Dusb_dfu.c232 uint8_t bString[USB_BSTRING_LENGTH(
239 uint8_t bString[USB_BSTRING_LENGTH(CONFIG_USB_DEVICE_PRODUCT)];
245 uint8_t bString[USB_BSTRING_LENGTH(CONFIG_USB_DEVICE_SN)];
251 uint8_t bString[USB_BSTRING_LENGTH(FIRMWARE_IMAGE_0_LABEL)];
258 uint8_t bString[USB_BSTRING_LENGTH(FIRMWARE_IMAGE_1_LABEL)];
/Zephyr-latest/include/zephyr/usb/
Dusbd.h50 #define USB_BSTRING_LENGTH(s) (sizeof(s) * 2 - 2) macro
584 static uint8_t ascii_##d_name[USB_BSTRING_LENGTH(d_string)] = d_string; \
/Zephyr-latest/samples/subsys/dap/src/
Dmain.c34 uint8_t bString[USB_BSTRING_LENGTH(DAP_IFACE_STR_DESC)];
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_ecm.c394 uint8_t bString[USB_BSTRING_LENGTH(CONFIG_USB_DEVICE_NETWORK_ECM_MAC)];