/drivers/usb/core/ |
D | sysfs.c | 29 struct usb_host_config *actconfig; \ 36 actconfig = udev->actconfig; \ 37 if (actconfig) \ 39 actconfig->desc.field); \ 55 struct usb_host_config *actconfig; in bMaxPower_show() local 62 actconfig = udev->actconfig; in bMaxPower_show() 63 if (actconfig) in bMaxPower_show() 64 rc = sprintf(buf, "%dmA\n", usb_get_max_power(udev, actconfig)); in bMaxPower_show() 74 struct usb_host_config *actconfig; in configuration_show() local 81 actconfig = udev->actconfig; in configuration_show() [all …]
|
D | driver.c | 1140 config = udev->actconfig; in unbind_marked_interfaces() 1187 config = udev->actconfig; in rebind_marked_interfaces() 1225 config = udev->actconfig; in unbind_no_pm_drivers_interfaces() 1418 if (udev->actconfig) { in usb_suspend_both() 1419 n = udev->actconfig->desc.bNumInterfaces; in usb_suspend_both() 1421 intf = udev->actconfig->interface[i]; in usb_suspend_both() 1464 if (udev->actconfig) { in usb_suspend_both() 1467 intf = udev->actconfig->interface[i]; in usb_suspend_both() 1531 if (status == 0 && udev->actconfig) { in usb_resume_both() 1532 for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) { in usb_resume_both() [all …]
|
D | message.c | 1392 if (dev->actconfig) { in usb_disable_device() 1398 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) in usb_disable_device() 1399 dev->actconfig->interface[i]->unregistering = 1; in usb_disable_device() 1401 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in usb_disable_device() 1405 interface = dev->actconfig->interface[i]; in usb_disable_device() 1417 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in usb_disable_device() 1418 put_device(&dev->actconfig->interface[i]->dev); in usb_disable_device() 1419 dev->actconfig->interface[i] = NULL; in usb_disable_device() 1426 dev->actconfig = NULL; in usb_disable_device() 1699 config = dev->actconfig; in usb_reset_configuration() [all …]
|
D | devio.c | 850 if (!dev->actconfig) in findintfep() 852 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in findintfep() 853 intf = dev->actconfig->interface[i]; in findintfep() 885 alt_setting = usb_find_alt_setting(ps->dev->actconfig, in check_ctrlrecip() 1408 struct usb_host_config *actconfig = ps->dev->actconfig; in proc_resetdevice() local 1416 if (ps->privileges_dropped && actconfig) { in proc_resetdevice() 1417 for (i = 0; i < actconfig->desc.bNumInterfaces; ++i) { in proc_resetdevice() 1418 interface = actconfig->interface[i]; in proc_resetdevice() 1454 struct usb_host_config *actconfig; in proc_setconfig() local 1459 actconfig = ps->dev->actconfig; in proc_setconfig() [all …]
|
D | hub.c | 141 if (!hdev || !hdev->actconfig || !hdev->maxchild) in usb_hub_to_struct_hub() 143 return usb_get_intfdata(hdev->actconfig->interface[0]); in usb_hub_to_struct_hub() 1632 if (hdev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_SELFPOWER) in hub_configure() 2077 udev->actconfig->desc.bmAttributes & in usb_set_device_state() 3175 if (!udev->actconfig) in usb_disable_ltm() 3197 if (!udev->actconfig) in usb_enable_ltm() 3438 usb_set_device_state(udev, udev->actconfig in finish_port_resume() 3486 } else if (udev->actconfig && !udev->reset_resume) { in finish_port_resume() 4096 for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) { in usb_device_may_initiate_lpm() 4101 intf = udev->actconfig->interface[i]; in usb_device_may_initiate_lpm() [all …]
|
D | generic.c | 259 if (udev->actconfig) in usb_generic_driver_disconnect()
|
D | devices.c | 388 (dev->config + i) == dev->actconfig); in usb_dump_desc()
|
D | usb.c | 351 struct usb_host_config *config = dev->actconfig; in usb_ifnum_to_if()
|
/drivers/usb/atm/ |
D | xusbatm.c | 44 for (i = 0; i < usb_dev->actconfig->desc.bNumInterfaces; i++) in xusbatm_find_intf() 45 …if ((intf = usb_dev->actconfig->interface[i]) && (alt = usb_altnum_to_altsetting(intf, altsetting)… in xusbatm_find_intf() 138 for (i = 0; i < usb_dev->actconfig->desc.bNumInterfaces; i++) { in xusbatm_unbind() 139 struct usb_interface *cur_intf = usb_dev->actconfig->interface[i]; in xusbatm_unbind()
|
D | speedtch.c | 769 int num_interfaces = usb_dev->actconfig->desc.bNumInterfaces; in speedtch_bind() 915 speedtch_release_interfaces(usb_dev, usb_dev->actconfig->desc.bNumInterfaces); in speedtch_unbind()
|
/drivers/usb/serial/ |
D | empeg.c | 66 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in empeg_startup() 68 serial->dev->actconfig->desc.bConfigurationValue); in empeg_startup()
|
D | ipaq.c | 582 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in ipaq_startup() 589 serial->dev->actconfig->desc.bConfigurationValue); in ipaq_startup()
|
D | visor.c | 453 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in visor_probe() 455 serial->dev->actconfig->desc.bConfigurationValue); in visor_probe()
|
D | qcserial.c | 243 nintf = serial->dev->actconfig->desc.bNumInterfaces; in qcprobe()
|
D | pl2303.c | 327 if (interface == dev->actconfig->interface[0]) in pl2303_endpoint_hack() 331 iface_desc = dev->actconfig->interface[0]->cur_altsetting; in pl2303_endpoint_hack()
|
/drivers/net/usb/ |
D | cdc_ether.c | 118 if (len == 0 && dev->udev->actconfig->extralen) { in usbnet_generic_cdc_bind() 122 buf = dev->udev->actconfig->extra; in usbnet_generic_cdc_bind() 123 len = dev->udev->actconfig->extralen; in usbnet_generic_cdc_bind()
|
D | qmi_wwan.c | 1427 if (dev->actconfig && in quectel_ec20_detected() 1430 dev->actconfig->desc.bNumInterfaces == 5) in quectel_ec20_detected()
|
/drivers/usb/storage/ |
D | uas-detect.h | 101 if (udev->actconfig->desc.bMaxPower == 0) { in uas_use_uas_driver()
|
D | sddr09.c | 1415 if (us->pusb_dev->actconfig->desc.bConfigurationValue != 1) { in sddr09_common_init() 1417 us->pusb_dev->actconfig->desc.bConfigurationValue); in sddr09_common_init()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-cards.c | 1565 uif = udev->actconfig->interface[idx]; in cx231xx_init_v4l2() 1603 uif = udev->actconfig->interface[idx]; in cx231xx_init_v4l2() 1647 uif = udev->actconfig->interface[idx]; in cx231xx_init_v4l2() 1791 assoc_desc = udev->actconfig->intf_assoc[0]; in cx231xx_usb_probe() 1838 uif = udev->actconfig->interface[idx]; in cx231xx_usb_probe()
|
D | cx231xx-audio.c | 610 dev->udev->actconfig->interface[dev->current_pcb_config. in cx231xx_audio_init()
|
/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx.c | 316 intfc = gspca_dev->dev->actconfig->intf_cache[0]; in stv06xx_isoc_init() 343 alt = &gspca_dev->dev->actconfig->intf_cache[0]->altsetting[1]; in stv06xx_isoc_nego()
|
/drivers/media/usb/gspca/ |
D | gspca.c | 1475 if (dev->actconfig->desc.bNumInterfaces != 1) { in gspca_dev_probe2() 1479 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in gspca_dev_probe2() 1480 intf2 = dev->actconfig->interface[i]; in gspca_dev_probe2() 1604 if (dev->actconfig->desc.bNumInterfaces != 1 in gspca_dev_probe()
|
/drivers/input/misc/ |
D | ati_remote2.c | 827 if ((udev->actconfig->desc.bNumInterfaces < 2) || !ar2->intf[1]) { in ati_remote2_probe() 829 __func__, udev->actconfig->desc.bNumInterfaces); in ati_remote2_probe()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | usb_intf.c | 74 phost_conf = pusbd->actconfig; in usb_dvobj_init()
|