Home
last modified time | relevance | path

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

/linux/sound/usb/
H A 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()
655 struct usb_host_interface *hostif = umidi->hostif; in parse_midi_2_0_endpoints() local
660 for (i = 0; i < hostif->desc.bNumEndpoints; i++) { in parse_midi_2_0_endpoints()
661 hostep = &hostif->endpoint[i]; in parse_midi_2_0_endpoints()
[all …]
H A 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 static int find_usb_ijack(struct usb_host_interface *hostif, uint8_t jack_id) in find_usb_ijack() argument
1748 unsigned char *extra = hostif->extra; in find_usb_ijack()
1749 int extralen = hostif->extralen; in find_usb_ijack()
1792 struct usb_host_interface *hostif; in snd_usbmidi_init_substream() local
1809 hostif = intf->cur_altsetting; in snd_usbmidi_init_substream()
1810 iJack = find_usb_ijack(hostif, jack_id); in snd_usbmidi_init_substream()
1906 struct usb_host_interface *hostif; in snd_usbmidi_get_ms_info() local
[all …]
H A Dmixer.h18 struct usb_host_interface *hostif; member
H A Dmixer.c304 return get_iface_desc(mixer->hostif)->bInterfaceNumber; in mixer_ctrl_intf()
731 snd_usb_ctrl_intf(state->mixer->hostif), in get_cluster_channels_v3()
3231 state.buffer = mixer->hostif->extra; in snd_usb_mixer_controls()
3232 state.buflen = mixer->hostif->extralen; in snd_usb_mixer_controls()
3245 while ((p = snd_usb_find_csint_desc(mixer->hostif->extra, in snd_usb_mixer_controls()
3246 mixer->hostif->extralen, in snd_usb_mixer_controls()
3540 if (get_iface_desc(mixer->hostif)->bNumEndpoints < 1) in snd_usb_mixer_status_create()
3542 ep = get_endpoint(mixer->hostif, 0); in snd_usb_mixer_status_create()
3586 mixer->hostif = &usb_ifnum_to_if(chip->dev, ctrlif)->altsetting[0]; in snd_usb_create_mixer()
3587 switch (get_iface_desc(mixer->hostif)->bInterfaceProtocol) { in snd_usb_create_mixer()
H A Dmixer_scarlett.c463 int idx = snd_usb_ctrl_intf(elem->head.mixer->hostif) | (elem->head.id << 8); in scarlett_ctl_meter_get()
1005 USB_DIR_OUT, 0x0100, snd_usb_ctrl_intf(mixer->hostif) | in snd_scarlett_controls_create()
H A Dmixer_quirks.c1047 snd_usb_ctrl_intf(mixer->hostif) | ((pval & 0xff) << 8), in snd_ftu_eff_switch_init()
1081 snd_usb_ctrl_intf(list->mixer->hostif) | ((pval & 0xff) << 8), in snd_ftu_eff_switch_update()
2127 snd_usb_ctrl_intf(mixer->hostif) | (id << 8), in dell_dock_init_vol()
H A Dmixer_us16x08.c1301 if (mixer->hostif->desc.bInterfaceNumber == 3) { in snd_us16x08_controls_create()
/linux/drivers/i2c/busses/
H 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/
H A 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()