Home
last modified time | relevance | path

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

12

/drivers/net/usb/
Dcdc_ether.c220 info->control = usb_ifnum_to_if(dev->udev, in usbnet_generic_cdc_bind()
222 info->data = usb_ifnum_to_if(dev->udev, in usbnet_generic_cdc_bind()
323 info->control = usb_ifnum_to_if(dev->udev, 0); in usbnet_generic_cdc_bind()
324 info->data = usb_ifnum_to_if(dev->udev, 1); in usbnet_generic_cdc_bind()
Dcdc-phonet.c373 data_intf = usb_ifnum_to_if(usbdev, union_header->bSlaveInterface0); in usbpn_probe()
Dqmi_wwan.c304 info->data = usb_ifnum_to_if(dev->udev, in qmi_wwan_bind()
Dcdc_ncm.c740 ctx->data = usb_ifnum_to_if(dev->udev, in cdc_ncm_bind_common()
786 ctx->data = usb_ifnum_to_if(dev->udev, intf->cur_altsetting->desc.bInterfaceNumber + 1); in cdc_ncm_bind_common()
/drivers/input/misc/
Dati_remote2.c710 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_show_channel_mask()
721 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_store_channel_mask()
760 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_show_mode_mask()
771 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_store_mode_mask()
831 ar2->intf[1] = usb_ifnum_to_if(udev, 1); in ati_remote2_probe()
Dims-pcu.c1676 pcu->ctrl_intf = usb_ifnum_to_if(pcu->udev, in ims_pcu_parse_cdc_data()
1689 pcu->data_intf = usb_ifnum_to_if(pcu->udev, in ims_pcu_parse_cdc_data()
/drivers/hid/
Dhid-holtek-kbd.c128 struct usb_interface *boot_interface = usb_ifnum_to_if(usb_dev, 0); in holtek_kbd_input_event()
/drivers/usb/atm/
Dspeedtch.c264 if (!usb_ifnum_to_if(usb_dev, 2)) { in speedtch_upload_firmware()
763 if ((cur_intf = usb_ifnum_to_if(usb_dev, i))) { in speedtch_release_interfaces()
790 if (!(data_intf = usb_ifnum_to_if(usb_dev, INTERFACE_DATA))) { in speedtch_bind()
798 cur_intf = usb_ifnum_to_if(usb_dev, i); in speedtch_bind()
/drivers/usb/class/
Dcdc-acm.c1113 data_interface = usb_ifnum_to_if(usb_dev, 1); in acm_probe()
1114 control_interface = usb_ifnum_to_if(usb_dev, 0); in acm_probe()
1206 data_interface = usb_ifnum_to_if(usb_dev, 0); in acm_probe()
1208 data_interface = usb_ifnum_to_if(usb_dev, (data_interface_num = call_interface_num)); in acm_probe()
1222 control_interface = usb_ifnum_to_if(usb_dev, union_header->bMasterInterface0); in acm_probe()
1223 data_interface = usb_ifnum_to_if(usb_dev, (data_interface_num = union_header->bSlaveInterface0)); in acm_probe()
/drivers/media/usb/gspca/
Dbenq.c141 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in sd_stopN()
Dkonica.c184 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in sd_start()
Dgspca.c254 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in gspca_input_create_urb()
857 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in gspca_init_transfer()
/drivers/usb/core/
Dusb.c123 struct usb_interface *usb_ifnum_to_if(const struct usb_device *dev, in usb_ifnum_to_if() function
138 EXPORT_SYMBOL_GPL(usb_ifnum_to_if);
Ddevio.c640 intf = usb_ifnum_to_if(dev, ifnum); in claimintf()
660 intf = usb_ifnum_to_if(dev, ifnum); in releaseintf()
828 intf = usb_ifnum_to_if(ps->dev, ifnum); in parse_usbdevfs_streams()
1188 intf = usb_ifnum_to_if(ps->dev, gd.interface); in proc_getdriver()
1962 else if (!(intf = usb_ifnum_to_if(ps->dev, ctl->ifno))) in proc_ioctl()
2084 intf = usb_ifnum_to_if(ps->dev, dc.interface); in proc_disconnect_claim()
/drivers/isdn/hisax/
Dst5481_b.c275 intf = usb_ifnum_to_if(dev, 0); in st5481_setup_b_out()
Dst5481_usb.c257 intf = usb_ifnum_to_if(dev, 0); in st5481_setup_usb()
Dst5481_d.c666 intf = usb_ifnum_to_if(dev, 0); in st5481_setup_d_out()
/drivers/media/usb/gspca/stv06xx/
Dstv06xx_pb0100.c197 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in pb0100_start()
Dstv06xx.c289 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in stv06xx_start()
/drivers/net/wireless/ath/ath9k/
Dhif_usb.c641 usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in ath9k_hif_usb_rx_cb()
688 usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in ath9k_hif_usb_reg_in_cb()
/drivers/media/usb/em28xx/
Dem28xx-audio.c757 intf = usb_ifnum_to_if(dev->udev, dev->ifnum); in em28xx_audio_urb_init()
/drivers/media/usb/pwc/
Dpwc-if.c380 intf = usb_ifnum_to_if(udev, 0); in pwc_isoc_init()
/drivers/net/wireless/ath/carl9170/
Dusb.c167 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in carl9170_usb_tx_data_complete()
/drivers/media/usb/dvb-usb/
Dm920x.c478 alt = usb_altnum_to_altsetting(usb_ifnum_to_if(udev, 0), 1); in m920x_identify_state()
/drivers/net/wireless/p54/
Dp54usb.c199 usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in p54u_tx_cb()

12