Lines Matching refs:size
412 int __usb_get_extra_descriptor(char *buffer, unsigned size,
898 * @size: how big is "buf"?
900 * Return: Length of the string (> 0) or negative if size was too small.
919 static inline int usb_make_path(struct usb_device *dev, char *buf, size_t size)
922 actual = snprintf(buf, size, "usb-%s-%s", dev->bus->bus_name,
924 return (actual >= (int)size) ? -1 : actual;
1400 * maximum packet size of any given endpoint.
1421 * @sg: scatter gather buffer list, the buffer size of each element in
1423 * max packet size if no_sg_constraint isn't set in 'struct usb_bus'
1428 * size for the endpoint, which is a function of the configuration
1777 void *usb_alloc_coherent(struct usb_device *dev, size_t size,
1779 void usb_free_coherent(struct usb_device *dev, size_t size,
1804 void *data, __u16 size, int timeout);
1814 const void *data, __u16 size, int timeout,
1818 void *data, __u16 size, int timeout,
1821 unsigned char descindex, void *buf, int size);
1839 char *buf, size_t size);
2002 /* NOTE: only 0x07ff bits are for packet size... */