/drivers/usb/core/ |
D | sysfs.c | 25 struct usb_host_config *actconfig; \ 30 actconfig = udev->actconfig; \ 31 if (actconfig) \ 33 actconfig->desc.field); \ 49 struct usb_host_config *actconfig; in bMaxPower_show() local 54 actconfig = udev->actconfig; in bMaxPower_show() 55 if (actconfig) in bMaxPower_show() 56 rc = sprintf(buf, "%dmA\n", usb_get_max_power(udev, actconfig)); in bMaxPower_show() 66 struct usb_host_config *actconfig; in configuration_show() local 71 actconfig = udev->actconfig; in configuration_show() [all …]
|
D | driver.c | 1035 config = udev->actconfig; in unbind_marked_interfaces() 1082 config = udev->actconfig; in rebind_marked_interfaces() 1120 config = udev->actconfig; in unbind_no_pm_drivers_interfaces() 1302 if (udev->actconfig) { in usb_suspend_both() 1303 n = udev->actconfig->desc.bNumInterfaces; in usb_suspend_both() 1305 intf = udev->actconfig->interface[i]; in usb_suspend_both() 1348 if (udev->actconfig) { in usb_suspend_both() 1351 intf = udev->actconfig->interface[i]; in usb_suspend_both() 1409 if (status == 0 && udev->actconfig) { in usb_resume_both() 1410 for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) { in usb_resume_both() [all …]
|
D | message.c | 1189 if (dev->actconfig) { in usb_disable_device() 1195 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) in usb_disable_device() 1196 dev->actconfig->interface[i]->unregistering = 1; in usb_disable_device() 1198 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in usb_disable_device() 1202 interface = dev->actconfig->interface[i]; in usb_disable_device() 1214 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in usb_disable_device() 1215 put_device(&dev->actconfig->interface[i]->dev); in usb_disable_device() 1216 dev->actconfig->interface[i] = NULL; in usb_disable_device() 1223 dev->actconfig = NULL; in usb_disable_device() 1494 config = dev->actconfig; in usb_reset_configuration() [all …]
|
D | devio.c | 694 if (!dev->actconfig) in findintfep() 696 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in findintfep() 697 intf = dev->actconfig->interface[i]; in findintfep() 729 alt_setting = usb_find_alt_setting(ps->dev->actconfig, in check_ctrlrecip() 1239 struct usb_host_config *actconfig; in proc_setconfig() local 1244 actconfig = ps->dev->actconfig; in proc_setconfig() 1250 if (actconfig) { in proc_setconfig() 1253 for (i = 0; i < actconfig->desc.bNumInterfaces; ++i) { in proc_setconfig() 1254 if (usb_interface_claimed(actconfig->interface[i])) { in proc_setconfig() 1258 actconfig->interface[i] in proc_setconfig() [all …]
|
D | hub.c | 123 if (!hdev || !hdev->actconfig || !hdev->maxchild) in usb_hub_to_struct_hub() 125 return usb_get_intfdata(hdev->actconfig->interface[0]); in usb_hub_to_struct_hub() 1548 if (hdev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_SELFPOWER) in hub_configure() 1980 udev->actconfig->desc.bmAttributes & in usb_set_device_state() 2976 if (!udev->actconfig) in usb_disable_ltm() 2998 if (!udev->actconfig) in usb_enable_ltm() 3246 usb_set_device_state(udev, udev->actconfig in finish_port_resume() 3294 } else if (udev->actconfig && !udev->reset_resume) { in finish_port_resume() 3860 for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) { in usb_device_may_initiate_lpm() 3865 intf = udev->actconfig->interface[i]; in usb_device_may_initiate_lpm() [all …]
|
D | generic.c | 193 if (udev->actconfig) in generic_disconnect()
|
/drivers/usb/atm/ |
D | xusbatm.c | 58 for (i = 0; i < usb_dev->actconfig->desc.bNumInterfaces; i++) in xusbatm_find_intf() 59 …if ((intf = usb_dev->actconfig->interface[i]) && (alt = usb_altnum_to_altsetting(intf, altsetting)… in xusbatm_find_intf() 152 for (i = 0; i < usb_dev->actconfig->desc.bNumInterfaces; i++) { in xusbatm_unbind() 153 struct usb_interface *cur_intf = usb_dev->actconfig->interface[i]; in xusbatm_unbind()
|
D | speedtch.c | 782 int num_interfaces = usb_dev->actconfig->desc.bNumInterfaces; in speedtch_bind() 934 speedtch_release_interfaces(usb_dev, usb_dev->actconfig->desc.bNumInterfaces); in speedtch_unbind()
|
/drivers/usb/serial/ |
D | empeg.c | 69 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in empeg_startup() 71 serial->dev->actconfig->desc.bConfigurationValue); in empeg_startup()
|
D | ipaq.c | 589 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in ipaq_startup() 596 serial->dev->actconfig->desc.bConfigurationValue); in ipaq_startup()
|
D | visor.c | 456 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in visor_probe() 458 serial->dev->actconfig->desc.bConfigurationValue); in visor_probe()
|
D | qcserial.c | 242 nintf = serial->dev->actconfig->desc.bNumInterfaces; in qcprobe()
|
/drivers/usb/host/ |
D | hwa-hc.c | 576 actconfig_idx = (usb_dev->actconfig - usb_dev->config) / in wa_fill_descr() 579 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in wa_fill_descr() 650 index = (usb_dev->actconfig - usb_dev->config) / in hwahc_security_create() 653 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwahc_security_create() 656 le16_to_cpu(usb_dev->actconfig->desc.wTotalLength), in hwahc_security_create()
|
/drivers/net/usb/ |
D | cdc_ether.c | 123 if (len == 0 && dev->udev->actconfig->extralen) { in usbnet_generic_cdc_bind() 127 buf = dev->udev->actconfig->extra; in usbnet_generic_cdc_bind() 128 len = dev->udev->actconfig->extralen; in usbnet_generic_cdc_bind()
|
D | qmi_wwan.c | 1022 if (dev->actconfig && in quectel_ec20_detected() 1025 dev->actconfig->desc.bNumInterfaces == 5) in quectel_ec20_detected()
|
/drivers/usb/storage/ |
D | uas-detect.h | 100 if (udev->actconfig->desc.bMaxPower == 0) { in uas_use_uas_driver()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-cards.c | 1451 uif = udev->actconfig->interface[idx]; in cx231xx_init_v4l2() 1489 uif = udev->actconfig->interface[idx]; in cx231xx_init_v4l2() 1533 uif = udev->actconfig->interface[idx]; in cx231xx_init_v4l2() 1677 assoc_desc = udev->actconfig->intf_assoc[0]; in cx231xx_usb_probe() 1720 uif = udev->actconfig->interface[idx]; in cx231xx_usb_probe()
|
/drivers/media/usb/usbvision/ |
D | usbvision-video.c | 1465 interface = &dev->actconfig->interface[usbvision_device_data[model].interface]->altsetting[0]; in usbvision_probe() 1466 else if (ifnum < dev->actconfig->desc.bNumInterfaces) in usbvision_probe() 1467 interface = &dev->actconfig->interface[ifnum]->altsetting[0]; in usbvision_probe() 1470 ifnum, dev->actconfig->desc.bNumInterfaces - 1); in usbvision_probe() 1514 uif = dev->actconfig->interface[0]; in usbvision_probe()
|
/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx.c | 327 intfc = gspca_dev->dev->actconfig->intf_cache[0]; in stv06xx_isoc_init() 354 alt = &gspca_dev->dev->actconfig->intf_cache[0]->altsetting[1]; in stv06xx_isoc_nego()
|
/drivers/uwb/ |
D | hwa-rc.c | 765 actconfig_idx = (usb_dev->actconfig - usb_dev->config) / in hwarc_get_version() 768 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwarc_get_version()
|
/drivers/staging/gdm72xx/ |
D | gdm_usb.c | 536 bConfigurationValue = usbdev->actconfig->desc.bConfigurationValue; in gdm_usb_probe() 620 bConfigurationValue = usbdev->actconfig->desc.bConfigurationValue; in gdm_usb_disconnect()
|
/drivers/input/misc/ |
D | ati_remote2.c | 832 if ((udev->actconfig->desc.bNumInterfaces < 2) || !ar2->intf[1]) { in ati_remote2_probe() 834 __func__, udev->actconfig->desc.bNumInterfaces); in ati_remote2_probe()
|
/drivers/media/usb/gspca/ |
D | gspca.c | 2042 if (dev->actconfig->desc.bNumInterfaces != 1) { in gspca_dev_probe2() 2046 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in gspca_dev_probe2() 2047 intf2 = dev->actconfig->interface[i]; in gspca_dev_probe2() 2159 if (dev->actconfig->desc.bNumInterfaces != 1 in gspca_dev_probe()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | usb_intf.c | 86 phost_conf = pusbd->actconfig; in usb_dvobj_init()
|
/drivers/staging/rtl8723au/os_dep/ |
D | usb_intf.c | 104 phost_conf = pusbd->actconfig; in usb_dvobj_init()
|