Home
last modified time | relevance | path

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

12

/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.c336 data_intf = usb_ifnum_to_if(usbdev, union_header->bSlaveInterface0); in usbpn_probe()
Dcdc_ncm.c856 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()
Dqmi_wwan.c771 info->data = usb_ifnum_to_if(dev->udev, in qmi_wwan_bind()
/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()
/drivers/hid/
Dhid-holtek-kbd.c125 struct usb_interface *boot_interface = usb_ifnum_to_if(usb_dev, 0); in holtek_kbd_input_event()
/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()
/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()
770 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in gspca_init_transfer()
Dov519.c3472 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/
Dcdc-acm.c1189 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/
Dusb.c347 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);
Ddevio.c784 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()
Dmessage.c1534 iface = usb_ifnum_to_if(dev, interface); in usb_set_interface()
/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()
/drivers/media/usb/em28xx/
Dem28xx-audio.c682 intf = usb_ifnum_to_if(udev, dev->ifnum); in em28xx_audio_urb_init()
/drivers/usb/serial/
Dxr_serial.c879 data = usb_ifnum_to_if(serial->dev, desc->bSlaveInterface0); in xr_probe()
/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()
/drivers/media/usb/dvb-usb/
Dm920x.c479 alt = usb_altnum_to_altsetting(usb_ifnum_to_if(udev, 0), 1); in m920x_identify_state()
/drivers/media/usb/pwc/
Dpwc-if.c423 intf = usb_ifnum_to_if(udev, 0); in pwc_isoc_init()
/drivers/net/wireless/intersil/p54/
Dp54usb.c199 usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in p54u_tx_cb()
/drivers/bluetooth/
Dbtusb.c3902 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()

12