Home
last modified time | relevance | path

Searched refs:hostif (Results 1 – 6 of 6) sorted by relevance

/linux/sound/usb/
A Dmidi.c1938 hostif = &intf->altsetting[0]; in snd_usbmidi_get_ms_info()
1941 if (hostif->extralen >= 7 && in snd_usbmidi_get_ms_info()
2072 hostif = &intf->altsetting[1]; in snd_usbmidi_switch_roland_altsetting()
2116 hostif = intf->cur_altsetting; in snd_usbmidi_detect_endpoints()
2174 hostif = intf->altsetting; in snd_usbmidi_detect_yamaha()
2183 for (cs_desc = hostif->extra; in snd_usbmidi_detect_yamaha()
2184 cs_desc < hostif->extra + hostif->extralen && cs_desc[0] >= 2; in snd_usbmidi_detect_yamaha()
2214 hostif = intf->altsetting; in snd_usbmidi_detect_roland()
2219 for (cs_desc = hostif->extra; in snd_usbmidi_detect_roland()
2220 cs_desc < hostif->extra + hostif->extralen && cs_desc[0] >= 2; in snd_usbmidi_detect_roland()
[all …]
A Dmixer.h18 struct usb_host_interface *hostif; member
A Dmixer.c303 return get_iface_desc(mixer->hostif)->bInterfaceNumber; in mixer_ctrl_intf()
3214 state.buffer = mixer->hostif->extra; in snd_usb_mixer_controls()
3215 state.buflen = mixer->hostif->extralen; in snd_usb_mixer_controls()
3228 while ((p = snd_usb_find_csint_desc(mixer->hostif->extra, in snd_usb_mixer_controls()
3229 mixer->hostif->extralen, in snd_usb_mixer_controls()
3523 if (get_iface_desc(mixer->hostif)->bNumEndpoints < 1) in snd_usb_mixer_status_create()
3525 ep = get_endpoint(mixer->hostif, 0); in snd_usb_mixer_status_create()
3569 mixer->hostif = &usb_ifnum_to_if(chip->dev, ctrlif)->altsetting[0]; in snd_usb_create_mixer()
3570 switch (get_iface_desc(mixer->hostif)->bInterfaceProtocol) { in snd_usb_create_mixer()
A Dmixer_us16x08.c1301 if (mixer->hostif->desc.bInterfaceNumber == 3) { in snd_us16x08_controls_create()
/linux/drivers/i2c/busses/
A Di2c-diolan-u2c.c439 struct usb_host_interface *hostif = interface->cur_altsetting; in diolan_u2c_probe() local
443 if (hostif->desc.bInterfaceNumber != 0 in diolan_u2c_probe()
444 || hostif->desc.bNumEndpoints < 2) in diolan_u2c_probe()
453 dev->ep_out = hostif->endpoint[0].desc.bEndpointAddress; in diolan_u2c_probe()
454 dev->ep_in = hostif->endpoint[1].desc.bEndpointAddress; in diolan_u2c_probe()
/linux/drivers/mfd/
A Ddln2.c614 struct usb_host_interface *hostif) in dln2_setup_rx_urbs() argument
772 struct usb_host_interface *hostif = interface->cur_altsetting; in dln2_probe() local
780 if (hostif->desc.bInterfaceNumber != 0 || in dln2_probe()
781 hostif->desc.bNumEndpoints < 2) in dln2_probe()
784 epout = &hostif->endpoint[DLN2_EP_OUT].desc; in dln2_probe()
787 epin = &hostif->endpoint[DLN2_EP_IN].desc; in dln2_probe()
813 ret = dln2_setup_rx_urbs(dln2, hostif); in dln2_probe()

Completed in 28 milliseconds