Lines Matching refs:endpoint
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()
1478 interrupt_in_endpoint[num_interrupt_in] = endpoint; in usb_serial_probe()
1497 endpoint = &iface_desc->endpoint[i]; in usb_serial_probe()
1498 if ((endpoint->bEndpointAddress & 0x80) && in usb_serial_probe()
1499 ((endpoint->bmAttributes & 3) == 0x03)) { in usb_serial_probe()
1502 interrupt_in_endpoint[num_interrupt_in] = endpoint; in usb_serial_probe()
1553 endpoint = bulk_in_endpoint[i]; in usb_serial_probe()
1560 buffer_size = endpoint->wMaxPacketSize; in usb_serial_probe()
1561 port->bulk_in_endpointAddress = endpoint->bEndpointAddress; in usb_serial_probe()
1569 endpoint->bEndpointAddress), in usb_serial_probe()
1578 endpoint = bulk_out_endpoint[i]; in usb_serial_probe()
1585 buffer_size = endpoint->wMaxPacketSize; in usb_serial_probe()
1587 port->bulk_out_endpointAddress = endpoint->bEndpointAddress; in usb_serial_probe()
1595 endpoint->bEndpointAddress), in usb_serial_probe()
1604 endpoint = interrupt_in_endpoint[i]; in usb_serial_probe()
1611 buffer_size = endpoint->wMaxPacketSize; in usb_serial_probe()
1612 port->interrupt_in_endpointAddress = endpoint->bEndpointAddress; in usb_serial_probe()
1620 endpoint->bEndpointAddress), in usb_serial_probe()
1623 endpoint->bInterval); in usb_serial_probe()