/openbmc/linux/Documentation/ABI/testing/ |
H 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' 28 'supplier unbind' means the device link will be removed when 29 the supplier's driver is unbound from the supplier device. 32 when as long as the supplier and consumer devices themselves 46 runtime power management behavior of the consumer and supplier 47 devices. For example: Making sure the supplier doesn't enter 62 of a device link is affected by whether the supplier and [all …]
|
H 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
|
H A D | sysfs-devices-consumer | 6 links where this device is the supplier. <consumer> denotes the
|
/openbmc/linux/Documentation/driver-api/ |
H A D | device_link.rst | 29 "supplier" device and its "consumer" devices, and it guarantees driver 30 presence on the supplier. The consumer devices are not probed before the 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 61 ``->probe`` callback while the supplier hasn't started to probe yet: Had the 64 presence of the supplier after adding the link, and defer probing on 66 ``->probe`` callback while the supplier is still probing, but the consumer must [all …]
|
/openbmc/linux/drivers/base/ |
H A D | core.c | 81 link->supplier = sup; in __fwnode_link_add() 114 link->consumer, link->supplier); in __fwnode_link_del() 129 link->consumer, link->supplier); in __fwnode_link_cycle() 134 * fwnode_links_purge_suppliers - Delete all supplier links of fwnode_handle. 135 * @fwnode: fwnode whose supplier links need to be deleted 137 * Deletes all supplier links connecting directly to @fwnode. 214 * @new_sup: fwnode of new supplier 221 * Otherwise, move its consumers to the new supplier @new_sup. 336 struct device *supplier) in device_link_init_status() argument 338 switch (supplier in device_link_init_status() 729 device_link_add(struct device * consumer,struct device * supplier,u32 flags) device_link_add() argument 976 device_link_remove(void * consumer,struct device * supplier) device_link_remove() argument 1363 struct device *supplier; device_links_driver_bound() local [all...] |
/openbmc/linux/drivers/base/power/ |
H A D | runtime.c | 294 retval = pm_runtime_get_sync(link->supplier); in rpm_get_suppliers() 297 pm_runtime_put_noidle(link->supplier); in rpm_get_suppliers() 313 struct device *supplier = link->supplier; in pm_runtime_release_supplier() local 322 atomic_read(&supplier->power.usage_count) > 0) in pm_runtime_release_supplier() 323 pm_runtime_put_noidle(supplier); in pm_runtime_release_supplier() 334 pm_request_idle(link->supplier); in __rpm_put_suppliers() 350 pm_request_idle(link->supplier); in rpm_suspend_suppliers() 1784 pm_runtime_get_sync(link->supplier); in pm_runtime_get_suppliers() 1805 pm_runtime_put(link->supplier); in pm_runtime_put_suppliers() 1841 pm_request_idle(link->supplier); in pm_runtime_drop_link()
|
H A D | main.c | 272 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers() 1173 link->supplier->power.must_resume = true; in dpm_superior_set_must_resume() 1580 spin_lock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete() 1581 link->supplier->power.direct_complete = false; in dpm_clear_superiors_direct_complete() 1582 spin_unlock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
|
/openbmc/linux/include/acpi/ |
H A D | acpi_bus.h | 289 acpi_handle supplier; member 767 void acpi_dev_clear_dependencies(struct acpi_device *supplier); 769 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier, 778 #define for_each_acpi_consumer_dev(supplier, consumer) \ argument 779 for (consumer = acpi_dev_get_next_consumer_dev(supplier, NULL); \ 781 consumer = acpi_dev_get_next_consumer_dev(supplier, consumer))
|
/openbmc/linux/drivers/power/supply/ |
H A D | power_supply_core.c | 39 static bool __power_supply_is_supplied_by(struct power_supply *supplier, in __power_supply_is_supplied_by() argument 44 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by() 49 if (!supplier->desc->name) in __power_supply_is_supplied_by() 52 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by() 57 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by() 58 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | spdx30_tasks.py | 606 supplier = build_objset.new_agent("SPDX_PACKAGE_SUPPLIER") 607 if supplier is not None: 609 supplier if isinstance(supplier, str) else supplier._id
|
H A D | spdx.py | 235 supplier = _String(default="NOASSERTION") variable in SPDXPackage
|
/openbmc/linux/include/linux/ |
H A D | fwnode.h | 60 struct fwnode_handle *supplier; member
|
H A D | device.h | 825 struct device *supplier; member 1251 struct device *supplier, u32 flags); 1253 void device_link_remove(void *consumer, struct device *supplier);
|
/openbmc/linux/scripts/ |
H A D | dev-needs.sh | 131 SUPPLIER=$(realpath $SL/supplier)
|
/openbmc/linux/drivers/acpi/ |
H A D | scan.c | 2028 dep->supplier = dep_devices.handles[i]; in acpi_scan_check_dep() 2355 if (dep->supplier == handle) { in acpi_walk_dep_device_list() 2372 void acpi_dev_clear_dependencies(struct acpi_device *supplier) in acpi_dev_clear_dependencies() argument 2374 acpi_walk_dep_device_list(supplier->handle, acpi_scan_clear_dep, NULL); in acpi_dev_clear_dependencies() 2406 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier, in acpi_dev_get_next_consumer_dev() argument 2411 acpi_walk_dep_device_list(supplier->handle, in acpi_dev_get_next_consumer_dev()
|
/openbmc/linux/drivers/platform/surface/ |
H A D | surface_acpi_notify.c | 742 acpi_handle supplier = ACPI_HANDLE(&pdev->dev); in is_san_consumer() local 756 if (dep_devices.handles[i] == supplier) in is_san_consumer()
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | create-spdx-2.2.bbclass | 442 recipe.supplier = d.getVar("SPDX_SUPPLIER") 551 spdx_package.supplier = d.getVar("SPDX_SUPPLIER") 827 image.supplier = d.getVar("SPDX_SUPPLIER")
|
/openbmc/linux/drivers/cpufreq/ |
H A D | mediatek-cpufreq.c | 192 if (sup_link->supplier->links.status != DL_DEV_DRIVER_BOUND) in is_ccifreq_ready()
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A D | persist.rst | 54 you can convince the BIOS supplier to fix the problem (lots of luck!).
|
/openbmc/openbmc/poky/documentation/migration-guides/ |
H A D | release-notes-4.0.4.rst | 62 - create-spdx: Fix supplier field
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | driver.c | 2194 struct device *supplier) in scmi_device_link_add() argument 2198 link = device_link_add(consumer, supplier, DL_FLAG_AUTOREMOVE_CONSUMER); in scmi_device_link_add()
|
/openbmc/linux/drivers/ufs/core/ |
H A D | ufshcd.c | 5205 struct device *supplier = NULL; in ufshcd_slave_destroy() local 5210 supplier = &hba->ufs_device_wlun->sdev_gendev; in ufshcd_slave_destroy() 5211 get_device(supplier); in ufshcd_slave_destroy() 5215 if (supplier) { in ufshcd_slave_destroy() 5221 device_link_remove(&sdev->sdev_gendev, supplier); in ufshcd_slave_destroy() 5222 put_device(supplier); in ufshcd_slave_destroy()
|
/openbmc/linux/drivers/pci/ |
H A D | quirks.c | 5644 unsigned int supplier, unsigned int class, in pci_create_device_link() argument 5654 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier)); in pci_create_device_link()
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mtk-svs.c | 2038 if (sup_link->supplier->links.status != DL_DEV_DRIVER_BOUND) in svs_add_device_link()
|
/openbmc/linux/Documentation/power/ |
H A D | runtime_pm.rst | 846 through a supplier device link. For these reasons and to avoid boilerplate code
|