/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/atm/ |
H A D | xusbatm.c | 43 XUSBATM_PARM(rx_altsetting, unsigned char, byte, "rx altsetting (default 0)"); 44 XUSBATM_PARM(tx_altsetting, unsigned char, byte, "rx altsetting (default 0)"); 52 static struct usb_interface *xusbatm_find_intf (struct usb_device *usb_dev, int altsetting, u8 ep) argument 59 if ((intf = usb_dev->actconfig->interface[i]) && (alt = usb_altnum_to_altsetting(intf, altsetting))) 67 struct usb_interface *intf, int altsetting, int claim) 69 int ifnum = intf->altsetting->desc.bInterfaceNumber; 76 if ((ret = usb_set_interface(usb_dev, ifnum, altsetting))) { 77 usb_err(usbatm, "%s: altsetting %2d for interface %2d failed (%d)!\n", __func__, altsetting, ifnum, ret); 110 usb_dbg(usbatm, "%s: no interface contains endpoint %02x in altsetting 66 xusbatm_capture_intf(struct usbatm_data *usbatm, struct usb_device *usb_dev, struct usb_interface *intf, int altsetting, int claim) argument [all...] |
H A D | speedtch.c | 76 static unsigned int altsetting = 0; /* zero means: use the default */ variable 93 module_param(altsetting, uint, S_IRUGO | S_IWUSR); 94 MODULE_PARM_DESC(altsetting, 134 unsigned int altsetting; member in struct:speedtch_params 345 if ((ret = usb_set_interface(usb_dev, INTERFACE_DATA, instance->params.altsetting)) < 0) { 346 usb_err(usbatm, "%s: setting interface to %d failed (%d)!\n", __func__, instance->params.altsetting, ret); 764 int ifnum = intf->altsetting->desc.bInterfaceNumber; 810 instance->params.altsetting = altsetting; 817 if (instance->params.altsetting) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/image/ |
H A D | microtek.c | 722 /* the current altsetting on the interface we're probing */ 723 struct usb_host_interface *altsetting; local 743 /* the current altsetting on the interface we're probing */ 744 altsetting = intf->cur_altsetting; 749 if ( altsetting->desc.bNumEndpoints != MTS_EP_TOTAL ) { 751 (int)MTS_EP_TOTAL, (int)altsetting->desc.bNumEndpoints ); 755 for( i = 0; i < altsetting->desc.bNumEndpoints; i++ ) { 756 if ((altsetting->endpoint[i].desc.bmAttributes & 760 (int)altsetting->endpoint[i].desc.bEndpointAddress ); 762 if (altsetting [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/ |
H A D | st5481_usb.c | 251 struct usb_host_interface *altsetting = NULL; local 266 altsetting = usb_altnum_to_altsetting(intf, 3); 267 if (!altsetting) 271 if ( altsetting->desc.bNumEndpoints != 7 ) { 272 WARN("expecting 7 got %d endpoints!", altsetting->desc.bNumEndpoints); 277 altsetting->endpoint[3].desc.wMaxPacketSize = __constant_cpu_to_le16(32); 278 altsetting->endpoint[4].desc.wMaxPacketSize = __constant_cpu_to_le16(32); 313 endpoint = &altsetting->endpoint[EP_INT-1];
|
H A D | st5481_b.c | 266 struct usb_host_interface *altsetting = NULL; local 274 altsetting = usb_altnum_to_altsetting(intf, 3); 275 if (!altsetting) 279 endpoint = &altsetting->endpoint[EP_B1_OUT - 1 + bcs->channel * 2];
|
H A D | st5481_d.c | 600 struct usb_host_interface *altsetting = NULL; local 608 altsetting = usb_altnum_to_altsetting(intf, 3); 609 if (!altsetting) 613 endpoint = &altsetting->endpoint[EP_D_OUT-1];
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/core/ |
H A D | generic.c | 57 desc = &c->intf_cache[0]->altsetting->desc;
|
H A D | usb.c | 93 if (config->interface[i]->altsetting[0] 101 * usb_altnum_to_altsetting - get the altsetting structure with a given 103 * @intf: the interface containing the altsetting in question 106 * This searches the altsetting array of the specified interface for 111 * it would be incorrect to assume that the first altsetting entry in 112 * the array corresponds to altsetting zero. This routine helps device 124 if (intf->altsetting[i].desc.bAlternateSetting == altnum) 125 return &intf->altsetting[i];
|
H A D | message.c | 1025 * Disables all the endpoints for the interface's current altsetting. 1123 * Enables all the endpoints for the interface's current altsetting. 1187 warn("selecting invalid altsetting %d", alternate); 1214 /* If the interface only has one altsetting and the device didn't 1217 * new altsetting. 1233 /* 9.1.1.5: reset toggles for all endpoints in the new altsetting 1310 /* No altsetting 0? We'll assume the first altsetting. 1312 * so non-compliant that it doesn't have altsetting 0 1316 alt = &intf->altsetting[ [all...] |
H A D | config.c | 64 dev_warn(ddev, "config %d interface %d altsetting %d has an " 72 dev_warn(ddev, "config %d interface %d altsetting %d has an " 119 dev_warn(ddev, "config %d interface %d altsetting %d " 150 struct usb_host_interface *alt = &intfc->altsetting[j]; 190 /* Check for duplicate altsetting entries */ 192 for ((i = 0, alt = &intfc->altsetting[0]); 197 "interface %d altsetting %d, skipping\n", 223 "altsetting %d: %d, using maximum allowed: %d\n", 252 dev_warn(ddev, "config %d interface %d altsetting %d has %d " 383 /* Allocate the usb_interface_caches and altsetting array [all...] |
H A D | devices.c | 238 const struct usb_interface_descriptor *desc = &intfc->altsetting[setno].desc; 251 active ? '*' : ' ', /* mark active altsetting */ 271 const struct usb_host_interface *desc = &intfc->altsetting[setno];
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | usbdevice_fs.h | 60 unsigned int altsetting; member in struct:usbdevfs_setinterface
|
H A D | usb.h | 95 * @altsetting: array of interface structures, one for each alternate 99 * @cur_altsetting: the current altsetting. 130 * of a device sets altsetting 0, but the device driver can change 141 * look up an alternate setting in the altsetting array based on its number. 146 struct usb_host_interface *altsetting; member in struct:usb_interface 186 * @altsetting: variable-length array of interface structures, one for 192 * is installed). The altsetting arrays can be accessed through these 202 struct usb_host_interface altsetting[0]; member in struct:usb_interface_cache 207 container_of(a, struct usb_interface_cache, altsetting[0]) 787 * appropriate altsetting [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/usb/ |
H A D | usbaudio.c | 116 unsigned char altsetting; /* corresponding alternate setting */ member in struct:audioformat 1262 dev->devnum, iface, fmt->altsetting, rate, ep); 1269 dev->devnum, iface, fmt->altsetting, ep); 1296 alts = &iface->altsetting[fmt->altset_idx]; 1298 snd_assert(altsd->bAlternateSetting == fmt->altsetting, return -EINVAL); 1312 if (usb_set_interface(dev, fmt->iface, fmt->altsetting) < 0) { 1314 dev->devnum, fmt->iface, fmt->altsetting); 1317 snd_printdd(KERN_INFO "setting usb interface %d:%d\n", fmt->iface, fmt->altsetting); 1355 dev->devnum, fmt->iface, fmt->altsetting); 1363 dev->devnum, fmt->iface, fmt->altsetting); [all...] |
H A D | usbquirks.h | 204 .altsetting = 1, 221 .altsetting = 1, 505 .altsetting = 1, 522 .altsetting = 1, 718 .altsetting = 1, 735 .altsetting = 1,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/serial/ |
H A D | kobil_sct.c | 151 struct usb_host_interface *altsetting; local 184 altsetting = interface->cur_altsetting; 185 endpoint = altsetting->endpoint; 187 for (i = 0; i < altsetting->desc.bNumEndpoints; i++) { 188 endpoint = &altsetting->endpoint[i];
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/tablet/ |
H A D | gtco.c | 869 * The endpoint is always altsetting 0, we know this since we know 872 endpoint = &usbinterface->altsetting[0].endpoint[0].desc; 882 dbg("endpoint extra len:%d ", usbinterface->altsetting[0].extralen); 958 endpoint = &usbinterface->altsetting[0].endpoint[0].desc;
|
H A D | wacom_sys.c | 26 (type << 8) + id, intf->altsetting[0].desc.bInterfaceNumber, 36 (type << 8) + id, intf->altsetting[0].desc.bInterfaceNumber,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/w1/masters/ |
H A D | ds2490.c | 641 err = usb_set_interface(dev->udev, intf->altsetting[0].desc.bInterfaceNumber, 3); 644 intf->altsetting[0].desc.bInterfaceNumber, err); 654 iface_desc = &intf->altsetting[0];
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/ |
H A D | w9968cf.h | 243 altsetting, /* camera alternate setting */ member in struct:w9968cf_device
|
H A D | dabusb.c | 726 intf->altsetting->desc.bInterfaceNumber); 732 if (intf->altsetting->desc.bInterfaceNumber != _DABUSB_IF && 761 dbg("bound to interface: %d", intf->altsetting->desc.bInterfaceNumber);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/misc/ |
H A D | usbtest.c | 121 alt = intf->altsetting + tmp; 123 /* take the first altsetting with in-bulk + out-bulk; 474 0, iface->altsetting [0].desc.bInterfaceNumber, 497 iface->altsetting [0].desc.bInterfaceNumber, 546 * config/altsetting operations for devices that only support their defaults. 559 /* [9.2.3] if there's more than one altsetting, we need to be able to 565 alt = iface->altsetting [i].desc.bAlternateSetting; 684 iface->altsetting [0].desc.bInterfaceNumber, dev->buf); 874 case 2: // get altsetting (OFTEN STALLS) 1550 * altsetting t [all...] |
H A D | idmouse.c | 335 iface_desc = &interface->altsetting[0];
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/storage/ |
H A D | usb.c | 732 struct usb_host_interface *altsetting = local 746 for (i = 0; i < altsetting->desc.bNumEndpoints; i++) { 747 ep = &altsetting->endpoint[i].desc;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/em28xx/ |
H A D | em28xx-video.c | 1706 ifnum = interface->altsetting[0].desc.bInterfaceNumber; 1713 if (interface->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) { 1717 interface->altsetting[0].desc.bInterfaceClass); 1726 interface->altsetting[0].desc.bInterfaceClass); 1777 u16 tmp = le16_to_cpu(uif->altsetting[i].endpoint[1].desc.
|