Lines Matching refs:oep
785 struct midi_out_endpoint *oep = m->mout.ep; in usb_midi_poll() local
798 poll_wait( file, &oep->wait, wait ); in usb_midi_poll()
799 spin_lock_irqsave( &oep->lock, flags ); in usb_midi_poll()
800 if ( oep->bufWrPtr < oep->bufSize ) in usb_midi_poll()
802 spin_unlock_irqrestore( &oep->lock, flags ); in usb_midi_poll()
1305 int iep, oep; in parse_descriptor() local
1399 oep=0; in parse_descriptor()
1430 if ( oep < 15 ) { in parse_descriptor()
1434 u->out[oep].endpoint = p1[2]; in parse_descriptor()
1435 u->out[oep].cableId = ( 1 << pins ) - 1; in parse_descriptor()
1436 if ( u->out[oep].cableId ) oep ++; in parse_descriptor()
1437 if ( oep < 15 ) { in parse_descriptor()
1438 u->out[oep].endpoint = -1; in parse_descriptor()
1439 u->out[oep].cableId = -1; in parse_descriptor()
1468 if ( oep < 15 ) { in parse_descriptor()
1469 pins = oep+1; in parse_descriptor()
1472 u->out[oep].endpoint = p1[2]; in parse_descriptor()
1473 u->out[oep].cableId = ( 1 << pins ) - 1; in parse_descriptor()
1474 if ( u->out[oep].cableId ) oep ++; in parse_descriptor()
1475 if ( oep < 15 ) { in parse_descriptor()
1476 u->out[oep].endpoint = -1; in parse_descriptor()
1477 u->out[oep].cableId = -1; in parse_descriptor()
1485 if ( !iep && ! oep ) { in parse_descriptor()