/linux/Documentation/ABI/testing/ |
A D | sysfs-class-devlink | 7 denoted as ... above, is of the form <supplier>--<consumer> 8 where <supplier> is the supplier bus:device name and <consumer> 17 supplier devices themselves are still present. 22 - 'supplier unbind' 29 the supplier's driver is unbound from the supplier device. 62 of a device link is affected by whether the supplier and 68 supplier device after boot up. 78 - 'supplier unbinding' 97 'supplier unbinding' means the supplier devices is currently in 103 What: /sys/class/devlink/.../supplier [all …]
|
A D | sysfs-devices-supplier | 1 What: /sys/devices/.../supplier:<supplier> 5 The /sys/devices/.../supplier:<supplier> are symlinks to device 6 links where this device is the consumer. <supplier> denotes the 7 name of the supplier in that device link and is of the form
|
A D | sysfs-devices-consumer | 6 links where this device is the supplier. <consumer> denotes the
|
/linux/Documentation/driver-api/ |
A D | device_link.rst | 29 "supplier" device and its "consumer" devices, and it guarantees driver 31 supplier is bound to a driver, and they're unbound before the supplier 34 When driver presence on the supplier is irrelevant and only correct 37 enforcing driver presence on the supplier is optional. 41 is instructed to runtime resume the supplier and keep it active 48 :c:func:`device_add()` has been called for the supplier and 64 presence of the supplier after adding the link, and defer probing on 95 purged when the supplier fails to probe or later unbinds. 100 a driver has been bound to the supplier device. 186 VGA device (supplier) aptly represents this relationship. [all …]
|
/linux/drivers/base/ |
A D | core.c | 91 link->supplier = sup; in fwnode_link_add() 492 put_device(link->supplier); in device_link_release_fn() 690 if (!consumer || !supplier || consumer == supplier || in device_link_add() 809 get_device(supplier); in device_link_add() 810 link->supplier = supplier; in device_link_add() 821 dev_bus_name(supplier), dev_name(supplier), in device_link_add() 856 dev_name(supplier)); in device_link_add() 877 pm_runtime_put(supplier); in device_link_add() 999 c_hook)->supplier; in device_links_check_suppliers() 1279 struct device *supplier; in device_links_driver_bound() local [all …]
|
/linux/drivers/base/power/ |
A D | runtime.c | 297 retval = pm_runtime_get_sync(link->supplier); in rpm_get_suppliers() 300 pm_runtime_put_noidle(link->supplier); in rpm_get_suppliers() 316 pm_runtime_put_noidle(link->supplier); in __rpm_put_suppliers() 319 pm_request_idle(link->supplier); in __rpm_put_suppliers() 335 pm_request_idle(link->supplier); in rpm_suspend_suppliers() 1711 pm_runtime_get_sync(link->supplier); in pm_runtime_get_suppliers() 1740 pm_runtime_put(link->supplier); in pm_runtime_put_suppliers() 1777 pm_runtime_put(link->supplier); in pm_runtime_drop_link()
|
A D | main.c | 272 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers() 1185 link->supplier->power.must_resume = true; in dpm_superior_set_must_resume() 1592 spin_lock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete() 1593 link->supplier->power.direct_complete = false; in dpm_clear_superiors_direct_complete() 1594 spin_unlock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
|
/linux/drivers/power/supply/ |
A D | power_supply_core.c | 37 static bool __power_supply_is_supplied_by(struct power_supply *supplier, in __power_supply_is_supplied_by() argument 42 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by() 47 if (!supplier->desc->name) in __power_supply_is_supplied_by() 50 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by() 55 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by() 56 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
|
/linux/include/acpi/ |
A D | acpi_bus.h | 286 acpi_handle supplier; member 695 void acpi_dev_clear_dependencies(struct acpi_device *supplier); 696 struct acpi_device *acpi_dev_get_first_consumer_dev(struct acpi_device *supplier);
|
/linux/include/linux/ |
A D | fwnode.h | 46 struct fwnode_handle *supplier; member
|
A D | device.h | 595 struct device *supplier; member 969 struct device *supplier, u32 flags); 971 void device_link_remove(void *consumer, struct device *supplier);
|
/linux/scripts/ |
A D | dev-needs.sh | 131 SUPPLIER=$(realpath $SL/supplier)
|
/linux/drivers/acpi/ |
A D | scan.c | 1990 dep->supplier = dep_devices.handles[i]; in acpi_scan_check_dep() 2298 if (dep->supplier == handle) { in acpi_walk_dep_device_list() 2315 void acpi_dev_clear_dependencies(struct acpi_device *supplier) in acpi_dev_clear_dependencies() argument 2317 acpi_walk_dep_device_list(supplier->handle, acpi_scan_clear_dep, NULL); in acpi_dev_clear_dependencies() 2331 struct acpi_device *acpi_dev_get_first_consumer_dev(struct acpi_device *supplier) in acpi_dev_get_first_consumer_dev() argument 2335 acpi_walk_dep_device_list(supplier->handle, in acpi_dev_get_first_consumer_dev()
|
/linux/drivers/platform/surface/ |
A D | surface_acpi_notify.c | 740 acpi_handle supplier = ACPI_HANDLE(&pdev->dev); in is_san_consumer() local 754 if (dep_devices.handles[i] == supplier) in is_san_consumer()
|
/linux/Documentation/driver-api/usb/ |
A D | persist.rst | 54 you can convince the BIOS supplier to fix the problem (lots of luck!).
|
/linux/Documentation/devicetree/bindings/regulator/ |
A D | regulator.yaml | 214 A regulator should not be coupled with its supplier.
|
/linux/drivers/scsi/ufs/ |
A D | ufshcd.c | 5037 struct device *supplier = NULL; in ufshcd_slave_destroy() local 5042 supplier = &hba->sdev_ufs_device->sdev_gendev; in ufshcd_slave_destroy() 5043 get_device(supplier); in ufshcd_slave_destroy() 5047 if (supplier) { in ufshcd_slave_destroy() 5053 device_link_remove(&sdev->sdev_gendev, supplier); in ufshcd_slave_destroy() 5054 put_device(supplier); in ufshcd_slave_destroy()
|
/linux/drivers/pci/ |
A D | quirks.c | 5395 unsigned int supplier, unsigned int class, in pci_create_device_link() argument 5405 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier)); in pci_create_device_link()
|
/linux/Documentation/power/ |
A D | runtime_pm.rst | 838 through a supplier device link. For these reasons and to avoid boilerplate code
|
/linux/Documentation/admin-guide/ |
A D | kernel-parameters.txt | 1468 fw_devlink= [KNL] Create device links between consumer and supplier 1470 consumer/supplier relationships. This feature is 1473 (suppliers first, then consumers), supplier boot state
|