Home
last modified time | relevance | path

Searched refs:supplier (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-devlink7 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 …]
Dsysfs-devices-supplier1 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
Dsysfs-devices-consumer6 links where this device is the supplier. <consumer> denotes the
/kernel/linux/linux-5.10/Documentation/driver-api/
Ddevice_link.rst29 "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 …]
/kernel/linux/linux-5.10/drivers/base/
Dcore.c178 struct device *supplier) in device_link_init_status() argument
180 switch (supplier->links.status) { in device_link_init_status()
352 pm_request_idle(link->supplier); in device_link_release_fn()
355 put_device(link->supplier); in device_link_release_fn()
386 struct device *sup = link->supplier; in devlink_add_symlinks()
435 struct device *sup = link->supplier; in devlink_remove_symlinks()
548 struct device *supplier, u32 flags) in device_link_add() argument
552 if (!consumer || !supplier || consumer == supplier || in device_link_add()
563 if (pm_runtime_get_sync(supplier) < 0) { in device_link_add()
564 pm_runtime_put_noidle(supplier); in device_link_add()
[all …]
/kernel/linux/linux-5.10/drivers/base/power/
Druntime.c297 retval = pm_runtime_get_sync(link->supplier); in rpm_get_suppliers()
300 pm_runtime_put_noidle(link->supplier); in rpm_get_suppliers()
316 struct device *supplier = link->supplier; in pm_runtime_release_supplier() local
325 atomic_read(&supplier->power.usage_count) > 0) in pm_runtime_release_supplier()
326 pm_runtime_put_noidle(supplier); in pm_runtime_release_supplier()
337 pm_request_idle(link->supplier); in __rpm_put_suppliers()
353 pm_request_idle(link->supplier); in rpm_suspend_suppliers()
1724 pm_runtime_get_sync(link->supplier); in pm_runtime_get_suppliers()
1753 pm_runtime_put(link->supplier); in pm_runtime_put_suppliers()
1789 pm_request_idle(link->supplier); in pm_runtime_drop_link()
Dmain.c275 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers()
1178 link->supplier->power.must_resume = true; in dpm_superior_set_must_resume()
1577 spin_lock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
1578 link->supplier->power.direct_complete = false; in dpm_clear_superiors_direct_complete()
1579 spin_unlock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
/kernel/linux/linux-5.10/drivers/power/supply/
Dpower_supply_core.c37 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()
/kernel/linux/linux-5.10/include/linux/
Ddevice.h578 struct device *supplier; member
934 struct device *supplier, u32 flags);
936 void device_link_remove(void *consumer, struct device *supplier);
/kernel/linux/linux-5.10/scripts/
Ddev-needs.sh131 SUPPLIER=$(realpath $SL/supplier)
/kernel/linux/linux-5.10/Documentation/networking/
Dframerelay.rst10 are assigned by your network supplier, they give you the number/numbers of
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0013_linux_drivers_base.patch25 + dev_name(link->supplier));
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dpersist.rst54 you can convince the BIOS supplier to fix the problem (lots of luck!).
/kernel/linux/linux-5.10/drivers/pci/
Dquirks.c5398 unsigned int supplier, unsigned int class, in pci_create_device_link() argument
5408 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier)); in pci_create_device_link()
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dkernel-parameters.txt1421 fw_devlink= [KNL] Create device links between consumer and supplier
1423 consumer/supplier relationships. This feature is
1426 (suppliers first, then consumers), supplier boot state