/drivers/net/usb/ |
D | cdc_ether.c | 181 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()
|
D | cdc-phonet.c | 336 data_intf = usb_ifnum_to_if(usbdev, union_header->bSlaveInterface0); in usbpn_probe()
|
D | cdc_ncm.c | 856 ctx->data = usb_ifnum_to_if(dev->udev, in cdc_ncm_bind_common() 865 ctx->data = usb_ifnum_to_if(dev->udev, intf->cur_altsetting->desc.bInterfaceNumber + 1); in cdc_ncm_bind_common()
|
D | qmi_wwan.c | 771 info->data = usb_ifnum_to_if(dev->udev, in qmi_wwan_bind()
|
/drivers/input/misc/ |
D | ati_remote2.c | 705 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()
|
D | ims-pcu.c | 1662 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()
|
/drivers/hid/ |
D | hid-holtek-kbd.c | 125 struct usb_interface *boot_interface = usb_ifnum_to_if(usb_dev, 0); in holtek_kbd_input_event()
|
/drivers/usb/atm/ |
D | speedtch.c | 250 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()
|
/drivers/media/usb/gspca/ |
D | benq.c | 126 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in sd_stopN()
|
D | konica.c | 176 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in sd_start()
|
D | gspca.c | 216 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in gspca_input_create_urb() 770 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in gspca_init_transfer()
|
D | ov519.c | 3472 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in ov511_mode_init_regs() 3603 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in ov518_mode_init_regs()
|
/drivers/usb/class/ |
D | cdc-acm.c | 1189 data_interface = usb_ifnum_to_if(usb_dev, 1); in acm_probe() 1190 control_interface = usb_ifnum_to_if(usb_dev, 0); in acm_probe() 1233 data_interface = usb_ifnum_to_if(usb_dev, data_intf_num); in acm_probe() 1243 control_interface = usb_ifnum_to_if(usb_dev, union_header->bMasterInterface0); in acm_probe() 1244 data_interface = usb_ifnum_to_if(usb_dev, data_intf_num); in acm_probe()
|
/drivers/usb/core/ |
D | usb.c | 347 struct usb_interface *usb_ifnum_to_if(const struct usb_device *dev, in usb_ifnum_to_if() function 362 EXPORT_SYMBOL_GPL(usb_ifnum_to_if);
|
D | devio.c | 784 intf = usb_ifnum_to_if(dev, ifnum); in claimintf() 811 intf = usb_ifnum_to_if(dev, ifnum); in releaseintf() 985 intf = usb_ifnum_to_if(ps->dev, ifnum); in parse_usbdevfs_streams() 1431 intf = usb_ifnum_to_if(ps->dev, gd.interface); in proc_getdriver() 2337 else if (!(intf = usb_ifnum_to_if(ps->dev, ctl->ifno))) in proc_ioctl() 2457 intf = usb_ifnum_to_if(ps->dev, dc.interface); in proc_disconnect_claim()
|
D | message.c | 1534 iface = usb_ifnum_to_if(dev, interface); in usb_set_interface()
|
/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_pb0100.c | 184 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in pb0100_start()
|
D | stv06xx.c | 278 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); in stv06xx_start()
|
/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 682 intf = usb_ifnum_to_if(udev, dev->ifnum); in em28xx_audio_urb_init()
|
/drivers/usb/serial/ |
D | xr_serial.c | 879 data = usb_ifnum_to_if(serial->dev, desc->bSlaveInterface0); in xr_probe()
|
/drivers/net/wireless/ath/carl9170/ |
D | usb.c | 169 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 | 479 alt = usb_altnum_to_altsetting(usb_ifnum_to_if(udev, 0), 1); in m920x_identify_state()
|
/drivers/media/usb/pwc/ |
D | pwc-if.c | 423 intf = usb_ifnum_to_if(udev, 0); in pwc_isoc_init()
|
/drivers/net/wireless/intersil/p54/ |
D | p54usb.c | 199 usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in p54u_tx_cb()
|
/drivers/bluetooth/ |
D | btusb.c | 3902 data->diag = usb_ifnum_to_if(data->udev, ifnum_base + 2); in btusb_probe() 3912 data->diag = usb_ifnum_to_if(data->udev, ifnum_base + 2); in btusb_probe() 3988 data->isoc = usb_ifnum_to_if(data->udev, ifnum_base + 1); in btusb_probe()
|