if (udev->speed == USB_SPEED_HIGH && !in)	/* uframes per NAK */ interval = endpoint->bInterval; 
if (udev->speed == USB_SPEED_HIGH && !in) /* uframes per NAK */ interval = desc->bInterval; 
static ssize_t show_ep_interval(struct device *dev, struct device_attribute *attr, char *buf){	struct endpoint_attribute *endpoint_attr = to_endpoint_attr(attr);	struct usb_device *udev = endpoint_attr->udev;	struct usb_endpoint_descriptor *endpoint = endpoint_attr->endpoint;	char unit;	unsigned interval = 0;	unsigned in;	in = (endpoint->bEndpointAddress & USB_DIR_IN);	switch (endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) {	case USB_ENDPOINT_XFER_CONTROL:		if (udev->speed == USB_SPEED_HIGH) 	/* uframes per NAK */			interval = endpoint->bInterval;		break;	case USB_ENDPOINT_XFER_ISOC:		interval = 1 << (endpoint->bInterval - 1);		break;	case USB_ENDPOINT_XFER_BULK:		if (udev->speed == USB_SPEED_HIGH && !in)	/* uframes per NAK */			interval = endpoint->bInterval;		break;	case USB_ENDPOINT_XFER_INT:		if (udev->speed == USB_SPEED_HIGH) {			interval = 1 << (endpoint->bInterval - 1);		} else			interval = endpoint->bInterval;		break;	}	interval *= (udev->speed == USB_SPEED_HIGH) ? 125 : 1000;	if (interval % 1000)		unit = 'u';	else {		unit = 'm';		interval /= 1000;	}	return sprintf(buf, "%d%cs\n", interval, unit);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/be69e5b1900a19a545becda822b18d6f09168ba5/sysfs.c/clean/drivers/usb/core/sysfs.c