Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/usb/gadget/
Dconfig.c87 if (length < USB_DT_CONFIG_SIZE || !desc) in usb_gadget_config_buf()
92 len = usb_descriptor_fillbuf(USB_DT_CONFIG_SIZE + (u8 *)buf, in usb_gadget_config_buf()
93 length - USB_DT_CONFIG_SIZE, desc); in usb_gadget_config_buf()
96 len += USB_DT_CONFIG_SIZE; in usb_gadget_config_buf()
101 cp->bLength = USB_DT_CONFIG_SIZE; in usb_gadget_config_buf()
Dcomposite.c567 void *next = buf + USB_DT_CONFIG_SIZE; in config_buf()
572 len = USB_COMP_EP0_BUFSIZ - USB_DT_CONFIG_SIZE; in config_buf()
575 c->bLength = USB_DT_CONFIG_SIZE; in config_buf()
/linux-6.6.21/drivers/usb/core/
Dconfig.c621 memcpy(&config->desc, buffer, USB_DT_CONFIG_SIZE); in usb_parse_configuration()
626 config->desc.bLength < USB_DT_CONFIG_SIZE || in usb_parse_configuration()
891 desc = kmalloc(USB_DT_CONFIG_SIZE, GFP_KERNEL); in usb_get_configuration()
899 desc, USB_DT_CONFIG_SIZE); in usb_get_configuration()
911 USB_DT_CONFIG_SIZE, result); in usb_get_configuration()
916 USB_DT_CONFIG_SIZE); in usb_get_configuration()
/linux-6.6.21/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c92 #define AST_VHUB_CONF_DESC_SIZE (USB_DT_CONFIG_SIZE + \
98 .bLength = USB_DT_CONFIG_SIZE,
/linux-6.6.21/drivers/usb/gadget/legacy/
Dinode.c1786 && config->bLength == USB_DT_CONFIG_SIZE in is_valid_config()
1787 && total >= USB_DT_CONFIG_SIZE in is_valid_config()
1812 if ((len < (USB_DT_CONFIG_SIZE + USB_DT_DEVICE_SIZE + 4)) || in dev_config()
/linux-6.6.21/include/uapi/linux/usb/
Dch9.h358 #define USB_DT_CONFIG_SIZE 9 macro