Home
last modified time | relevance | path

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

/linux-6.6.21/sound/usb/
Dmidi2.c95 struct usb_host_interface *hostif; member
523 struct usb_host_interface *hostif = umidi->hostif; in get_group_terminal_block_descs() local
532 USB_DT_CS_GR_TRM_BLOCK << 8 | hostif->desc.bAlternateSetting, in get_group_terminal_block_descs()
533 hostif->desc.bInterfaceNumber, in get_group_terminal_block_descs()
540 hostif->desc.bInterfaceNumber, hostif->desc.bAlternateSetting); in get_group_terminal_block_descs()
551 USB_DT_CS_GR_TRM_BLOCK << 8 | hostif->desc.bAlternateSetting, in get_group_terminal_block_descs()
552 hostif->desc.bInterfaceNumber, data, size); in get_group_terminal_block_descs()
665 struct usb_host_interface *hostif = umidi->hostif; in parse_midi_2_0_endpoints() local
670 for (i = 0; i < hostif->desc.bNumEndpoints; i++) { in parse_midi_2_0_endpoints()
671 hostep = &hostif->endpoint[i]; in parse_midi_2_0_endpoints()
[all …]
Dmidi.c1061 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
[all …]
Dmixer.h18 struct usb_host_interface *hostif; member
Dmixer.c304 return get_iface_desc(mixer->hostif)->bInterfaceNumber; in mixer_ctrl_intf()
3224 state.buffer = mixer->hostif->extra; in snd_usb_mixer_controls()
3225 state.buflen = mixer->hostif->extralen; in snd_usb_mixer_controls()
3238 while ((p = snd_usb_find_csint_desc(mixer->hostif->extra, in snd_usb_mixer_controls()
3239 mixer->hostif->extralen, in snd_usb_mixer_controls()
3533 if (get_iface_desc(mixer->hostif)->bNumEndpoints < 1) in snd_usb_mixer_status_create()
3535 ep = get_endpoint(mixer->hostif, 0); in snd_usb_mixer_status_create()
3579 mixer->hostif = &usb_ifnum_to_if(chip->dev, ctrlif)->altsetting[0]; in snd_usb_create_mixer()
3580 switch (get_iface_desc(mixer->hostif)->bInterfaceProtocol) { in snd_usb_create_mixer()
Dmixer_us16x08.c1301 if (mixer->hostif->desc.bInterfaceNumber == 3) { in snd_us16x08_controls_create()
/linux-6.6.21/drivers/i2c/busses/
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-6.6.21/drivers/mfd/
Ddln2.c608 struct usb_host_interface *hostif) in dln2_setup_rx_urbs() argument
766 struct usb_host_interface *hostif = interface->cur_altsetting; in dln2_probe() local
774 if (hostif->desc.bInterfaceNumber != 0) in dln2_probe()
777 ret = usb_find_common_endpoints(hostif, &epin, &epout, NULL, NULL); in dln2_probe()
803 ret = dln2_setup_rx_urbs(dln2, hostif); in dln2_probe()