/drivers/net/usb/ |
D | cdc_ether.c | 220 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()
|
D | cdc-phonet.c | 373 data_intf = usb_ifnum_to_if(usbdev, union_header->bSlaveInterface0); in usbpn_probe()
|
D | qmi_wwan.c | 304 info->data = usb_ifnum_to_if(dev->udev, in qmi_wwan_bind()
|
D | cdc_ncm.c | 740 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/ |
D | ati_remote2.c | 710 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()
|
D | ims-pcu.c | 1676 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/ |
D | hid-holtek-kbd.c | 128 struct usb_interface *boot_interface = usb_ifnum_to_if(usb_dev, 0); in holtek_kbd_input_event()
|
/drivers/usb/atm/ |
D | speedtch.c | 264 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/ |
D | cdc-acm.c | 1113 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/ |
D | benq.c | 141 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in sd_stopN()
|
D | konica.c | 184 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in sd_start()
|
D | gspca.c | 254 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/ |
D | usb.c | 123 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);
|
D | devio.c | 640 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/ |
D | st5481_b.c | 275 intf = usb_ifnum_to_if(dev, 0); in st5481_setup_b_out()
|
D | st5481_usb.c | 257 intf = usb_ifnum_to_if(dev, 0); in st5481_setup_usb()
|
D | st5481_d.c | 666 intf = usb_ifnum_to_if(dev, 0); in st5481_setup_d_out()
|
/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_pb0100.c | 197 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in pb0100_start()
|
D | stv06xx.c | 289 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in stv06xx_start()
|
/drivers/net/wireless/ath/ath9k/ |
D | hif_usb.c | 641 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/ |
D | em28xx-audio.c | 757 intf = usb_ifnum_to_if(dev->udev, dev->ifnum); in em28xx_audio_urb_init()
|
/drivers/media/usb/pwc/ |
D | pwc-if.c | 380 intf = usb_ifnum_to_if(udev, 0); in pwc_isoc_init()
|
/drivers/net/wireless/ath/carl9170/ |
D | usb.c | 167 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in carl9170_usb_tx_data_complete()
|
/drivers/media/usb/dvb-usb/ |
D | m920x.c | 478 alt = usb_altnum_to_altsetting(usb_ifnum_to_if(udev, 0), 1); in m920x_identify_state()
|
/drivers/net/wireless/p54/ |
D | p54usb.c | 199 usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in p54u_tx_cb()
|