Lines Matching refs:cur_alt
1833 * @cur_alt: the current alternate interface setting
1837 * and pass NULL for cur_alt and new_alt.
1840 * pass in NULL for new_config, cur_alt, and new_alt.
1843 * pass in the current alternate interface setting in cur_alt,
1851 struct usb_host_interface *cur_alt,
1865 if (!new_config && !cur_alt) {
1920 if (cur_alt && new_alt) {
1922 cur_alt->desc.bInterfaceNumber);
1931 * setting installed before the reset as cur_alt. Dig
1936 cur_alt = usb_altnum_to_altsetting(iface, 0);
1937 if (!cur_alt)
1938 cur_alt = &iface->altsetting[0];
1942 for (i = 0; i < cur_alt->desc.bNumEndpoints; i++) {
1944 &cur_alt->endpoint[i]);