altsetting 1482 drivers/bluetooth/btusb.c static inline int __set_isoc_interface(struct hci_dev *hdev, int altsetting) altsetting 1492 drivers/bluetooth/btusb.c err = usb_set_interface(data->udev, data->isoc_ifnum, altsetting); altsetting 1498 drivers/bluetooth/btusb.c data->isoc_altsetting = altsetting; altsetting 855 drivers/hid/hid-asus.c if (intf->altsetting->desc.bInterfaceNumber == T100_TPAD_INTF) { altsetting 56 drivers/hid/hid-elan.c return (intf->altsetting->desc.bInterfaceNumber != altsetting 1665 drivers/hid/hid-logitech-dj.c if (intf && intf->altsetting->desc.bInterfaceNumber >= altsetting 1331 drivers/hid/usbhid/hid-core.c intf->altsetting->desc.bInterfaceNumber); altsetting 1385 drivers/hid/usbhid/hid-core.c "%d", intf->altsetting[0].desc.bInterfaceNumber); altsetting 1610 drivers/input/misc/ims-pcu.c const void *buf = intf->altsetting->extra; altsetting 1611 drivers/input/misc/ims-pcu.c size_t buflen = intf->altsetting->extralen; altsetting 299 drivers/input/mouse/synaptics_usb.c unsigned int altsetting = min(intf->num_altsetting, 1U); altsetting 302 drivers/input/mouse/synaptics_usb.c error = usb_set_interface(udev, intf_num, altsetting); altsetting 306 drivers/input/mouse/synaptics_usb.c altsetting, error); altsetting 1716 drivers/input/tablet/aiptek.c aiptek->ifnum = intf->altsetting[0].desc.bInterfaceNumber; altsetting 895 drivers/input/tablet/gtco.c dev_dbg(&usbinterface->dev, "endpoint extra len:%d\n", usbinterface->altsetting[0].extralen); altsetting 1953 drivers/isdn/hardware/mISDN/hfcsusb.c iface = intf->altsetting + alt_idx; altsetting 190 drivers/media/rc/ttusbir.c int altsetting = -1; altsetting 200 drivers/media/rc/ttusbir.c for (i = 0; i < intf->num_altsetting && altsetting == -1; i++) { altsetting 203 drivers/media/rc/ttusbir.c idesc = &intf->altsetting[i].desc; altsetting 206 drivers/media/rc/ttusbir.c desc = &intf->altsetting[i].endpoint[j].desc; altsetting 220 drivers/media/rc/ttusbir.c altsetting = i; altsetting 226 drivers/media/rc/ttusbir.c if (altsetting == -1) { altsetting 236 drivers/media/rc/ttusbir.c ret = usb_set_interface(tt->udev, 0, altsetting); altsetting 657 drivers/media/usb/au0828/au0828-core.c ifnum = interface->altsetting->desc.bInterfaceNumber; altsetting 692 drivers/media/usb/cx231xx/cx231xx-audio.c if (uif->altsetting[0].desc.bNumEndpoints < isoc_pipe + 1) { altsetting 698 drivers/media/usb/cx231xx/cx231xx-audio.c uif->altsetting[0].endpoint[isoc_pipe].desc. altsetting 714 drivers/media/usb/cx231xx/cx231xx-audio.c if (uif->altsetting[i].desc.bNumEndpoints < isoc_pipe + 1) { altsetting 719 drivers/media/usb/cx231xx/cx231xx-audio.c tmp = le16_to_cpu(uif->altsetting[i].endpoint[isoc_pipe].desc. altsetting 1569 drivers/media/usb/cx231xx/cx231xx-cards.c if (uif->altsetting[0].desc.bNumEndpoints < isoc_pipe + 1) altsetting 1572 drivers/media/usb/cx231xx/cx231xx-cards.c dev->video_mode.end_point_addr = uif->altsetting[0].endpoint[isoc_pipe].desc.bEndpointAddress; altsetting 1587 drivers/media/usb/cx231xx/cx231xx-cards.c if (uif->altsetting[i].desc.bNumEndpoints < isoc_pipe + 1) altsetting 1590 drivers/media/usb/cx231xx/cx231xx-cards.c tmp = le16_to_cpu(uif->altsetting[i].endpoint[isoc_pipe].desc.wMaxPacketSize); altsetting 1607 drivers/media/usb/cx231xx/cx231xx-cards.c if (uif->altsetting[0].desc.bNumEndpoints < isoc_pipe + 1) altsetting 1611 drivers/media/usb/cx231xx/cx231xx-cards.c uif->altsetting[0].endpoint[isoc_pipe].desc. altsetting 1628 drivers/media/usb/cx231xx/cx231xx-cards.c if (uif->altsetting[i].desc.bNumEndpoints < isoc_pipe + 1) altsetting 1631 drivers/media/usb/cx231xx/cx231xx-cards.c tmp = le16_to_cpu(uif->altsetting[i].endpoint[isoc_pipe]. altsetting 1651 drivers/media/usb/cx231xx/cx231xx-cards.c if (uif->altsetting[0].desc.bNumEndpoints < isoc_pipe + 1) altsetting 1655 drivers/media/usb/cx231xx/cx231xx-cards.c uif->altsetting[0].endpoint[isoc_pipe].desc. altsetting 1670 drivers/media/usb/cx231xx/cx231xx-cards.c if (uif->altsetting[i].desc.bNumEndpoints < isoc_pipe + 1) altsetting 1673 drivers/media/usb/cx231xx/cx231xx-cards.c tmp = le16_to_cpu(uif->altsetting[i].endpoint[isoc_pipe]. altsetting 1703 drivers/media/usb/cx231xx/cx231xx-cards.c ifnum = interface->altsetting[0].desc.bInterfaceNumber; altsetting 1842 drivers/media/usb/cx231xx/cx231xx-cards.c if (uif->altsetting[0].desc.bNumEndpoints < isoc_pipe + 1) { altsetting 1848 drivers/media/usb/cx231xx/cx231xx-cards.c uif->altsetting[0].endpoint[isoc_pipe]. altsetting 1866 drivers/media/usb/cx231xx/cx231xx-cards.c if (uif->altsetting[i].desc.bNumEndpoints < isoc_pipe + 1) { altsetting 1871 drivers/media/usb/cx231xx/cx231xx-cards.c tmp = le16_to_cpu(uif->altsetting[i]. altsetting 1586 drivers/media/usb/dvb-usb/cxusb.c if (intf->altsetting[ctr].desc.bAlternateSetting != 1) altsetting 1589 drivers/media/usb/dvb-usb/cxusb.c if (cxusb_medion_check_altsetting(&intf->altsetting[ctr])) altsetting 777 drivers/media/usb/em28xx/em28xx-audio.c for (i = 0; i < intf->altsetting[alt].desc.bNumEndpoints; i++) { altsetting 778 drivers/media/usb/em28xx/em28xx-audio.c e = &intf->altsetting[alt].endpoint[i].desc; altsetting 3633 drivers/media/usb/em28xx/em28xx-cards.c e = &intf->altsetting[alt].endpoint[ep].desc; altsetting 3713 drivers/media/usb/em28xx/em28xx-cards.c const int ifnum = intf->altsetting[0].desc.bInterfaceNumber; altsetting 3732 drivers/media/usb/em28xx/em28xx-cards.c if (intf->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) { altsetting 3738 drivers/media/usb/em28xx/em28xx-cards.c intf->altsetting[0].desc.bInterfaceClass); altsetting 3766 drivers/media/usb/em28xx/em28xx-cards.c ep < intf->altsetting[i].desc.bNumEndpoints; altsetting 3803 drivers/media/usb/em28xx/em28xx-cards.c intf->altsetting->desc.bInterfaceNumber); altsetting 3838 drivers/media/usb/em28xx/em28xx-cards.c if (uif->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) { altsetting 594 drivers/media/usb/gspca/gspca.c ep = alt_xfer(&intf->altsetting[j], altsetting 783 drivers/media/usb/gspca/gspca.c ep = alt_xfer(&intf->altsetting[gspca_dev->alt], xfer, altsetting 826 drivers/media/usb/gspca/gspca.c alt_xfer(&intf->altsetting[alt], xfer, altsetting 1482 drivers/media/usb/gspca/gspca.c && intf2->altsetting != NULL altsetting 1483 drivers/media/usb/gspca/gspca.c && intf2->altsetting->desc.bInterfaceClass == altsetting 321 drivers/media/usb/gspca/stv06xx/stv06xx.c alt = &intfc->altsetting[1]; altsetting 343 drivers/media/usb/gspca/stv06xx/stv06xx.c alt = &gspca_dev->dev->actconfig->intf_cache[0]->altsetting[1]; altsetting 2653 drivers/media/usb/gspca/xirlink_cit.c alt = &intfc->altsetting[1]; altsetting 2684 drivers/media/usb/gspca/xirlink_cit.c alt = &gspca_dev->dev->actconfig->intf_cache[0]->altsetting[1]; altsetting 779 drivers/media/usb/pwc/pwc-if.c intf->altsetting->desc.bInterfaceNumber); altsetting 785 drivers/media/usb/pwc/pwc-if.c if (intf->altsetting->desc.bInterfaceNumber > 0) altsetting 183 drivers/media/usb/stk1160/stk1160-core.c ifnum = intf->altsetting[0].desc.bInterfaceNumber; altsetting 188 drivers/media/usb/stk1160/stk1160-core.c for (e = 0; e < intf->altsetting[i].desc.bNumEndpoints; e++) { altsetting 191 drivers/media/usb/stk1160/stk1160-core.c desc = &intf->altsetting[i].endpoint[e].desc; altsetting 240 drivers/media/usb/stk1160/stk1160-core.c intf->altsetting->desc.bInterfaceNumber); altsetting 279 drivers/media/usb/stk1160/stk1160-core.c if (interface->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) altsetting 1235 drivers/media/usb/tm6000/tm6000-cards.c for (ep = 0; ep < interface->altsetting[i].desc.bNumEndpoints; ep++) { altsetting 1239 drivers/media/usb/tm6000/tm6000-cards.c e = &interface->altsetting[i].endpoint[ep]; altsetting 1246 drivers/media/usb/tm6000/tm6000-cards.c interface->altsetting[i].desc.bInterfaceNumber, altsetting 1247 drivers/media/usb/tm6000/tm6000-cards.c interface->altsetting[i].desc.bInterfaceClass); altsetting 1253 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], altsetting 1258 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], altsetting 1266 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], altsetting 1271 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], altsetting 1279 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], altsetting 1284 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], altsetting 1298 drivers/media/usb/tm6000/tm6000-cards.c interface->altsetting->desc.bInterfaceNumber); altsetting 1644 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (intf->altsetting->desc.bInterfaceNumber != 1) return -ENODEV; altsetting 79 drivers/media/usb/usbtv/usbtv-core.c if (intf->altsetting[1].desc.bNumEndpoints != 4) altsetting 82 drivers/media/usb/usbtv/usbtv-core.c ep = &intf->altsetting[1].endpoint[0]; altsetting 1416 drivers/media/usb/usbvision/usbvision-video.c __u8 ifnum = intf->altsetting->desc.bInterfaceNumber; altsetting 1436 drivers/media/usb/usbvision/usbvision-video.c interface = &dev->actconfig->interface[usbvision_device_data[model].interface]->altsetting[0]; altsetting 1438 drivers/media/usb/usbvision/usbvision-video.c interface = &dev->actconfig->interface[ifnum]->altsetting[0]; altsetting 1499 drivers/media/usb/usbvision/usbvision-video.c if (uif->altsetting[i].desc.bNumEndpoints < 2) { altsetting 1504 drivers/media/usb/usbvision/usbvision-video.c tmp = le16_to_cpu(uif->altsetting[i].endpoint[1].desc. altsetting 721 drivers/media/usb/uvc/uvc_driver.c struct usb_host_interface *alts = &intf->altsetting[0]; altsetting 734 drivers/media/usb/uvc/uvc_driver.c intf->altsetting[0].desc.bInterfaceNumber); altsetting 741 drivers/media/usb/uvc/uvc_driver.c intf->altsetting[0].desc.bInterfaceNumber); altsetting 940 drivers/media/usb/uvc/uvc_driver.c alts = &intf->altsetting[i]; altsetting 1831 drivers/media/usb/uvc/uvc_video.c unsigned int uninitialized_var(altsetting); altsetting 1850 drivers/media/usb/uvc/uvc_video.c alts = &intf->altsetting[i]; altsetting 1859 drivers/media/usb/uvc/uvc_video.c altsetting = alts->desc.bAlternateSetting; altsetting 1872 drivers/media/usb/uvc/uvc_video.c "(%u B/frame bandwidth).\n", altsetting, best_psize); altsetting 1874 drivers/media/usb/uvc/uvc_video.c ret = usb_set_interface(stream->dev->udev, intfnum, altsetting); altsetting 1881 drivers/media/usb/uvc/uvc_video.c ep = uvc_find_endpoint(&intf->altsetting[0], altsetting 837 drivers/net/can/usb/peak_usb/pcan_usb.c if_desc = intf->altsetting; altsetting 969 drivers/net/can/usb/peak_usb/pcan_usb_pro.c if_desc = intf->altsetting; altsetting 776 drivers/net/usb/catc.c intf->altsetting->desc.bInterfaceNumber, 1)) { altsetting 326 drivers/net/usb/cdc-phonet.c data = intf->altsetting->extra; altsetting 327 drivers/net/usb/cdc-phonet.c len = intf->altsetting->extralen; altsetting 341 drivers/net/usb/cdc-phonet.c if (data_intf->altsetting[0].desc.bNumEndpoints == 0 && altsetting 342 drivers/net/usb/cdc-phonet.c data_intf->altsetting[1].desc.bNumEndpoints == 2) altsetting 343 drivers/net/usb/cdc-phonet.c data_desc = data_intf->altsetting + 1; altsetting 345 drivers/net/usb/cdc-phonet.c if (data_intf->altsetting[0].desc.bNumEndpoints == 2 && altsetting 346 drivers/net/usb/cdc-phonet.c data_intf->altsetting[1].desc.bNumEndpoints == 0) altsetting 347 drivers/net/usb/cdc-phonet.c data_desc = data_intf->altsetting; altsetting 377 drivers/net/usb/cdc-phonet.c pnd->active_setting = data_desc - data_intf->altsetting; altsetting 2885 drivers/net/usb/lan78xx.c alt = intf->altsetting + tmp; altsetting 92 drivers/net/usb/usbnet.c alt = intf->altsetting + tmp; altsetting 2239 drivers/net/wireless/atmel/at76c50x-usb.c interface->altsetting[0].desc.bNumEndpoints); altsetting 1012 drivers/net/wireless/intersil/p54/p54usb.c i = intf->altsetting->desc.bNumEndpoints; altsetting 1015 drivers/net/wireless/intersil/p54/p54usb.c switch (intf->altsetting->endpoint[i].desc.bEndpointAddress) { altsetting 228 drivers/pinctrl/nomadik/pinctrl-ab8500.c .npins = ARRAY_SIZE(a##_pins), .altsetting = b } altsetting 150 drivers/pinctrl/nomadik/pinctrl-ab8505.c .npins = ARRAY_SIZE(a##_pins), .altsetting = b } altsetting 577 drivers/pinctrl/nomadik/pinctrl-abx500.c if (g->altsetting < 0) altsetting 584 drivers/pinctrl/nomadik/pinctrl-abx500.c g->pins[i], g->altsetting); altsetting 586 drivers/pinctrl/nomadik/pinctrl-abx500.c ret = abx500_set_mode(pctldev, chip, g->pins[i], g->altsetting); altsetting 55 drivers/pinctrl/nomadik/pinctrl-abx500.h int altsetting; altsetting 660 drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c .npins = ARRAY_SIZE(a##_pins), .altsetting = b } altsetting 307 drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c .npins = ARRAY_SIZE(a##_pins), .altsetting = b } altsetting 1569 drivers/pinctrl/nomadik/pinctrl-nomadik.c if (g->altsetting < 0) altsetting 1595 drivers/pinctrl/nomadik/pinctrl-nomadik.c glitch = ((g->altsetting & NMK_GPIO_ALT_C) == NMK_GPIO_ALT_C); altsetting 1623 drivers/pinctrl/nomadik/pinctrl-nomadik.c dev_dbg(npct->dev, "setting pin %d to altsetting %d\n", g->pins[i], g->altsetting); altsetting 1637 drivers/pinctrl/nomadik/pinctrl-nomadik.c (g->altsetting & NMK_GPIO_ALT_C), glitch); altsetting 1648 drivers/pinctrl/nomadik/pinctrl-nomadik.c if ((g->altsetting & NMK_GPIO_ALT_C) == NMK_GPIO_ALT_C) altsetting 1650 drivers/pinctrl/nomadik/pinctrl-nomadik.c g->altsetting >> NMK_GPIO_ALT_CX_SHIFT); altsetting 120 drivers/pinctrl/nomadik/pinctrl-nomadik.h int altsetting; altsetting 1588 drivers/staging/comedi/drivers/usbdux.c ret = usb_set_interface(usb, intf->altsetting->desc.bInterfaceNumber, altsetting 939 drivers/staging/comedi/drivers/usbduxfast.c intf->altsetting->desc.bInterfaceNumber, 1); altsetting 1475 drivers/staging/comedi/drivers/usbduxsigma.c ret = usb_set_interface(usb, intf->altsetting->desc.bInterfaceNumber, altsetting 59 drivers/usb/atm/speedtch.c static unsigned int altsetting = 0; /* zero means: use the default */ altsetting 76 drivers/usb/atm/speedtch.c module_param(altsetting, uint, S_IRUGO | S_IWUSR); altsetting 77 drivers/usb/atm/speedtch.c MODULE_PARM_DESC(altsetting, altsetting 115 drivers/usb/atm/speedtch.c unsigned int altsetting; altsetting 327 drivers/usb/atm/speedtch.c if ((ret = usb_set_interface(usb_dev, INTERFACE_DATA, instance->params.altsetting)) < 0) { altsetting 328 drivers/usb/atm/speedtch.c usb_err(usbatm, "%s: setting interface to %d failed (%d)!\n", __func__, instance->params.altsetting, ret); altsetting 768 drivers/usb/atm/speedtch.c int ifnum = intf->altsetting->desc.bInterfaceNumber; altsetting 814 drivers/usb/atm/speedtch.c instance->params.altsetting = altsetting; altsetting 821 drivers/usb/atm/speedtch.c if (instance->params.altsetting) altsetting 822 drivers/usb/atm/speedtch.c if ((ret = usb_set_interface(usb_dev, INTERFACE_DATA, instance->params.altsetting)) < 0) { altsetting 823 drivers/usb/atm/speedtch.c usb_err(usbatm, "%s: setting interface to %2d failed (%d)!\n", __func__, instance->params.altsetting, ret); altsetting 824 drivers/usb/atm/speedtch.c instance->params.altsetting = 0; /* fall back to default */ altsetting 827 drivers/usb/atm/speedtch.c if (!instance->params.altsetting && use_isoc) altsetting 853 drivers/usb/atm/speedtch.c if (!use_isoc && !instance->params.altsetting) altsetting 859 drivers/usb/atm/speedtch.c if (!instance->params.altsetting) altsetting 860 drivers/usb/atm/speedtch.c instance->params.altsetting = use_isoc ? DEFAULT_ISOC_ALTSETTING : DEFAULT_BULK_ALTSETTING; altsetting 527 drivers/usb/atm/ueagle-atm.c static unsigned int altsetting[NB_MODEM] = { altsetting 535 drivers/usb/atm/ueagle-atm.c module_param_array(altsetting, uint, NULL, 0644); altsetting 536 drivers/usb/atm/ueagle-atm.c MODULE_PARM_DESC(altsetting, "alternate setting for incoming traffic: 0=bulk, " altsetting 1275 drivers/usb/atm/ueagle-atm.c altsetting[sc->modem_index] > 0 || altsetting 2495 drivers/usb/atm/ueagle-atm.c int ret, ifnum = intf->altsetting->desc.bInterfaceNumber; altsetting 2543 drivers/usb/atm/ueagle-atm.c alt = altsetting[sc->modem_index]; altsetting 2622 drivers/usb/atm/ueagle-atm.c int ifnum = intf->altsetting->desc.bInterfaceNumber; altsetting 38 drivers/usb/atm/xusbatm.c static struct usb_interface *xusbatm_find_intf(struct usb_device *usb_dev, int altsetting, u8 ep) altsetting 45 drivers/usb/atm/xusbatm.c if ((intf = usb_dev->actconfig->interface[i]) && (alt = usb_altnum_to_altsetting(intf, altsetting))) altsetting 53 drivers/usb/atm/xusbatm.c struct usb_interface *intf, int altsetting, int claim) altsetting 55 drivers/usb/atm/xusbatm.c int ifnum = intf->altsetting->desc.bInterfaceNumber; altsetting 62 drivers/usb/atm/xusbatm.c ret = usb_set_interface(usb_dev, ifnum, altsetting); altsetting 64 drivers/usb/atm/xusbatm.c usb_err(usbatm, "%s: altsetting %2d for interface %2d failed (%d)!\n", __func__, altsetting, ifnum, ret); altsetting 110 drivers/usb/atm/xusbatm.c rx_intf->altsetting->desc.bInterfaceNumber, rx_alt, tx_alt); altsetting 115 drivers/usb/atm/xusbatm.c rx_intf->altsetting->desc.bInterfaceNumber, altsetting 116 drivers/usb/atm/xusbatm.c tx_intf->altsetting->desc.bInterfaceNumber); altsetting 121 drivers/usb/class/cdc-acm.c acm->control->altsetting[0].desc.bInterfaceNumber, altsetting 1152 drivers/usb/class/cdc-acm.c unsigned char *buffer = intf->altsetting->extra; altsetting 1153 drivers/usb/class/cdc-acm.c int buflen = intf->altsetting->extralen; altsetting 915 drivers/usb/class/cdc-wdm.c u8 *buffer = intf->altsetting->extra; altsetting 916 drivers/usb/class/cdc-wdm.c int buflen = intf->altsetting->extralen; altsetting 1246 drivers/usb/class/usblp.c ifd = &if_alt->altsetting[i]; altsetting 236 drivers/usb/core/config.c alt = &intfc->altsetting[j]; altsetting 494 drivers/usb/core/config.c struct usb_host_interface *alt = &intfc->altsetting[j]; altsetting 536 drivers/usb/core/config.c for ((i = 0, alt = &intfc->altsetting[0]); altsetting 776 drivers/usb/core/config.c intfc = kzalloc(struct_size(intfc, altsetting, j), GFP_KERNEL); altsetting 813 drivers/usb/core/config.c if (intfc->altsetting[n].desc. altsetting 234 drivers/usb/core/devices.c desc = &intfc->altsetting[setno].desc; altsetting 258 drivers/usb/core/devices.c const struct usb_host_interface *desc = &intfc->altsetting[setno]; altsetting 697 drivers/usb/core/devio.c unsigned int ifnum = intf->altsetting->desc.bInterfaceNumber; altsetting 845 drivers/usb/core/devio.c alts = &intf->altsetting[j]; altsetting 977 drivers/usb/core/devio.c if (ifnum != intf->altsetting->desc.bInterfaceNumber) { altsetting 1427 drivers/usb/core/devio.c setintf.altsetting); altsetting 2397 drivers/usb/core/devio.c intf->altsetting[0].desc.bInterfaceNumber); altsetting 2416 drivers/usb/core/devio.c intf->altsetting[0].desc.bInterfaceNumber); altsetting 304 drivers/usb/core/driver.c intf->altsetting->desc.bInterfaceNumber); altsetting 354 drivers/usb/core/driver.c error = usb_set_interface(udev, intf->altsetting[0]. altsetting 455 drivers/usb/core/driver.c r = usb_set_interface(udev, intf->altsetting[0]. altsetting 1230 drivers/usb/core/driver.c usb_set_interface(udev, intf->altsetting[0]. altsetting 74 drivers/usb/core/generic.c desc = &c->intf_cache[0]->altsetting->desc; altsetting 1886 drivers/usb/core/hcd.c first_alt = &new_config->intf_cache[i]->altsetting[0]; altsetting 1919 drivers/usb/core/hcd.c cur_alt = &iface->altsetting[0]; altsetting 1562 drivers/usb/core/message.c alt = &intf->altsetting[0]; altsetting 1578 drivers/usb/core/message.c alt = &intf->altsetting[0]; altsetting 1608 drivers/usb/core/message.c alt = &intf->altsetting[0]; altsetting 1631 drivers/usb/core/message.c altsetting_to_usb_interface_cache(intf->altsetting); altsetting 1925 drivers/usb/core/message.c intf->altsetting = intfc->altsetting; altsetting 1938 drivers/usb/core/message.c alt = &intf->altsetting[0]; altsetting 545 drivers/usb/core/quirks.c intf = &cache->altsetting[0]; altsetting 233 drivers/usb/core/usb.c if (config->intf_cache[i]->altsetting[0].desc.bInterfaceNumber altsetting 242 drivers/usb/core/usb.c if (intf_cache->altsetting[i].desc.bAlternateSetting == alt_num) altsetting 243 drivers/usb/core/usb.c return &intf_cache->altsetting[i]; altsetting 282 drivers/usb/core/usb.c if (config->interface[i]->altsetting[0] altsetting 316 drivers/usb/core/usb.c if (intf->altsetting[i].desc.bAlternateSetting == altnum) altsetting 317 drivers/usb/core/usb.c return &intf->altsetting[i]; altsetting 244 drivers/usb/gadget/udc/pxa27x_udc.c int config, int interface, int altsetting) altsetting 253 drivers/usb/gadget/udc/pxa27x_udc.c || (ep->alternate != altsetting)) altsetting 671 drivers/usb/image/microtek.c struct usb_host_interface *altsetting; altsetting 683 drivers/usb/image/microtek.c altsetting = intf->cur_altsetting; altsetting 688 drivers/usb/image/microtek.c if ( altsetting->desc.bNumEndpoints != MTS_EP_TOTAL ) { altsetting 690 drivers/usb/image/microtek.c (int)MTS_EP_TOTAL, (int)altsetting->desc.bNumEndpoints ); altsetting 694 drivers/usb/image/microtek.c for( i = 0; i < altsetting->desc.bNumEndpoints; i++ ) { altsetting 695 drivers/usb/image/microtek.c if ((altsetting->endpoint[i].desc.bmAttributes & altsetting 699 drivers/usb/image/microtek.c (int)altsetting->endpoint[i].desc.bEndpointAddress ); altsetting 701 drivers/usb/image/microtek.c if (altsetting->endpoint[i].desc.bEndpointAddress & altsetting 704 drivers/usb/image/microtek.c = altsetting->endpoint[i].desc.bEndpointAddress & altsetting 712 drivers/usb/image/microtek.c ep_out = altsetting->endpoint[i].desc.bEndpointAddress & altsetting 110 drivers/usb/misc/chaoskey.c struct usb_host_interface *altsetting = interface->cur_altsetting; altsetting 121 drivers/usb/misc/chaoskey.c res = usb_find_bulk_in_endpoint(altsetting, &epd); altsetting 158 drivers/usb/misc/usbtest.c alt = intf->altsetting + tmp; altsetting 677 drivers/usb/misc/usbtest.c 0, iface->altsetting[0].desc.bInterfaceNumber, altsetting 700 drivers/usb/misc/usbtest.c iface->altsetting[0].desc.bInterfaceNumber, altsetting 838 drivers/usb/misc/usbtest.c alt = iface->altsetting[i].desc.bAlternateSetting; altsetting 1046 drivers/usb/misc/usbtest.c iface->altsetting[0].desc.bInterfaceNumber, dev->buf); altsetting 2676 drivers/usb/misc/usbtest.c if (intf->altsetting->desc.bInterfaceNumber) { altsetting 690 drivers/usb/misc/uss720.c i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2); altsetting 1583 drivers/usb/serial/ftdi_sio.c inter = serial->interface->altsetting->desc.bInterfaceNumber; altsetting 192 drivers/usb/serial/qcserial.c int altsetting = 0; altsetting 215 drivers/usb/serial/qcserial.c altsetting = -1; altsetting 219 drivers/usb/serial/qcserial.c return altsetting; altsetting 229 drivers/usb/serial/qcserial.c int altsetting = -1; altsetting 245 drivers/usb/serial/qcserial.c intf = &serial->interface->altsetting[1]; altsetting 257 drivers/usb/serial/qcserial.c altsetting = 1; altsetting 264 drivers/usb/serial/qcserial.c altsetting = 0; altsetting 282 drivers/usb/serial/qcserial.c altsetting = -1; altsetting 288 drivers/usb/serial/qcserial.c altsetting = 1; altsetting 292 drivers/usb/serial/qcserial.c altsetting = -1; altsetting 297 drivers/usb/serial/qcserial.c altsetting = handle_quectel_ec20(dev, ifnum); altsetting 310 drivers/usb/serial/qcserial.c altsetting = -1; altsetting 317 drivers/usb/serial/qcserial.c altsetting = -1; altsetting 357 drivers/usb/serial/qcserial.c altsetting = -1; altsetting 389 drivers/usb/serial/qcserial.c altsetting = -1; altsetting 405 drivers/usb/serial/qcserial.c if (altsetting >= 0) { altsetting 406 drivers/usb/serial/qcserial.c retval = usb_set_interface(serial->dev, ifnum, altsetting); altsetting 1103 drivers/usb/storage/alauda.c struct usb_host_interface *altsetting = us->pusb_intf->cur_altsetting; altsetting 1114 drivers/usb/storage/alauda.c altsetting->endpoint[0].desc.bEndpointAddress altsetting 19 drivers/usb/storage/uas-detect.h struct usb_host_interface *alt = &intf->altsetting[i]; altsetting 1040 drivers/usb/storage/uas.c usb_set_interface(udev, intf->altsetting[0].desc.bInterfaceNumber, 0); altsetting 1229 drivers/usb/storage/uas.c usb_set_interface(udev, intf->altsetting[0].desc.bInterfaceNumber, 0); altsetting 235 include/linux/usb.h struct usb_host_interface *altsetting; altsetting 328 include/linux/usb.h struct usb_host_interface altsetting[0]; altsetting 333 include/linux/usb.h container_of(a, struct usb_interface_cache, altsetting[0]) altsetting 59 include/uapi/linux/usbdevice_fs.h unsigned int altsetting; altsetting 141 sound/usb/card.c alts = &iface->altsetting[0]; altsetting 157 sound/usb/card.c alts = &iface->altsetting[0]; altsetting 218 sound/usb/card.c host_iface = &usb_ifnum_to_if(dev, ctrlif)->altsetting[0]; altsetting 567 sound/usb/card.c alts = &intf->altsetting[0]; altsetting 20 sound/usb/card.h unsigned char altsetting; /* corresponding alternate setting */ altsetting 104 sound/usb/card.h int iface, altsetting; altsetting 473 sound/usb/clock.c iface, fmt->altsetting, rate, ep); altsetting 491 sound/usb/clock.c iface, fmt->altsetting, ep); altsetting 506 sound/usb/clock.c int altsetting, int clock) altsetting 519 sound/usb/clock.c iface, altsetting, err); altsetting 554 sound/usb/clock.c prev_rate = get_sample_rate_v2v3(chip, iface, fmt->altsetting, clock); altsetting 582 sound/usb/clock.c iface, fmt->altsetting, rate, err); altsetting 587 sound/usb/clock.c fmt->altsetting, clock); altsetting 596 sound/usb/clock.c iface, fmt->altsetting, rate, cur_rate); altsetting 609 sound/usb/clock.c usb_set_interface(dev, iface, fmt->altsetting); altsetting 451 sound/usb/endpoint.c ep->altsetting == alts->desc.bAlternateSetting) { altsetting 454 sound/usb/endpoint.c ep_num, ep->iface, ep->altsetting, ep); altsetting 473 sound/usb/endpoint.c ep->altsetting = alts->desc.bAlternateSetting; altsetting 83 sound/usb/format.c fp->iface, fp->altsetting); altsetting 95 sound/usb/format.c fp->iface, fp->altsetting, altsetting 121 sound/usb/format.c fp->iface, fp->altsetting, altsetting 146 sound/usb/format.c fp->iface, fp->altsetting, format); altsetting 173 sound/usb/format.c fp->iface, fp->altsetting); altsetting 200 sound/usb/format.c fp->altsetting == 5 && fp->maxpacksize == 392) altsetting 247 sound/usb/format.c alts = &iface->altsetting[fp->altset_idx]; altsetting 264 sound/usb/format.c fp->iface, fp->altsetting, max_rate); altsetting 504 sound/usb/format.c fp->altsetting == 6) altsetting 544 sound/usb/format.c fp->iface, fp->altsetting, fp->channels); altsetting 572 sound/usb/format.c fp->iface, fp->altsetting, format); altsetting 622 sound/usb/format.c fp->iface, fp->altsetting, altsetting 774 sound/usb/line6/driver.c properties->altsetting); altsetting 88 sound/usb/line6/driver.h int altsetting; altsetting 437 sound/usb/line6/pod.c .altsetting = 5, altsetting 450 sound/usb/line6/pod.c .altsetting = 1, altsetting 463 sound/usb/line6/pod.c .altsetting = 5, altsetting 474 sound/usb/line6/pod.c .altsetting = 0, altsetting 486 sound/usb/line6/pod.c .altsetting = 5, altsetting 499 sound/usb/line6/pod.c .altsetting = 1, altsetting 512 sound/usb/line6/pod.c .altsetting = 5, altsetting 336 sound/usb/line6/podhd.c .altsetting = 5, altsetting 347 sound/usb/line6/podhd.c .altsetting = 5, altsetting 358 sound/usb/line6/podhd.c .altsetting = 1, altsetting 370 sound/usb/line6/podhd.c .altsetting = 1, altsetting 382 sound/usb/line6/podhd.c .altsetting = 1, altsetting 394 sound/usb/line6/podhd.c .altsetting = 1, altsetting 406 sound/usb/line6/podhd.c .altsetting = 1, altsetting 494 sound/usb/line6/toneport.c .altsetting = 2, /* 1..4 seem to be ok */ altsetting 503 sound/usb/line6/toneport.c .altsetting = 2, /* 1..4 seem to be ok */ altsetting 512 sound/usb/line6/toneport.c .altsetting = 2, /* 1..4 seem to be ok */ altsetting 521 sound/usb/line6/toneport.c .altsetting = 2, /* defaults to 44.1kHz, 16-bit */ altsetting 530 sound/usb/line6/toneport.c .altsetting = 2, /* 1..4 seem to be ok */ altsetting 539 sound/usb/line6/toneport.c .altsetting = 2, /* 1..4 seem to be ok */ altsetting 548 sound/usb/line6/toneport.c .altsetting = 2, /* defaults to 44.1kHz, 16-bit */ altsetting 204 sound/usb/line6/variax.c .altsetting = 1, altsetting 215 sound/usb/line6/variax.c .altsetting = 1, altsetting 1082 sound/usb/midi.c is_light_load = intf->cur_altsetting != intf->altsetting; altsetting 1085 sound/usb/midi.c hostif = &intf->altsetting[umidi->roland_load_ctl->private_value]; altsetting 1847 sound/usb/midi.c hostif = &intf->altsetting[0]; altsetting 1970 sound/usb/midi.c hostif = &intf->altsetting[1]; altsetting 2072 sound/usb/midi.c hostif = intf->altsetting; altsetting 2112 sound/usb/midi.c hostif = intf->altsetting; altsetting 2153 sound/usb/midi.c hostif = intf->altsetting; altsetting 919 sound/usb/misc/ua101.c alt = &interface->altsetting[0]; altsetting 925 sound/usb/misc/ua101.c alt = &interface->altsetting[1]; altsetting 1022 sound/usb/misc/ua101.c epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; altsetting 1030 sound/usb/misc/ua101.c epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; altsetting 1211 sound/usb/misc/ua101.c if (interface->altsetting->desc.bInterfaceNumber != altsetting 2975 sound/usb/mixer.c alts = &iface->altsetting[1]; altsetting 3484 sound/usb/mixer.c mixer->hostif = &usb_ifnum_to_if(chip->dev, ctrlif)->altsetting[0]; altsetting 1515 sound/usb/mixer_quirks.c alts = &iface->altsetting[1]; altsetting 183 sound/usb/pcm.c iface, fmt->altsetting); altsetting 236 sound/usb/pcm.c subs->data_endpoint->altsetting != subs->sync_endpoint->altsetting) { altsetting 239 sound/usb/pcm.c subs->sync_endpoint->altsetting); altsetting 245 sound/usb/pcm.c subs->sync_endpoint->altsetting, err); altsetting 278 sound/usb/pcm.c unsigned int altsetting, altsetting 287 sound/usb/pcm.c if (!iface || iface->num_altsetting < altsetting + 1) altsetting 289 sound/usb/pcm.c *alts = &iface->altsetting[altsetting]; altsetting 291 sound/usb/pcm.c if (altsd->bAlternateSetting != altsetting || altsetting 380 sound/usb/pcm.c alts = &iface->altsetting[1]; altsetting 457 sound/usb/pcm.c fmt->iface, fmt->altsetting, altsetting 472 sound/usb/pcm.c fmt->iface, fmt->altsetting, altsetting 512 sound/usb/pcm.c alts = usb_altnum_to_altsetting(iface, fmt->altsetting); altsetting 527 sound/usb/pcm.c fmt->iface, fmt->altsetting, err); altsetting 544 sound/usb/pcm.c err = usb_set_interface(dev, fmt->iface, fmt->altsetting); altsetting 548 sound/usb/pcm.c fmt->iface, fmt->altsetting, err); altsetting 552 sound/usb/pcm.c fmt->iface, fmt->altsetting); altsetting 913 sound/usb/pcm.c alts = &iface->altsetting[subs->cur_audiofmt->altset_idx]; altsetting 71 sound/usb/proc.c snd_iprintf(buffer, " Altset %d\n", fp->altsetting); altsetting 69 sound/usb/quirks-table.h .altsetting = 1, altsetting 529 sound/usb/quirks-table.h .altsetting = 1, altsetting 546 sound/usb/quirks-table.h .altsetting = 1, altsetting 1017 sound/usb/quirks-table.h .altsetting = 1, altsetting 1034 sound/usb/quirks-table.h .altsetting = 1, altsetting 1638 sound/usb/quirks-table.h .altsetting = 1, altsetting 1656 sound/usb/quirks-table.h .altsetting = 1, altsetting 1705 sound/usb/quirks-table.h .altsetting = 1, altsetting 1723 sound/usb/quirks-table.h .altsetting = 1, altsetting 2118 sound/usb/quirks-table.h .altsetting = 1, altsetting 2144 sound/usb/quirks-table.h .altsetting = 1, altsetting 2189 sound/usb/quirks-table.h .altsetting = 1, altsetting 2215 sound/usb/quirks-table.h .altsetting = 1, altsetting 2259 sound/usb/quirks-table.h .altsetting = 1, altsetting 2283 sound/usb/quirks-table.h .altsetting = 1, altsetting 2326 sound/usb/quirks-table.h .altsetting = 1, altsetting 2350 sound/usb/quirks-table.h .altsetting = 1, altsetting 2705 sound/usb/quirks-table.h .altsetting = 1, altsetting 2745 sound/usb/quirks-table.h .altsetting = 1, altsetting 2799 sound/usb/quirks-table.h .altsetting = 1, altsetting 2829 sound/usb/quirks-table.h .altsetting = 1, altsetting 3040 sound/usb/quirks-table.h .altsetting = 1, altsetting 3063 sound/usb/quirks-table.h .altsetting = 1, altsetting 3110 sound/usb/quirks-table.h .altsetting = 2, altsetting 3135 sound/usb/quirks-table.h .altsetting = 2, altsetting 3193 sound/usb/quirks-table.h .altsetting = 1, altsetting 3235 sound/usb/quirks-table.h .altsetting = 0, altsetting 3253 sound/usb/quirks-table.h .altsetting = 0, altsetting 3289 sound/usb/quirks-table.h .altsetting = 1, altsetting 3405 sound/usb/quirks-table.h .altsetting = 1, altsetting 3451 sound/usb/quirks-table.h .altsetting = 1, altsetting 3513 sound/usb/quirks-table.h .altsetting = 1, altsetting 3536 sound/usb/quirks-table.h .altsetting = 1, altsetting 3577 sound/usb/quirks-table.h .altsetting = 1, altsetting 3596 sound/usb/quirks-table.h .altsetting = 1, altsetting 3639 sound/usb/quirks-table.h .altsetting = 1, altsetting 37 sound/usb/quirks.c int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; altsetting 110 sound/usb/quirks.c alts = &iface->altsetting[0]; altsetting 161 sound/usb/quirks.c if (fp->iface != get_iface_desc(&iface->altsetting[0])->bInterfaceNumber || altsetting 166 sound/usb/quirks.c alts = &iface->altsetting[fp->altset_idx]; altsetting 211 sound/usb/quirks.c alts = &iface->altsetting[1]; altsetting 326 sound/usb/quirks.c alts = &iface->altsetting[0]; altsetting 370 sound/usb/quirks.c int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; altsetting 388 sound/usb/quirks.c get_iface_desc(iface->altsetting)->bInterfaceClass != altsetting 413 sound/usb/quirks.c .altsetting = 1, altsetting 425 sound/usb/quirks.c alts = &iface->altsetting[1]; altsetting 1346 sound/usb/quirks.c if (fp->altsetting == 2 || fp->altsetting == 3 || altsetting 1347 sound/usb/quirks.c fp->altsetting == 5 || fp->altsetting == 6) altsetting 1352 sound/usb/quirks.c fp->altsetting == 1 || fp->altsetting == 2 || altsetting 1353 sound/usb/quirks.c fp->altsetting == 3) altsetting 1357 sound/usb/quirks.c if (fp->altsetting == 2 || fp->altsetting == 3 || altsetting 1358 sound/usb/quirks.c fp->altsetting == 5 || fp->altsetting == 6) altsetting 1623 sound/usb/quirks.c switch (fp->altsetting) { altsetting 1641 sound/usb/quirks.c if (fp->altsetting == 2) altsetting 1659 sound/usb/quirks.c if (fp->altsetting == 3) altsetting 1668 sound/usb/quirks.c if (fp->altsetting == 2) { altsetting 1681 sound/usb/quirks.c if (fp->altsetting == 2) altsetting 1698 sound/usb/quirks.c if (fp->altsetting == iface->num_altsetting - 1) altsetting 683 sound/usb/stream.c fp->altsetting = altno; altsetting 1109 sound/usb/stream.c alts = &iface->altsetting[i]; altsetting 1161 sound/usb/stream.c fp && fp->altsetting == 1 && fp->channels == 1 && altsetting 59 tools/include/uapi/linux/usbdevice_fs.h unsigned int altsetting; altsetting 165 tools/usb/ffs-aio-example/multibuff/host_app/test.c iface = &conf->interface[0].altsetting[0]; altsetting 165 tools/usb/ffs-aio-example/simple/host_app/test.c iface = &conf->interface[0].altsetting[0];