struct endpoint_attribute *endpoint_attr = to_endpoint_attr(attr); 
static ssize_t show_ep_direction(struct device *dev, struct device_attribute *attr, char *buf){	struct endpoint_attribute *endpoint_attr = to_endpoint_attr(attr);	char *direction;	if ((endpoint_attr->endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==	    USB_ENDPOINT_XFER_CONTROL)		direction = "both";	else if (endpoint_attr->endpoint->bEndpointAddress & USB_DIR_IN)		direction = "in";	else		direction = "out";	return sprintf(buf, "%s\n", direction);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/be69e5b1900a19a545becda822b18d6f09168ba5/sysfs.c/clean/drivers/usb/core/sysfs.c