Lines Matching refs:epidx
1935 int i, j, epidx; in snd_usbmidi_get_ms_info() local
1953 epidx = 0; in snd_usbmidi_get_ms_info()
1969 if (endpoints[epidx].out_ep) { in snd_usbmidi_get_ms_info()
1970 if (++epidx >= MIDI_MAX_ENDPOINTS) { in snd_usbmidi_get_ms_info()
1976 endpoints[epidx].out_ep = usb_endpoint_num(ep); in snd_usbmidi_get_ms_info()
1978 endpoints[epidx].out_interval = ep->bInterval; in snd_usbmidi_get_ms_info()
1985 endpoints[epidx].out_interval = 1; in snd_usbmidi_get_ms_info()
1986 endpoints[epidx].out_cables = in snd_usbmidi_get_ms_info()
1989 endpoints[epidx].assoc_out_jacks[j] = ms_ep->baAssocJackID[j]; in snd_usbmidi_get_ms_info()
1990 for (; j < ARRAY_SIZE(endpoints[epidx].assoc_out_jacks); ++j) in snd_usbmidi_get_ms_info()
1991 endpoints[epidx].assoc_out_jacks[j] = -1; in snd_usbmidi_get_ms_info()
1995 if (endpoints[epidx].in_ep) { in snd_usbmidi_get_ms_info()
1996 if (++epidx >= MIDI_MAX_ENDPOINTS) { in snd_usbmidi_get_ms_info()
2002 endpoints[epidx].in_ep = usb_endpoint_num(ep); in snd_usbmidi_get_ms_info()
2004 endpoints[epidx].in_interval = ep->bInterval; in snd_usbmidi_get_ms_info()
2006 endpoints[epidx].in_interval = 1; in snd_usbmidi_get_ms_info()
2007 endpoints[epidx].in_cables = in snd_usbmidi_get_ms_info()
2010 endpoints[epidx].assoc_in_jacks[j] = ms_ep->baAssocJackID[j]; in snd_usbmidi_get_ms_info()
2011 for (; j < ARRAY_SIZE(endpoints[epidx].assoc_in_jacks); ++j) in snd_usbmidi_get_ms_info()
2012 endpoints[epidx].assoc_in_jacks[j] = -1; in snd_usbmidi_get_ms_info()