Home
last modified time | relevance | path

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

/Linux-v5.4/Documentation/driver-api/
Ddevice_link.rst33 "supplier" device and its "consumer" devices, and it guarantees driver
34 presence on the supplier. The consumer devices are not probed before the
35 supplier is bound to a driver, and they're unbound before the supplier
38 When driver presence on the supplier is irrelevant and only correct
41 enforcing driver presence on the supplier is optional.
45 is instructed to runtime resume the supplier and keep it active
52 :c:func:`device_add()` has been called for the supplier and
65 ``->probe`` callback while the supplier hasn't started to probe yet: Had the
68 presence of the supplier after adding the link, and defer probing on
70 ``->probe`` callback while the supplier is still probing, but the consumer must
[all …]
/Linux-v5.4/drivers/base/
Dcore.c142 struct device *supplier) in device_link_init_status() argument
144 switch (supplier->links.status) { in device_link_init_status()
289 struct device *supplier, u32 flags) in device_link_add() argument
293 if (!consumer || !supplier || flags & ~DL_ADD_VALID_FLAGS || in device_link_add()
301 if (pm_runtime_get_sync(supplier) < 0) { in device_link_add()
302 pm_runtime_put_noidle(supplier); in device_link_add()
318 if (!device_pm_initialized(supplier) in device_link_add()
319 || device_is_dependent(consumer, supplier)) { in device_link_add()
332 list_for_each_entry(link, &supplier->links.consumers, s_node) { in device_link_add()
368 device_link_init_status(link, consumer, supplier); in device_link_add()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/drivers/base/power/
Druntime.c298 retval = pm_runtime_get_sync(link->supplier); in rpm_get_suppliers()
301 pm_runtime_put_noidle(link->supplier); in rpm_get_suppliers()
319 pm_runtime_put(link->supplier); in rpm_put_suppliers()
1673 pm_runtime_get_sync(link->supplier); in pm_runtime_get_suppliers()
1695 pm_runtime_put(link->supplier); in pm_runtime_put_suppliers()
Dmain.c271 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers()
1207 link->supplier->power.must_resume = true; in dpm_superior_set_must_resume()
1667 spin_lock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
1668 link->supplier->power.direct_complete = false; in dpm_clear_superiors_direct_complete()
1669 spin_unlock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
/Linux-v5.4/Documentation/networking/
Dframerelay.txt4 are assigned by your network supplier, they give you the number/numbers of
/Linux-v5.4/Documentation/devicetree/bindings/sound/
Dsamsung-i2s.txt55 node as a clock supplier.
/Linux-v5.4/include/linux/
Ddevice.h1106 struct device *supplier; member
1653 struct device *supplier, u32 flags);
1655 void device_link_remove(void *consumer, struct device *supplier);
/Linux-v5.4/Documentation/driver-api/usb/
Dpersist.rst54 you can convince the BIOS supplier to fix the problem (lots of luck!).
/Linux-v5.4/drivers/pci/
Dquirks.c5049 unsigned int supplier, unsigned int class, in pci_create_device_link() argument
5059 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier)); in pci_create_device_link()