Lines Matching defs:length
27 * Copies descriptors into the buffer, returning the length or a
63 * @length: Length of buffer. If this is not big enough to hold the
67 * for that configuration. It returns the buffer length or a negative
68 * status code. The config.wTotalLength field is set to match the length
79 unsigned length,
87 if (length < USB_DT_CONFIG_SIZE || !desc)
93 length - USB_DT_CONFIG_SIZE, desc);
217 unsigned length = 0;
220 length = sizeof(struct usb_otg20_descriptor);
222 length = sizeof(struct usb_otg_descriptor);
224 otg_desc = kzalloc(length, GFP_KERNEL);