/kernel/linux/linux-5.10/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 | 1139 config = udev->actconfig; in unbind_marked_interfaces() 1186 config = udev->actconfig; in rebind_marked_interfaces() 1224 config = udev->actconfig; in unbind_no_pm_drivers_interfaces() 1412 if (udev->actconfig) { in usb_suspend_both() 1413 n = udev->actconfig->desc.bNumInterfaces; in usb_suspend_both() 1415 intf = udev->actconfig->interface[i]; in usb_suspend_both() 1458 if (udev->actconfig) { in usb_suspend_both() 1461 intf = udev->actconfig->interface[i]; in usb_suspend_both() 1519 if (status == 0 && udev->actconfig) { in usb_resume_both() 1520 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() 1704 config = dev->actconfig; in usb_reset_configuration() [all …]
|
D | devio.c | 840 if (!dev->actconfig) in findintfep() 842 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in findintfep() 843 intf = dev->actconfig->interface[i]; in findintfep() 875 alt_setting = usb_find_alt_setting(ps->dev->actconfig, in check_ctrlrecip() 1398 struct usb_host_config *actconfig = ps->dev->actconfig; in proc_resetdevice() local 1406 if (ps->privileges_dropped && actconfig) { in proc_resetdevice() 1407 for (i = 0; i < actconfig->desc.bNumInterfaces; ++i) { in proc_resetdevice() 1408 interface = actconfig->interface[i]; in proc_resetdevice() 1444 struct usb_host_config *actconfig; in proc_setconfig() local 1449 actconfig = ps->dev->actconfig; in proc_setconfig() [all …]
|
D | hub.c | 138 if (!hdev || !hdev->actconfig || !hdev->maxchild) in usb_hub_to_struct_hub() 140 return usb_get_intfdata(hdev->actconfig->interface[0]); in usb_hub_to_struct_hub() 1621 if (hdev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_SELFPOWER) in hub_configure() 2066 udev->actconfig->desc.bmAttributes & in usb_set_device_state() 3147 if (!udev->actconfig) in usb_disable_ltm() 3169 if (!udev->actconfig) in usb_enable_ltm() 3410 usb_set_device_state(udev, udev->actconfig in finish_port_resume() 3458 } else if (udev->actconfig && !udev->reset_resume) { in finish_port_resume() 4068 for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) { in usb_device_may_initiate_lpm() 4073 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 | 401 (dev->config + i) == dev->actconfig); in usb_dump_desc()
|
D | usb.c | 275 struct usb_host_config *config = dev->actconfig; in usb_ifnum_to_if()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 | 238 nintf = serial->dev->actconfig->desc.bNumInterfaces; in qcprobe()
|
D | pl2303.c | 325 if (interface == dev->actconfig->interface[0]) in pl2303_endpoint_hack() 329 iface_desc = dev->actconfig->interface[0]->cur_altsetting; in pl2303_endpoint_hack()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/sound/usb/ |
D | quirks.c | 385 ifcount = chip->dev->actconfig->desc.bNumInterfaces; in create_autodetect_quirks() 597 struct usb_host_config *config = dev->actconfig; in snd_usb_extigy_boot_quirk() 610 config = dev->actconfig; in snd_usb_extigy_boot_quirk() 643 if (dev->actconfig->desc.bConfigurationValue == 1) { in snd_usb_fasttrackpro_boot_quirk() 943 struct usb_host_config *config = dev->actconfig; in snd_usb_mbox2_boot_quirk() 980 config = dev->actconfig; in snd_usb_mbox2_boot_quirk()
|
/kernel/linux/linux-5.10/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 | 1414 if (dev->actconfig && in quectel_ec20_detected() 1417 dev->actconfig->desc.bNumInterfaces == 5) in quectel_ec20_detected()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
D | usb_intf.c | 74 phost_conf = pusbd->actconfig; in usb_dvobj_init()
|
/kernel/linux/linux-5.10/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()
|