Home
last modified time | relevance | path

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

/linux-6.3-rc2/Documentation/ABI/testing/
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 …]
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
A Dsysfs-devices-consumer6 links where this device is the supplier. <consumer> denotes the
/linux-6.3-rc2/Documentation/driver-api/
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.3-rc2/drivers/base/
A Dcore.c93 link->supplier = sup; in __fwnode_link_add()
533 put_device(link->supplier); in device_link_release_fn()
732 if (!consumer || !supplier || consumer == supplier || in device_link_add()
853 get_device(supplier); in device_link_add()
854 link->supplier = supplier; in device_link_add()
865 dev_bus_name(supplier), dev_name(supplier), in device_link_add()
900 dev_name(supplier)); in device_link_add()
921 pm_runtime_put(supplier); in device_link_add()
1028 return link->supplier; in fwnode_links_check_suppliers()
1364 struct device *supplier; in device_links_driver_bound() local
[all …]
/linux-6.3-rc2/drivers/base/power/
A Druntime.c294 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()
A Dmain.c272 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-6.3-rc2/include/acpi/
A Dacpi_bus.h288 acpi_handle supplier; member
745 void acpi_dev_clear_dependencies(struct acpi_device *supplier);
747 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier,
756 #define for_each_acpi_consumer_dev(supplier, consumer) \ argument
757 for (consumer = acpi_dev_get_next_consumer_dev(supplier, NULL); \
759 consumer = acpi_dev_get_next_consumer_dev(supplier, consumer))
/linux-6.3-rc2/drivers/power/supply/
A Dpower_supply_core.c39 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()
/linux-6.3-rc2/include/linux/
A Dfwnode.h58 struct fwnode_handle *supplier; member
A Ddevice.h670 struct device *supplier; member
1080 struct device *supplier, u32 flags);
1082 void device_link_remove(void *consumer, struct device *supplier);
/linux-6.3-rc2/scripts/
A Ddev-needs.sh131 SUPPLIER=$(realpath $SL/supplier)
/linux-6.3-rc2/drivers/acpi/
A Dscan.c2020 dep->supplier = dep_devices.handles[i]; in acpi_scan_check_dep()
2341 if (dep->supplier == handle) { in acpi_walk_dep_device_list()
2358 void acpi_dev_clear_dependencies(struct acpi_device *supplier) in acpi_dev_clear_dependencies() argument
2360 acpi_walk_dep_device_list(supplier->handle, acpi_scan_clear_dep, NULL); in acpi_dev_clear_dependencies()
2392 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier, in acpi_dev_get_next_consumer_dev() argument
2397 acpi_walk_dep_device_list(supplier->handle, in acpi_dev_get_next_consumer_dev()
/linux-6.3-rc2/drivers/platform/surface/
A Dsurface_acpi_notify.c742 acpi_handle supplier = ACPI_HANDLE(&pdev->dev); in is_san_consumer() local
756 if (dep_devices.handles[i] == supplier) in is_san_consumer()
/linux-6.3-rc2/drivers/cpufreq/
A Dmediatek-cpufreq.c192 if (sup_link->supplier->links.status != DL_DEV_DRIVER_BOUND) in is_ccifreq_ready()
/linux-6.3-rc2/Documentation/driver-api/usb/
A Dpersist.rst54 you can convince the BIOS supplier to fix the problem (lots of luck!).
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/
A Dregulator.yaml215 A regulator should not be coupled with its supplier.
/linux-6.3-rc2/drivers/firmware/arm_scmi/
A Ddriver.c2189 struct device *supplier) in scmi_device_link_add() argument
2193 link = device_link_add(consumer, supplier, DL_FLAG_AUTOREMOVE_CONSUMER); in scmi_device_link_add()
/linux-6.3-rc2/drivers/ufs/core/
A Dufshcd.c5170 struct device *supplier = NULL; in ufshcd_slave_destroy() local
5175 supplier = &hba->ufs_device_wlun->sdev_gendev; in ufshcd_slave_destroy()
5176 get_device(supplier); in ufshcd_slave_destroy()
5180 if (supplier) { in ufshcd_slave_destroy()
5186 device_link_remove(&sdev->sdev_gendev, supplier); in ufshcd_slave_destroy()
5187 put_device(supplier); in ufshcd_slave_destroy()
/linux-6.3-rc2/drivers/pci/
A Dquirks.c5460 unsigned int supplier, unsigned int class, in pci_create_device_link() argument
5470 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier)); in pci_create_device_link()
/linux-6.3-rc2/drivers/soc/mediatek/
A Dmtk-svs.c2078 if (sup_link->supplier->links.status != DL_DEV_DRIVER_BOUND) in svs_add_device_link()
/linux-6.3-rc2/Documentation/power/
A Druntime_pm.rst844 through a supplier device link. For these reasons and to avoid boilerplate code
/linux-6.3-rc2/Documentation/admin-guide/
A Dkernel-parameters.txt1562 fw_devlink= [KNL] Create device links between consumer and supplier
1564 consumer/supplier relationships. This feature is
1567 (suppliers first, then consumers), supplier boot state

Completed in 452 milliseconds