Home
last modified time | relevance | path

Searched refs:usb_ifnum_to_if (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.1.9/sound/usb/usx2y/
Dus122l.c57 struct usb_interface *iface = usb_ifnum_to_if(dev, 1); in us122l_create_usbmidi()
79 struct usb_interface *iface = usb_ifnum_to_if(dev, 0); in us144_create_usbmidi()
166 iface = usb_ifnum_to_if(us122l->dev, 0); in usb_stream_hwdep_open()
169 iface = usb_ifnum_to_if(us122l->dev, 1); in usb_stream_hwdep_open()
182 iface = usb_ifnum_to_if(us122l->dev, 0); in usb_stream_hwdep_release()
185 iface = usb_ifnum_to_if(us122l->dev, 1); in usb_stream_hwdep_release()
560 usb_get_intf(usb_ifnum_to_if(device, 0)); in us122l_usb_probe()
616 usb_put_intf(usb_ifnum_to_if(us122l->dev, 0)); in snd_us122l_disconnect()
617 usb_put_intf(usb_ifnum_to_if(us122l->dev, 1)); in snd_us122l_disconnect()
DusX2Yhwdep.c148 struct usb_interface *iface = usb_ifnum_to_if(dev, 0); in usx2y_create_usbmidi()
/linux-6.1.9/sound/usb/
Dcard.c144 struct usb_interface *iface = usb_ifnum_to_if(dev, interface); in snd_usb_create_stream()
165 iface = usb_ifnum_to_if(dev, interface); in snd_usb_create_stream()
229 host_iface = &usb_ifnum_to_if(dev, ctrlif)->altsetting[0]; in snd_usb_create_streams()
290 usb_ifnum_to_if(dev, ctrlif)->intf_assoc; in snd_usb_create_streams()
299 usb_ifnum_to_if(dev, ctrlif + 1); in snd_usb_create_streams()
752 usb_interface_claimed(usb_ifnum_to_if(chip->dev, chip->last_iface))) in try_to_register_card()
Dhelper.c129 iface = usb_ifnum_to_if(chip->dev, ifnum); in snd_usb_get_host_interface()
Dquirks.c42 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk()
54 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk()
1931 iface = usb_ifnum_to_if(chip->dev, fp->iface); in snd_usb_interface_dsd_format_quirks()
Dimplicit.c90 iface = usb_ifnum_to_if(chip->dev, ifnum); in add_implicit_fb_sync_ep()
Dformat.c310 iface = usb_ifnum_to_if(chip->dev, fp->iface); in focusrite_valid_sample_rate()
/linux-6.1.9/drivers/net/usb/
Dcdc_ether.c181 info->control = usb_ifnum_to_if(dev->udev, info->u->bMasterInterface0); in usbnet_generic_cdc_bind()
182 info->data = usb_ifnum_to_if(dev->udev, info->u->bSlaveInterface0); in usbnet_generic_cdc_bind()
267 info->control = usb_ifnum_to_if(dev->udev, 0); in usbnet_generic_cdc_bind()
268 info->data = usb_ifnum_to_if(dev->udev, 1); in usbnet_generic_cdc_bind()
Dcdc-phonet.c338 data_intf = usb_ifnum_to_if(usbdev, union_header->bSlaveInterface0); in usbpn_probe()
/linux-6.1.9/drivers/hid/
Dhid-holtek-kbd.c125 struct usb_interface *boot_interface = usb_ifnum_to_if(usb_dev, 0); in holtek_kbd_input_event()
/linux-6.1.9/drivers/input/misc/
Dati_remote2.c705 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_show_channel_mask()
716 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_store_channel_mask()
755 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_show_mode_mask()
766 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_store_mode_mask()
826 ar2->intf[1] = usb_ifnum_to_if(udev, 1); in ati_remote2_probe()
Dims-pcu.c1662 pcu->ctrl_intf = usb_ifnum_to_if(pcu->udev, in ims_pcu_parse_cdc_data()
1675 pcu->data_intf = usb_ifnum_to_if(pcu->udev, in ims_pcu_parse_cdc_data()
/linux-6.1.9/drivers/usb/atm/
Dspeedtch.c250 if (!usb_ifnum_to_if(usb_dev, 2)) { in speedtch_upload_firmware()
753 cur_intf = usb_ifnum_to_if(usb_dev, i); in speedtch_release_interfaces()
782 data_intf = usb_ifnum_to_if(usb_dev, INTERFACE_DATA); in speedtch_bind()
791 cur_intf = usb_ifnum_to_if(usb_dev, i); in speedtch_bind()
/linux-6.1.9/sound/usb/line6/
Dpodhd.c245 intf = usb_ifnum_to_if(line6->usbdev, in podhd_disconnect()
377 intf = usb_ifnum_to_if(line6->usbdev, in podhd_init()
/linux-6.1.9/drivers/media/usb/gspca/
Dbenq.c126 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in sd_stopN()
Dkonica.c176 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in sd_start()
Dgspca.c216 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in gspca_input_create_urb()
772 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in gspca_init_transfer()
/linux-6.1.9/drivers/usb/core/
Dusb.c271 struct usb_interface *usb_ifnum_to_if(const struct usb_device *dev, in usb_ifnum_to_if() function
286 EXPORT_SYMBOL_GPL(usb_ifnum_to_if);
Ddevio.c786 intf = usb_ifnum_to_if(dev, ifnum); in claimintf()
813 intf = usb_ifnum_to_if(dev, ifnum); in releaseintf()
987 intf = usb_ifnum_to_if(ps->dev, ifnum); in parse_usbdevfs_streams()
1433 intf = usb_ifnum_to_if(ps->dev, gd.interface); in proc_getdriver()
2339 else if (!(intf = usb_ifnum_to_if(ps->dev, ctl->ifno))) in proc_ioctl()
2459 intf = usb_ifnum_to_if(ps->dev, dc.interface); in proc_disconnect_claim()
/linux-6.1.9/drivers/usb/class/
Dcdc-acm.c1182 data_interface = usb_ifnum_to_if(usb_dev, 1); in acm_probe()
1183 control_interface = usb_ifnum_to_if(usb_dev, 0); in acm_probe()
1226 data_interface = usb_ifnum_to_if(usb_dev, data_intf_num); in acm_probe()
1236 control_interface = usb_ifnum_to_if(usb_dev, union_header->bMasterInterface0); in acm_probe()
1237 data_interface = usb_ifnum_to_if(usb_dev, data_intf_num); in acm_probe()
/linux-6.1.9/drivers/media/usb/gspca/stv06xx/
Dstv06xx_pb0100.c184 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in pb0100_start()
Dstv06xx.c278 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in stv06xx_start()
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
Dusb.c169 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in carl9170_usb_tx_data_complete()
/linux-6.1.9/drivers/media/usb/em28xx/
Dem28xx-audio.c672 intf = usb_ifnum_to_if(udev, dev->ifnum); in em28xx_audio_urb_init()
/linux-6.1.9/drivers/usb/serial/
Dxr_serial.c883 data = usb_ifnum_to_if(serial->dev, desc->bSlaveInterface0); in xr_probe()

12