/drivers/usb/core/ |
D | sysfs.c | 30 struct usb_host_config *actconfig; \ 37 actconfig = udev->actconfig; \ 38 if (actconfig) \ 40 actconfig->desc.field); \ 56 struct usb_host_config *actconfig; in bMaxPower_show() local 63 actconfig = udev->actconfig; in bMaxPower_show() 64 if (actconfig) in bMaxPower_show() 65 rc = sysfs_emit(buf, "%dmA\n", usb_get_max_power(udev, actconfig)); in bMaxPower_show() 75 struct usb_host_config *actconfig; in configuration_show() local 82 actconfig = udev->actconfig; in configuration_show() [all …]
|
D | driver.c | 1137 config = udev->actconfig; in unbind_marked_interfaces() 1184 config = udev->actconfig; in rebind_marked_interfaces() 1222 config = udev->actconfig; in unbind_no_pm_drivers_interfaces() 1415 if (udev->actconfig) { in usb_suspend_both() 1416 n = udev->actconfig->desc.bNumInterfaces; in usb_suspend_both() 1418 intf = udev->actconfig->interface[i]; in usb_suspend_both() 1461 if (udev->actconfig) { in usb_suspend_both() 1464 intf = udev->actconfig->interface[i]; in usb_suspend_both() 1528 if (status == 0 && udev->actconfig) { in usb_resume_both() 1529 for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) { in usb_resume_both() [all …]
|
D | message.c | 1397 if (dev->actconfig) { in usb_disable_device() 1403 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) in usb_disable_device() 1404 dev->actconfig->interface[i]->unregistering = 1; in usb_disable_device() 1406 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in usb_disable_device() 1410 interface = dev->actconfig->interface[i]; in usb_disable_device() 1422 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in usb_disable_device() 1423 put_device(&dev->actconfig->interface[i]->dev); in usb_disable_device() 1424 dev->actconfig->interface[i] = NULL; in usb_disable_device() 1431 dev->actconfig = NULL; in usb_disable_device() 1705 config = dev->actconfig; in usb_reset_configuration() [all …]
|
D | devio.c | 862 if (!dev->actconfig) in findintfep() 864 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in findintfep() 865 intf = dev->actconfig->interface[i]; in findintfep() 897 alt_setting = usb_find_alt_setting(ps->dev->actconfig, in check_ctrlrecip() 1501 struct usb_host_config *actconfig = ps->dev->actconfig; in proc_resetdevice() local 1509 if (ps->privileges_dropped && actconfig) { in proc_resetdevice() 1510 for (i = 0; i < actconfig->desc.bNumInterfaces; ++i) { in proc_resetdevice() 1511 interface = actconfig->interface[i]; in proc_resetdevice() 1547 struct usb_host_config *actconfig; in proc_setconfig() local 1552 actconfig = ps->dev->actconfig; in proc_setconfig() [all …]
|
D | hub.c | 154 if (!hdev || !hdev->actconfig || !hdev->maxchild) in usb_hub_to_struct_hub() 156 return usb_get_intfdata(hdev->actconfig->interface[0]); in usb_hub_to_struct_hub() 1645 if (hdev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_SELFPOWER) in hub_configure() 2138 udev->actconfig->desc.bmAttributes & in usb_set_device_state() 3283 if (!udev->actconfig) in usb_disable_ltm() 3305 if (!udev->actconfig) in usb_enable_ltm() 3567 usb_set_device_state(udev, udev->actconfig in finish_port_resume() 3615 } else if (udev->actconfig && !udev->reset_resume) { in finish_port_resume() 4212 for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) { in usb_device_may_initiate_lpm() 4217 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 | 376 (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 | 349 if (interface == dev->actconfig->interface[0]) in pl2303_endpoint_hack() 353 iface_desc = dev->actconfig->interface[0]->cur_altsetting; in pl2303_endpoint_hack()
|
/drivers/net/usb/ |
D | cdc_ether.c | 130 if (len == 0 && dev->udev->actconfig->extralen) { in usbnet_generic_cdc_bind() 134 buf = dev->udev->actconfig->extra; in usbnet_generic_cdc_bind() 135 len = dev->udev->actconfig->extralen; in usbnet_generic_cdc_bind()
|
D | qmi_wwan.c | 1507 if (dev->actconfig && in quectel_ec20_detected() 1510 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 | 1477 if (dev->actconfig->desc.bNumInterfaces != 1) { in gspca_dev_probe2() 1481 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in gspca_dev_probe2() 1482 intf2 = dev->actconfig->interface[i]; in gspca_dev_probe2() 1606 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/media/usb/siano/ |
D | smsusb.c | 543 if ((udev->actconfig->desc.bNumInterfaces == 2) && in smsusb_probe()
|