/linux-2.4.37.9/drivers/usb/ |
D | usb-skeleton.c | 516 struct usb_endpoint_descriptor *endpoint; in skel_probe() local 560 endpoint = &iface_desc->endpoint[i]; in skel_probe() 562 if ((endpoint->bEndpointAddress & 0x80) && in skel_probe() 563 ((endpoint->bmAttributes & 3) == 0x02)) { in skel_probe() 565 buffer_size = endpoint->wMaxPacketSize; in skel_probe() 567 dev->bulk_in_endpointAddr = endpoint->bEndpointAddress; in skel_probe() 575 if (((endpoint->bEndpointAddress & 0x80) == 0x00) && in skel_probe() 576 ((endpoint->bmAttributes & 3) == 0x02)) { in skel_probe() 583 buffer_size = endpoint->wMaxPacketSize; in skel_probe() 585 dev->bulk_out_endpointAddr = endpoint->bEndpointAddress; in skel_probe() [all …]
|
D | usbmouse.c | 104 struct usb_endpoint_descriptor *endpoint; in usb_mouse_probe() local 114 endpoint = interface->endpoint + 0; in usb_mouse_probe() 115 if (!(endpoint->bEndpointAddress & 0x80)) return NULL; in usb_mouse_probe() 116 if ((endpoint->bmAttributes & 3) != 3) return NULL; in usb_mouse_probe() 120 pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); in usb_mouse_probe() 165 usb_mouse_irq, mouse, endpoint->bInterval); in usb_mouse_probe()
|
D | bluetooth.c | 1049 struct usb_endpoint_descriptor *endpoint; in usb_bluetooth_probe() local 1067 endpoint = &interface->endpoint[i]; in usb_bluetooth_probe() 1069 if ((endpoint->bEndpointAddress & 0x80) && in usb_bluetooth_probe() 1070 ((endpoint->bmAttributes & 3) == 0x02)) { in usb_bluetooth_probe() 1073 bulk_in_endpoint[num_bulk_in] = endpoint; in usb_bluetooth_probe() 1077 if (((endpoint->bEndpointAddress & 0x80) == 0x00) && in usb_bluetooth_probe() 1078 ((endpoint->bmAttributes & 3) == 0x02)) { in usb_bluetooth_probe() 1081 bulk_out_endpoint[num_bulk_out] = endpoint; in usb_bluetooth_probe() 1085 if ((endpoint->bEndpointAddress & 0x80) && in usb_bluetooth_probe() 1086 ((endpoint->bmAttributes & 3) == 0x03)) { in usb_bluetooth_probe() [all …]
|
D | dc2xx.c | 377 struct usb_endpoint_descriptor *endpoint; in camera_probe() local 429 endpoint = interface->endpoint; in camera_probe() 432 ep = endpoint [0].bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in camera_probe() 433 direction = endpoint [0].bEndpointAddress & USB_ENDPOINT_DIR_MASK; in camera_probe() 439 ep = endpoint [1].bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in camera_probe() 440 direction = endpoint [1].bEndpointAddress & USB_ENDPOINT_DIR_MASK; in camera_probe() 447 || endpoint [0].bmAttributes != USB_ENDPOINT_XFER_BULK in camera_probe() 448 || endpoint [1].bmAttributes != USB_ENDPOINT_XFER_BULK in camera_probe()
|
D | usbkbd.c | 178 struct usb_endpoint_descriptor *endpoint; in usb_kbd_probe() local 188 endpoint = interface->endpoint + 0; in usb_kbd_probe() 189 if (!(endpoint->bEndpointAddress & 0x80)) return NULL; in usb_kbd_probe() 190 if ((endpoint->bmAttributes & 3) != 3) return NULL; in usb_kbd_probe() 192 pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); in usb_kbd_probe() 216 usb_kbd_irq, kbd, endpoint->bInterval); in usb_kbd_probe()
|
D | ultracam.c | 572 const struct usb_endpoint_descriptor *endpoint; in ultracam_probe() local 580 endpoint = &interface->endpoint[0]; in ultracam_probe() 582 video_ep = endpoint->bEndpointAddress; in ultracam_probe() 583 else if (video_ep != endpoint->bEndpointAddress) { in ultracam_probe() 587 if ((endpoint->bmAttributes & 0x03) != 0x01) { in ultracam_probe() 591 if ((endpoint->bEndpointAddress & 0x80) == 0) { in ultracam_probe() 595 if (endpoint->wMaxPacketSize == 0) { in ultracam_probe() 605 maxPS = endpoint->wMaxPacketSize; in ultracam_probe() 610 if (maxPS < endpoint->wMaxPacketSize) { in ultracam_probe() 613 maxPS = endpoint->wMaxPacketSize; in ultracam_probe()
|
D | kbtab.c | 96 struct usb_endpoint_descriptor *endpoint; in kbtab_probe() local 134 endpoint = dev->config[0].interface[ifnum].altsetting[0].endpoint + 0; in kbtab_probe() 138 FILL_INT_URB(&kbtab->irq, dev, usb_rcvintpipe(dev, endpoint->bEndpointAddress), in kbtab_probe() 139 kbtab->data, 8, kbtab_irq, kbtab, endpoint->bInterval); in kbtab_probe()
|
D | powermate.c | 249 struct usb_endpoint_descriptor *endpoint; in powermate_probe() local 254 endpoint = interface->endpoint + 0; in powermate_probe() 255 if (!(endpoint->bEndpointAddress & 0x80)) return NULL; in powermate_probe() 256 if ((endpoint->bmAttributes & 3) != 3) return NULL; in powermate_probe() 270 pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress); in powermate_probe() 280 FILL_INT_URB(&pm->irq, udev, pipe, pm->data, maxp, powermate_irq, pm, endpoint->bInterval); in powermate_probe()
|
D | scanner.c | 871 struct usb_endpoint_descriptor *endpoint; in probe_scanner() local 942 endpoint = interface[0].endpoint; in probe_scanner() 956 if (IS_EP_BULK_IN(endpoint[ep_cnt])) { in probe_scanner() 962 have_bulk_in = endpoint[ep_cnt - 1].bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in probe_scanner() 967 if (IS_EP_BULK_OUT(endpoint[ep_cnt])) { in probe_scanner() 973 have_bulk_out = endpoint[ep_cnt - 1].bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in probe_scanner() 978 if (IS_EP_INTR(endpoint[ep_cnt])) { in probe_scanner() 984 have_intr = endpoint[ep_cnt - 1].bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in probe_scanner()
|
D | mdc800.c | 141 unsigned int endpoint [4]; member 439 mdc800->endpoint[i]=-1; in mdc800_usb_probe() 442 if (mdc800_endpoint_equals (&intf_desc->endpoint [j],&mdc800_ed [i])) in mdc800_usb_probe() 444 mdc800->endpoint[i]=intf_desc->endpoint [j].bEndpointAddress ; in mdc800_usb_probe() 447 irq_interval=intf_desc->endpoint [j].bInterval; in mdc800_usb_probe() 453 if (mdc800->endpoint[i] == -1) in mdc800_usb_probe() 479 usb_rcvintpipe (mdc800->dev,mdc800->endpoint [1]), in mdc800_usb_probe() 490 usb_sndbulkpipe (mdc800->dev, mdc800->endpoint[0]), in mdc800_usb_probe() 500 usb_rcvbulkpipe (mdc800->dev, mdc800->endpoint [3]), in mdc800_usb_probe()
|
D | CDCEther.c | 884 if ( data_intf->endpoint[0].bmAttributes != USB_ENDPOINT_XFER_BULK ) { in get_data_interface_endpoints() 887 if ( data_intf->endpoint[1].bmAttributes != USB_ENDPOINT_XFER_BULK ) { in get_data_interface_endpoints() 892 if ( data_intf->endpoint[0].bEndpointAddress & USB_DIR_IN ) { in get_data_interface_endpoints() 893 ether_dev->data_ep_in = data_intf->endpoint[0].bEndpointAddress & 0x7F; in get_data_interface_endpoints() 895 ether_dev->data_ep_out = data_intf->endpoint[0].bEndpointAddress; in get_data_interface_endpoints() 896 ether_dev->data_ep_out_size = data_intf->endpoint[0].wMaxPacketSize; in get_data_interface_endpoints() 900 if ( data_intf->endpoint[1].bEndpointAddress & USB_DIR_IN ) { in get_data_interface_endpoints() 901 ether_dev->data_ep_in = data_intf->endpoint[1].bEndpointAddress & 0x7F; in get_data_interface_endpoints() 903 ether_dev->data_ep_out = data_intf->endpoint[1].bEndpointAddress; in get_data_interface_endpoints() 904 ether_dev->data_ep_out_size = data_intf->endpoint[1].wMaxPacketSize; in get_data_interface_endpoints() [all …]
|
D | usb-midi.c | 176 int endpoint; member 192 int endpoint; member 334 pipe = usb_sndbulkpipe(d, ep->endpoint); in usb_write() 1034 ep->endpoint = endPoint; in alloc_midi_in_endpoint() 1101 ep->endpoint = endPoint; in alloc_midi_out_endpoint() 1339 u->in[0].endpoint = -1; in parse_descriptor() 1341 u->out[0].endpoint = -1; in parse_descriptor() 1421 u->in[iep].endpoint = p1[2]; in parse_descriptor() 1425 u->in[iep].endpoint = -1; in parse_descriptor() 1434 u->out[oep].endpoint = p1[2]; in parse_descriptor() [all …]
|
D | konicawc.c | 389 pktsz = interface->endpoint[1].wMaxPacketSize; in konicawc_start_data() 749 const struct usb_endpoint_descriptor *endpoint; in konicawc_probe() local 757 endpoint = &interface->endpoint[1]; in konicawc_probe() 759 endpoint->bEndpointAddress, endpoint->wMaxPacketSize); in konicawc_probe() 761 video_ep = endpoint->bEndpointAddress; in konicawc_probe() 762 else if (video_ep != endpoint->bEndpointAddress) { in konicawc_probe() 766 if ((endpoint->bmAttributes & 0x03) != 0x01) { in konicawc_probe() 770 if ((endpoint->bEndpointAddress & 0x80) == 0) { in konicawc_probe() 774 if (endpoint->wMaxPacketSize == 0) { in konicawc_probe() 787 if(endpoint->wMaxPacketSize > maxPS) in konicawc_probe() [all …]
|
D | usb.c | 227 if (epnum == dev->actconfig->interface[i].altsetting[j].endpoint[k].bEndpointAddress) in usb_epnum_to_ep_desc() 228 return &dev->actconfig->interface[i].altsetting[j].endpoint[k]; in usb_epnum_to_ep_desc() 1275 static int usb_parse_endpoint(struct usb_endpoint_descriptor *endpoint, unsigned char *buffer, int … in usb_parse_endpoint() argument 1292 endpoint->bDescriptorType, USB_DT_ENDPOINT); in usb_parse_endpoint() 1297 memcpy(endpoint, buffer, USB_DT_ENDPOINT_AUDIO_SIZE); in usb_parse_endpoint() 1299 memcpy(endpoint, buffer, USB_DT_ENDPOINT_SIZE); in usb_parse_endpoint() 1301 le16_to_cpus(&endpoint->wMaxPacketSize); in usb_parse_endpoint() 1341 endpoint->extra = NULL; in usb_parse_endpoint() 1342 endpoint->extralen = 0; in usb_parse_endpoint() 1346 endpoint->extra = kmalloc(len, GFP_KERNEL); in usb_parse_endpoint() [all …]
|
D | uss720.c | 557 struct usb_endpoint_descriptor *endpoint; in uss720_probe() local 599 endpoint = &interface->endpoint[2]; in uss720_probe() 600 …printk(KERN_DEBUG "uss720: epaddr %d interval %d\n", endpoint->bEndpointAddress, endpoint->bInterv… in uss720_probe() 602 priv->irqpipe = usb_rcvctrlpipe(usbdev, endpoint->bEndpointAddress); in uss720_probe() 604 uss720_irq, endpoint->bInterval, in uss720_probe()
|
D | hub.c | 155 static int usb_hub_configure(struct usb_hub *hub, struct usb_endpoint_descriptor *endpoint) in usb_hub_configure() argument 286 pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); in usb_hub_configure() 302 ? 1 << (endpoint->bInterval - 1) in usb_hub_configure() 303 : endpoint->bInterval); in usb_hub_configure() 323 struct usb_endpoint_descriptor *endpoint; in hub_probe() local 345 endpoint = &interface->endpoint[0]; in hub_probe() 348 if (!(endpoint->bEndpointAddress & USB_DIR_IN)) { in hub_probe() 355 if ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != USB_ENDPOINT_XFER_INT) { in hub_probe() 382 if (usb_hub_configure(hub, endpoint) >= 0) in hub_probe()
|
D | usb-debug.c | 19 static void usb_show_endpoint(struct usb_endpoint_descriptor *endpoint) in usb_show_endpoint() argument 21 usb_show_endpoint_descriptor(endpoint); in usb_show_endpoint() 31 usb_show_endpoint(altsetting->endpoint + i); in usb_show_interface()
|
/linux-2.4.37.9/include/linux/ |
D | usb.h | 280 struct usb_endpoint_descriptor *endpoint; member 1035 static inline unsigned int __create_pipe(struct usb_device *dev, unsigned int endpoint) in __create_pipe() argument 1037 return (dev->devnum << 8) | (endpoint << 15) | in __create_pipe() 1047 #define usb_sndctrlpipe(dev,endpoint) ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint)) argument 1048 #define usb_rcvctrlpipe(dev,endpoint) ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint) | USB_DIR… argument 1049 #define usb_sndisocpipe(dev,endpoint) ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev,endpoint)) argument 1050 #define usb_rcvisocpipe(dev,endpoint) ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev,endpoint) | USB… argument 1051 #define usb_sndbulkpipe(dev,endpoint) ((PIPE_BULK << 30) | __create_pipe(dev,endpoint)) argument 1052 #define usb_rcvbulkpipe(dev,endpoint) ((PIPE_BULK << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN) argument 1053 #define usb_sndintpipe(dev,endpoint) ((PIPE_INTERRUPT << 30) | __create_pipe(dev,endpoint)) argument [all …]
|
/linux-2.4.37.9/Documentation/usb/ |
D | error-codes.txt | 29 -ENXIO a control or interrupt URB is already queued to this endpoint; or 30 a bulk URB is already queued to this endpoint and 48 -EMSGSIZE endpoint message size is zero, do interface/alternate setting 82 -EPIPE endpoint stalled 86 received data from an endpoint faster than it 95 -EOVERFLOW The amount of data returned by the endpoint was 97 endpoint or the remaining buffer size. "Babble". 100 -EREMOTEIO The endpoint returned less than max packet size
|
D | ohci.txt | 49 adds an endpoint, (if the endpoint already exists some parameters will be updated) 52 removes an endpoint and all pending TDs of that EP 77 the same order (for each endpoint, not globally) If an error occurs all 78 queued transfers of an endpoint will return unsent. They will be marked with an error status.
|
/linux-2.4.37.9/drivers/usb/serial/ |
D | usbserial.c | 1415 struct usb_endpoint_descriptor *endpoint; in usb_serial_probe() local 1456 endpoint = &iface_desc->endpoint[i]; in usb_serial_probe() 1458 if ((endpoint->bEndpointAddress & 0x80) && in usb_serial_probe() 1459 ((endpoint->bmAttributes & 3) == 0x02)) { in usb_serial_probe() 1462 bulk_in_endpoint[num_bulk_in] = endpoint; in usb_serial_probe() 1466 if (((endpoint->bEndpointAddress & 0x80) == 0x00) && in usb_serial_probe() 1467 ((endpoint->bmAttributes & 3) == 0x02)) { in usb_serial_probe() 1470 bulk_out_endpoint[num_bulk_out] = endpoint; in usb_serial_probe() 1474 if ((endpoint->bEndpointAddress & 0x80) && in usb_serial_probe() 1475 ((endpoint->bmAttributes & 3) == 0x03)) { in usb_serial_probe() [all …]
|
D | kobil_sct.c | 140 struct usb_endpoint_descriptor *endpoint; in kobil_startup() local 173 endpoint = altsetting->endpoint; in kobil_startup() 176 endpoint = &altsetting->endpoint[i]; in kobil_startup() 177 if (((endpoint->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT) && in kobil_startup() 178 ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_INT)) { in kobil_startup() 179 dbg("%s Found interrupt out endpoint. Address: %d", __FUNCTION__, endpoint->bEndpointAddress); in kobil_startup() 180 priv->write_int_endpoint_address = endpoint->bEndpointAddress; in kobil_startup() 182 if (((endpoint->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) && in kobil_startup() 183 ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_INT)) { in kobil_startup() 184 dbg("%s Found interrupt in endpoint. Address: %d", __FUNCTION__, endpoint->bEndpointAddress); in kobil_startup() [all …]
|
/linux-2.4.37.9/drivers/isdn/hisax/ |
D | st5481_b.c | 261 struct usb_endpoint_descriptor *endpoint; in st5481_setup_b_out() local 269 endpoint = &altsetting->endpoint[EP_B1_OUT - 1 + bcs->channel * 2]; in st5481_setup_b_out() 272 endpoint->bEndpointAddress,endpoint->wMaxPacketSize); in st5481_setup_b_out() 276 usb_sndisocpipe(dev, endpoint->bEndpointAddress), in st5481_setup_b_out()
|
D | st5481_usb.c | 236 struct usb_endpoint_descriptor *endpoint; in st5481_setup_usb() local 258 altsetting->endpoint[3].wMaxPacketSize = 32; in st5481_setup_usb() 259 altsetting->endpoint[4].wMaxPacketSize = 32; in st5481_setup_usb() 294 endpoint = &altsetting->endpoint[EP_INT-1]; in st5481_setup_usb() 298 usb_rcvintpipe(dev, endpoint->bEndpointAddress), in st5481_setup_usb() 301 endpoint->bInterval); in st5481_setup_usb()
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_stats.c | 50 int endpoint; in xfs_read_xfsstats() member 72 while (j < xstats[i].endpoint) { in xfs_read_xfsstats()
|