Lines Matching refs:alt
18 module_param_named(alt, override_alt, int, 0644);
19 MODULE_PARM_DESC(alt, ">= 0 to override altsetting selection");
58 int alt; member
105 struct usb_host_interface *alt; in get_endpoints() local
117 alt = intf->altsetting + tmp; in get_endpoints()
120 override_alt != alt->desc.bAlternateSetting) in get_endpoints()
126 for (ep = 0; ep < alt->desc.bNumEndpoints; ep++) { in get_endpoints()
129 e = alt->endpoint + ep; in get_endpoints()
176 dev->info->alt = alt->desc.bAlternateSetting; in get_endpoints()
177 if (alt->desc.bAlternateSetting != 0) { in get_endpoints()
179 alt->desc.bInterfaceNumber, in get_endpoints()
180 alt->desc.bAlternateSetting); in get_endpoints()
777 int i, alt, retval; in ch9_postconfig() local
785 alt = iface->altsetting[i].desc.bAlternateSetting; in ch9_postconfig()
786 if (alt < 0 || alt >= iface->num_altsetting) { in ch9_postconfig()
789 i, alt); in ch9_postconfig()
797 retval = set_altsetting(dev, alt); in ch9_postconfig()
800 alt, retval); in ch9_postconfig()
806 if (retval != alt) { in ch9_postconfig()
808 alt, retval); in ch9_postconfig()
2087 if (dev->info->alt >= 0) { in usbtest_ioctl()
2094 res = set_altsetting(dev, dev->info->alt); in usbtest_ioctl()
2098 dev->info->alt, res); in usbtest_ioctl()
2638 info->alt >= 0 ? " (+alt)" : ""); in usbtest_probe()
2678 .alt = 1,
2686 .alt = 1,
2695 .alt = 1,
2712 .alt = 0,
2718 .alt = -1,
2725 .alt = -1,
2735 .alt = -1,
2743 .alt = -1,