Home
last modified time | relevance | path

Searched refs:actconfig (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/drivers/usb/core/
Dsysfs.c29 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 = sysfs_emit(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 …]
Ddriver.c1136 config = udev->actconfig; in unbind_marked_interfaces()
1183 config = udev->actconfig; in rebind_marked_interfaces()
1221 config = udev->actconfig; in unbind_no_pm_drivers_interfaces()
1409 if (udev->actconfig) { in usb_suspend_both()
1410 n = udev->actconfig->desc.bNumInterfaces; in usb_suspend_both()
1412 intf = udev->actconfig->interface[i]; in usb_suspend_both()
1455 if (udev->actconfig) { in usb_suspend_both()
1458 intf = udev->actconfig->interface[i]; in usb_suspend_both()
1516 if (status == 0 && udev->actconfig) { in usb_resume_both()
1517 for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) { in usb_resume_both()
[all …]
Dmessage.c1400 if (dev->actconfig) { in usb_disable_device()
1406 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) in usb_disable_device()
1407 dev->actconfig->interface[i]->unregistering = 1; in usb_disable_device()
1409 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in usb_disable_device()
1413 interface = dev->actconfig->interface[i]; in usb_disable_device()
1425 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in usb_disable_device()
1426 put_device(&dev->actconfig->interface[i]->dev); in usb_disable_device()
1427 dev->actconfig->interface[i] = NULL; in usb_disable_device()
1434 dev->actconfig = NULL; in usb_disable_device()
1708 config = dev->actconfig; in usb_reset_configuration()
[all …]
Ddevio.c853 if (!dev->actconfig) in findintfep()
855 for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) { in findintfep()
856 intf = dev->actconfig->interface[i]; in findintfep()
888 alt_setting = usb_find_alt_setting(ps->dev->actconfig, in check_ctrlrecip()
1492 struct usb_host_config *actconfig = ps->dev->actconfig; in proc_resetdevice() local
1500 if (ps->privileges_dropped && actconfig) { in proc_resetdevice()
1501 for (i = 0; i < actconfig->desc.bNumInterfaces; ++i) { in proc_resetdevice()
1502 interface = actconfig->interface[i]; in proc_resetdevice()
1538 struct usb_host_config *actconfig; in proc_setconfig() local
1543 actconfig = ps->dev->actconfig; in proc_setconfig()
[all …]
Dhub.c143 if (!hdev || !hdev->actconfig || !hdev->maxchild) in usb_hub_to_struct_hub()
145 return usb_get_intfdata(hdev->actconfig->interface[0]); in usb_hub_to_struct_hub()
1626 if (hdev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_SELFPOWER) in hub_configure()
2077 udev->actconfig->desc.bmAttributes & in usb_set_device_state()
3215 if (!udev->actconfig) in usb_disable_ltm()
3237 if (!udev->actconfig) in usb_enable_ltm()
3499 usb_set_device_state(udev, udev->actconfig in finish_port_resume()
3547 } else if (udev->actconfig && !udev->reset_resume) { in finish_port_resume()
4144 for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) { in usb_device_may_initiate_lpm()
4149 intf = udev->actconfig->interface[i]; in usb_device_may_initiate_lpm()
[all …]
Dgeneric.c259 if (udev->actconfig) in usb_generic_driver_disconnect()
Ddevices.c376 (dev->config + i) == dev->actconfig); in usb_dump_desc()
/linux-6.1.9/drivers/usb/atm/
Dxusbatm.c44 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()
Dspeedtch.c769 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()
/linux-6.1.9/drivers/usb/serial/
Dempeg.c66 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in empeg_startup()
68 serial->dev->actconfig->desc.bConfigurationValue); in empeg_startup()
Dipaq.c582 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in ipaq_startup()
589 serial->dev->actconfig->desc.bConfigurationValue); in ipaq_startup()
Dvisor.c453 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in visor_probe()
455 serial->dev->actconfig->desc.bConfigurationValue); in visor_probe()
Dqcserial.c241 nintf = serial->dev->actconfig->desc.bNumInterfaces; in qcprobe()
Dpl2303.c349 if (interface == dev->actconfig->interface[0]) in pl2303_endpoint_hack()
353 iface_desc = dev->actconfig->interface[0]->cur_altsetting; in pl2303_endpoint_hack()
/linux-6.1.9/sound/usb/
Dquirks.c555 struct usb_host_config *config = dev->actconfig; in snd_usb_extigy_boot_quirk()
568 config = dev->actconfig; in snd_usb_extigy_boot_quirk()
601 if (dev->actconfig->desc.bConfigurationValue == 1) { in snd_usb_fasttrackpro_boot_quirk()
901 struct usb_host_config *config = dev->actconfig; in snd_usb_mbox2_boot_quirk()
938 config = dev->actconfig; in snd_usb_mbox2_boot_quirk()
1253 struct usb_host_config *config = dev->actconfig; in snd_usb_mbox3_boot_quirk()
1268 config = dev->actconfig; in snd_usb_mbox3_boot_quirk()
/linux-6.1.9/drivers/usb/storage/
Duas-detect.h101 if (udev->actconfig->desc.bMaxPower == 0) { in uas_use_uas_driver()
Dsddr09.c1415 if (us->pusb_dev->actconfig->desc.bConfigurationValue != 1) { in sddr09_common_init()
1417 us->pusb_dev->actconfig->desc.bConfigurationValue); in sddr09_common_init()
/linux-6.1.9/drivers/net/usb/
Dcdc_ether.c130 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()
Dqmi_wwan.c1493 if (dev->actconfig && in quectel_ec20_detected()
1496 dev->actconfig->desc.bNumInterfaces == 5) in quectel_ec20_detected()
/linux-6.1.9/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1565 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()
Dcx231xx-audio.c610 dev->udev->actconfig->interface[dev->current_pcb_config. in cx231xx_audio_init()
/linux-6.1.9/drivers/media/usb/gspca/stv06xx/
Dstv06xx.c316 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()
/linux-6.1.9/drivers/media/usb/gspca/
Dgspca.c1477 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()
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dusb_intf.c90 phost_conf = pusbd->actconfig; in usb_dvobj_init()
/linux-6.1.9/drivers/input/misc/
Dati_remote2.c827 if ((udev->actconfig->desc.bNumInterfaces < 2) || !ar2->intf[1]) { in ati_remote2_probe()
829 __func__, udev->actconfig->desc.bNumInterfaces); in ati_remote2_probe()

12