Searched refs:USB_DT_CONFIG_SIZE (Results 1 – 6 of 6) sorted by relevance
87 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()
452 void *next = buf + USB_DT_CONFIG_SIZE; in config_buf()457 len = USB_COMP_EP0_BUFSIZ - USB_DT_CONFIG_SIZE; in config_buf()460 c->bLength = USB_DT_CONFIG_SIZE; in config_buf()
564 memcpy(&config->desc, buffer, USB_DT_CONFIG_SIZE); in usb_parse_configuration()569 config->desc.bLength < USB_DT_CONFIG_SIZE || in usb_parse_configuration()834 desc = kmalloc(USB_DT_CONFIG_SIZE, GFP_KERNEL); in usb_get_configuration()842 desc, USB_DT_CONFIG_SIZE); in usb_get_configuration()854 USB_DT_CONFIG_SIZE, result); in usb_get_configuration()859 USB_DT_CONFIG_SIZE); in usb_get_configuration()
92 #define AST_VHUB_CONF_DESC_SIZE (USB_DT_CONFIG_SIZE + \102 .bLength = USB_DT_CONFIG_SIZE,
1774 && config->bLength == USB_DT_CONFIG_SIZE in is_valid_config()1775 && total >= USB_DT_CONFIG_SIZE in is_valid_config()1800 if ((len < (USB_DT_CONFIG_SIZE + USB_DT_DEVICE_SIZE + 4)) || in dev_config()
357 #define USB_DT_CONFIG_SIZE 9 macro