Lines Matching refs:hostif
1061 struct usb_host_interface *hostif; in update_roland_altsetting() local
1069 hostif = &intf->altsetting[umidi->roland_load_ctl->private_value]; in update_roland_altsetting()
1070 intfd = get_iface_desc(hostif); in update_roland_altsetting()
1746 struct usb_host_interface *hostif, uint8_t jack_id) in find_usb_in_jack_descriptor() argument
1748 unsigned char *extra = hostif->extra; in find_usb_in_jack_descriptor()
1749 int extralen = hostif->extralen; in find_usb_in_jack_descriptor()
1769 struct usb_host_interface *hostif, uint8_t jack_id) in find_usb_out_jack_descriptor() argument
1771 unsigned char *extra = hostif->extra; in find_usb_out_jack_descriptor()
1772 int extralen = hostif->extralen; in find_usb_out_jack_descriptor()
1798 struct usb_host_interface *hostif; in snd_usbmidi_init_substream() local
1818 hostif = intf->cur_altsetting; in snd_usbmidi_init_substream()
1822 outjd = find_usb_out_jack_descriptor(hostif, jack_id); in snd_usbmidi_init_substream()
1830 injd = find_usb_in_jack_descriptor(hostif, jack_id); in snd_usbmidi_init_substream()
1929 struct usb_host_interface *hostif; in snd_usbmidi_get_ms_info() local
1940 hostif = &intf->altsetting[0]; in snd_usbmidi_get_ms_info()
1941 intfd = get_iface_desc(hostif); in snd_usbmidi_get_ms_info()
1942 ms_header = (struct usb_ms_header_descriptor *)hostif->extra; in snd_usbmidi_get_ms_info()
1943 if (hostif->extralen >= 7 && in snd_usbmidi_get_ms_info()
1955 hostep = &hostif->endpoint[i]; in snd_usbmidi_get_ms_info()
2067 struct usb_host_interface *hostif; in snd_usbmidi_switch_roland_altsetting() local
2074 hostif = &intf->altsetting[1]; in snd_usbmidi_switch_roland_altsetting()
2075 intfd = get_iface_desc(hostif); in snd_usbmidi_switch_roland_altsetting()
2080 !((get_endpoint(hostif, 0)->bmAttributes & in snd_usbmidi_switch_roland_altsetting()
2082 (get_endpoint(hostif, 1)->bmAttributes & in snd_usbmidi_switch_roland_altsetting()
2104 struct usb_host_interface *hostif; in snd_usbmidi_detect_endpoints() local
2118 hostif = intf->cur_altsetting; in snd_usbmidi_detect_endpoints()
2119 intfd = get_iface_desc(hostif); in snd_usbmidi_detect_endpoints()
2122 epd = get_endpoint(hostif, i); in snd_usbmidi_detect_endpoints()
2169 struct usb_host_interface *hostif; in snd_usbmidi_detect_yamaha() local
2176 hostif = intf->altsetting; in snd_usbmidi_detect_yamaha()
2177 intfd = get_iface_desc(hostif); in snd_usbmidi_detect_yamaha()
2185 for (cs_desc = hostif->extra; in snd_usbmidi_detect_yamaha()
2186 cs_desc < hostif->extra + hostif->extralen && cs_desc[0] >= 2; in snd_usbmidi_detect_yamaha()
2210 struct usb_host_interface *hostif; in snd_usbmidi_detect_roland() local
2216 hostif = intf->altsetting; in snd_usbmidi_detect_roland()
2221 for (cs_desc = hostif->extra; in snd_usbmidi_detect_roland()
2222 cs_desc < hostif->extra + hostif->extralen && cs_desc[0] >= 2; in snd_usbmidi_detect_roland()
2251 struct usb_host_interface *hostif; in snd_usbmidi_create_endpoints_midiman() local
2259 hostif = intf->altsetting; in snd_usbmidi_create_endpoints_midiman()
2260 intfd = get_iface_desc(hostif); in snd_usbmidi_create_endpoints_midiman()
2276 epd = get_endpoint(hostif, 0); in snd_usbmidi_create_endpoints_midiman()
2281 epd = get_endpoint(hostif, 2); in snd_usbmidi_create_endpoints_midiman()
2287 epd = get_endpoint(hostif, 4); in snd_usbmidi_create_endpoints_midiman()
2296 ep_info.out_ep = get_endpoint(hostif, 2)->bEndpointAddress & in snd_usbmidi_create_endpoints_midiman()
2305 ep_info.in_ep = get_endpoint(hostif, 0)->bEndpointAddress & in snd_usbmidi_create_endpoints_midiman()
2307 ep_info.in_interval = get_endpoint(hostif, 0)->bInterval; in snd_usbmidi_create_endpoints_midiman()
2315 ep_info.out_ep = get_endpoint(hostif, 4)->bEndpointAddress & in snd_usbmidi_create_endpoints_midiman()