Home
last modified time | relevance | path

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

/linux-6.15/Documentation/ABI/testing/
H A 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'
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 …]
H A 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
H A Dsysfs-devices-consumer6 links where this device is the supplier. <consumer> denotes the
/linux-6.15/Documentation/driver-api/
H A Ddevice_link.rst29 "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-6.15/drivers/base/
H A Dcore.c83 link->supplier = sup; in __fwnode_link_add()
523 put_device(link->supplier); in device_link_release_fn()
733 if (!consumer || !supplier || consumer == supplier || in device_link_add()
854 get_device(supplier); in device_link_add()
855 link->supplier = supplier; in device_link_add()
866 dev_bus_name(supplier), dev_name(supplier), in device_link_add()
901 dev_name(supplier)); in device_link_add()
922 pm_runtime_put(supplier); in device_link_add()
1030 return link->supplier; in fwnode_links_check_suppliers()
1358 struct device *supplier; in device_links_driver_bound() local
[all …]
/linux-6.15/include/acpi/
H A Dacpi_bus.h301 acpi_handle supplier; member
941 void acpi_dev_clear_dependencies(struct acpi_device *supplier);
943 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier,
952 #define for_each_acpi_consumer_dev(supplier, consumer) \ argument
953 for (consumer = acpi_dev_get_next_consumer_dev(supplier, NULL); \
955 consumer = acpi_dev_get_next_consumer_dev(supplier, consumer))
1017 #define for_each_acpi_consumer_dev(supplier, consumer) \ argument
1018 for (consumer = NULL; false && (supplier);)
/linux-6.15/drivers/base/power/
H A Druntime.c296 retval = pm_runtime_get_sync(link->supplier); in rpm_get_suppliers()
299 pm_runtime_put_noidle(link->supplier); in rpm_get_suppliers()
315 struct device *supplier = link->supplier; in pm_runtime_release_supplier() local
324 atomic_read(&supplier->power.usage_count) > 0) in pm_runtime_release_supplier()
325 pm_runtime_put_noidle(supplier); in pm_runtime_release_supplier()
336 pm_request_idle(link->supplier); in __rpm_put_suppliers()
352 pm_request_idle(link->supplier); in rpm_suspend_suppliers()
1840 pm_runtime_get_sync(link->supplier); in pm_runtime_get_suppliers()
1861 pm_runtime_put(link->supplier); in pm_runtime_put_suppliers()
1897 pm_request_idle(link->supplier); in pm_runtime_drop_link()
H A Dmain.c271 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers()
1224 link->supplier->power.must_resume = true; in dpm_superior_set_must_resume()
1609 spin_lock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
1610 link->supplier->power.direct_complete = false; in dpm_clear_superiors_direct_complete()
1611 spin_unlock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
1842 if (!dev_pm_smart_suspend(link->supplier) && in device_prepare_smart_suspend()
1843 !pm_runtime_blocked(link->supplier)) { in device_prepare_smart_suspend()
/linux-6.15/drivers/firmware/arm_scmi/
H A Dcommon.h444 struct device *supplier; member
470 strans.supplier = dev; \
H A Ddriver.c2535 struct device *supplier) in scmi_device_link_add() argument
2539 link = device_link_add(consumer, supplier, DL_FLAG_AUTOREMOVE_CONSUMER); in scmi_device_link_add()
3060 if (!trans || !trans->supplier || !trans->core_ops) in scmi_transport_setup()
3063 if (!device_link_add(dev, trans->supplier, DL_FLAG_AUTOREMOVE_CONSUMER)) { in scmi_transport_setup()
3072 dev_info(dev, "Using %s\n", dev_driver_string(trans->supplier)); in scmi_transport_setup()
/linux-6.15/drivers/power/supply/
H A Dpower_supply_core.c43 static bool __power_supply_is_supplied_by(struct power_supply *supplier, in __power_supply_is_supplied_by() argument
48 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
53 if (!supplier->desc->name) in __power_supply_is_supplied_by()
56 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
61 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
62 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
/linux-6.15/include/linux/
H A Ddevice.h746 struct device *supplier; member
1196 struct device *supplier, u32 flags);
1198 void device_link_remove(void *consumer, struct device *supplier);
H A Dfwnode.h73 struct fwnode_handle *supplier; member
/linux-6.15/scripts/
H A Ddev-needs.sh131 SUPPLIER=$(realpath $SL/supplier)
/linux-6.15/drivers/acpi/
H A Dscan.c2039 dep->supplier = dep_devices->handles[i]; in acpi_scan_add_dep()
2442 if (dep->supplier == handle) { in acpi_walk_dep_device_list()
2459 void acpi_dev_clear_dependencies(struct acpi_device *supplier) in acpi_dev_clear_dependencies() argument
2461 acpi_walk_dep_device_list(supplier->handle, acpi_scan_clear_dep, NULL); in acpi_dev_clear_dependencies()
2493 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier, in acpi_dev_get_next_consumer_dev() argument
2498 acpi_walk_dep_device_list(supplier->handle, in acpi_dev_get_next_consumer_dev()
/linux-6.15/arch/arm64/boot/dts/renesas/
H A Dulcb-kf-audio-graph-card2-mix+split.dtsi61 non-supplier;
/linux-6.15/drivers/cpufreq/
H A Dmediatek-cpufreq.c192 if (sup_link->supplier->links.status != DL_DEV_DRIVER_BOUND) in is_ccifreq_ready()
/linux-6.15/Documentation/driver-api/usb/
H A Dpersist.rst54 you can convince the BIOS supplier to fix the problem (lots of luck!).
/linux-6.15/Documentation/devicetree/bindings/regulator/
H A Dregulator.yaml231 A regulator should not be coupled with its supplier.
/linux-6.15/drivers/ufs/core/
H A Dufshcd.c5305 struct device *supplier = NULL; in ufshcd_sdev_destroy() local
5310 supplier = &hba->ufs_device_wlun->sdev_gendev; in ufshcd_sdev_destroy()
5311 get_device(supplier); in ufshcd_sdev_destroy()
5315 if (supplier) { in ufshcd_sdev_destroy()
5321 device_link_remove(&sdev->sdev_gendev, supplier); in ufshcd_sdev_destroy()
5322 put_device(supplier); in ufshcd_sdev_destroy()
/linux-6.15/drivers/pci/
H A Dquirks.c5652 unsigned int supplier, unsigned int class, in pci_create_device_link() argument
5662 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier)); in pci_create_device_link()
/linux-6.15/drivers/soc/mediatek/
H A Dmtk-svs.c2162 if (sup_link->supplier->links.status != DL_DEV_DRIVER_BOUND) in svs_add_device_link()
/linux-6.15/Documentation/power/
H A Druntime_pm.rst851 through a supplier device link. For these reasons and to avoid boilerplate code
/linux-6.15/Documentation/admin-guide/
H A Dkernel-parameters.txt1670 fw_devlink= [KNL,EARLY] Create device links between consumer and supplier
1672 consumer/supplier relationships. This feature is
1675 (suppliers first, then consumers), supplier boot state