Lines Matching refs:alt
18 module_param_named(alt, override_alt, int, 0644);
19 MODULE_PARM_DESC(alt, ">= 0 to override altsetting selection");
59 int alt; member
107 struct usb_host_interface *alt; in get_endpoints() local
119 alt = intf->altsetting + tmp; in get_endpoints()
122 override_alt != alt->desc.bAlternateSetting) in get_endpoints()
128 for (ep = 0; ep < alt->desc.bNumEndpoints; ep++) { in get_endpoints()
131 e = alt->endpoint + ep; in get_endpoints()
178 dev->info->alt = alt->desc.bAlternateSetting; in get_endpoints()
179 if (alt->desc.bAlternateSetting != 0) { in get_endpoints()
181 alt->desc.bInterfaceNumber, in get_endpoints()
182 alt->desc.bAlternateSetting); in get_endpoints()
790 int i, alt, retval; in ch9_postconfig() local
798 alt = iface->altsetting[i].desc.bAlternateSetting; in ch9_postconfig()
799 if (alt < 0 || alt >= iface->num_altsetting) { in ch9_postconfig()
802 i, alt); in ch9_postconfig()
810 retval = set_altsetting(dev, alt); in ch9_postconfig()
813 alt, retval); in ch9_postconfig()
819 if (retval != alt) { in ch9_postconfig()
821 alt, retval); in ch9_postconfig()
2112 if (dev->info->alt >= 0) { in usbtest_ioctl()
2119 res = set_altsetting(dev, dev->info->alt); in usbtest_ioctl()
2123 dev->info->alt, res); in usbtest_ioctl()
2682 info->alt >= 0 ? " (+alt)" : ""); in usbtest_probe()
2722 .alt = 1,
2730 .alt = 1,
2739 .alt = 1,
2756 .alt = 0,
2762 .alt = -1,
2769 .alt = -1,
2779 .alt = -1,
2787 .alt = -1,