Searched refs:bcd (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/subsys/usb/device_next/ |
D | usbd_device.c | 56 const enum usbd_speed speed, const uint16_t bcd) in usbd_device_set_bcd_usb() argument 69 desc->bcdUSB = sys_cpu_to_le16(bcd); in usbd_device_set_bcd_usb() 125 const uint16_t bcd) in usbd_device_set_bcd_device() argument 138 fs_desc->bcdDevice = sys_cpu_to_le16(bcd); in usbd_device_set_bcd_device() 141 hs_desc->bcdDevice = sys_cpu_to_le16(bcd); in usbd_device_set_bcd_device()
|
D | usbd_shell.c | 291 uint16_t bcd; in cmd_device_bcd_usb() local 294 bcd = strtol(argv[2], NULL, 16); in cmd_device_bcd_usb() 295 ret = usbd_device_set_bcd_usb(my_uds_ctx, current_cmd_speed, bcd); in cmd_device_bcd_usb() 297 shell_error(sh, "dev: failed to set device bcdUSB to %x", bcd); in cmd_device_bcd_usb() 299 shell_error(sh, "dev: set device bcdUSB to %x", bcd); in cmd_device_bcd_usb()
|
/Zephyr-Core-3.7.0/include/zephyr/sys/ |
D | util.h | 575 static inline uint8_t bcd2bin(uint8_t bcd) in bcd2bin() argument 577 return ((10 * (bcd >> 4)) + (bcd & 0x0F)); in bcd2bin()
|
/Zephyr-Core-3.7.0/include/zephyr/usb/ |
D | usbd.h | 982 const enum usbd_speed speed, const uint16_t bcd); 1015 const uint16_t bcd);
|