• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/usb/

Lines Matching refs:endpoint

856  * Frees an input endpoint.
872 * Creates an input endpoint.
928 * Frees an output endpoint.
943 * Creates an output endpoint, and initializes output ports.
1303 hostep = &hostif->endpoint[i];
1347 * the interrupt input endpoint.
1376 struct snd_usb_midi_endpoint_info* endpoint,
1388 if (endpoint[0].out_ep || endpoint[0].in_ep)
1404 endpoint[out_eps].out_ep = epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK;
1406 endpoint[out_eps].out_interval = epd->bInterval;
1411 endpoint[in_eps].in_ep = epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK;
1413 endpoint[in_eps].in_interval = epd->bInterval;
1421 * Detects the endpoints for one-port-per-endpoint protocols.
1442 struct snd_usb_midi_endpoint_info* endpoint)
1466 endpoint->in_cables = (endpoint->in_cables << 1) | 1;
1468 endpoint->out_cables = (endpoint->out_cables << 1) | 1;
1471 if (!endpoint->in_cables && !endpoint->out_cables)
1474 return snd_usbmidi_detect_endpoints(umidi, endpoint, 1);
1481 struct snd_usb_midi_endpoint_info* endpoint)
1496 * The various MidiSport devices have more or less random endpoint
1500 * There is one interrupt input endpoint for all input ports, one
1501 * bulk output endpoint for even-numbered ports, and one for odd-
1505 if (intfd->bNumEndpoints < (endpoint->out_cables > 0x0001 ? 5 : 3)) {
1513 snd_printdd(KERN_ERR "endpoint[0] isn't interrupt\n");
1519 snd_printdd(KERN_ERR "endpoint[2] isn't bulk output\n");
1522 if (endpoint->out_cables > 0x0001) {
1526 snd_printdd(KERN_ERR "endpoint[4] isn't bulk output\n");
1532 ep_info.out_cables = endpoint->out_cables & 0x5555;
1539 ep_info.in_cables = endpoint->in_cables;
1544 if (endpoint->out_cables > 0x0001) {
1546 ep_info.out_cables = endpoint->out_cables & 0xaaaa;
1553 if (endpoint->out_cables & (1 << cable))
1556 if (endpoint->in_cables & (1 << cable))
1653 /* detect the endpoint(s) to use */
1716 /* create endpoint/port structures */