Home
last modified time | relevance | path

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

/linux/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'
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 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/Documentation/driver-api/
H A 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 …]
/linux/include/acpi/
H A Dacpi_bus.h267 acpi_handle supplier; member
887 void acpi_dev_clear_dependencies(struct acpi_device *supplier);
889 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier,
898 #define for_each_acpi_consumer_dev(supplier, consumer) \ argument
899 for (consumer = acpi_dev_get_next_consumer_dev(supplier, NULL); \
901 consumer = acpi_dev_get_next_consumer_dev(supplier, consumer))
968 #define for_each_acpi_consumer_dev(supplier, consumer) \ argument
969 for (consumer = NULL; false && (supplier);)
/linux/drivers/base/power/
H A Dmain.c295 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers()
1437 dpm_async_with_cleanup(link->supplier, func); in dpm_async_suspend_superior()
1490 link->supplier->power.must_resume = true; in dpm_superior_set_must_resume()
1924 spin_lock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
1925 link->supplier->power.direct_complete = false; in dpm_clear_superiors_direct_complete()
1926 spin_unlock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
2179 if (!dev_pm_smart_suspend(link->supplier) && in device_prepare_smart_suspend()
2180 !pm_runtime_blocked(link->supplier)) { in device_prepare_smart_suspend()
/linux/drivers/power/supply/
H A Dpower_supply_core.c42 static bool __power_supply_is_supplied_by(struct power_supply *supplier, in __power_supply_is_supplied_by() argument
47 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
52 if (!supplier->desc->name) in __power_supply_is_supplied_by()
55 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
60 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
61 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
/linux/include/linux/
H A Ddevice.h850 struct device *supplier; member
1381 struct device *supplier, u32 flags);
1383 void device_link_remove(void *consumer, struct device *supplier);
/linux/scripts/
H A Ddev-needs.sh131 SUPPLIER=$(realpath $SL/supplier)
/linux/drivers/acpi/
H A Dscan.c2041 dep->supplier = dep_devices->handles[i]; in acpi_scan_add_dep()
2499 if (dep->supplier == handle) { in acpi_walk_dep_device_list()
2516 void acpi_dev_clear_dependencies(struct acpi_device *supplier) in acpi_dev_clear_dependencies() argument
2518 acpi_walk_dep_device_list(supplier->handle, acpi_scan_clear_dep, NULL); in acpi_dev_clear_dependencies()
2550 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier, in acpi_dev_get_next_consumer_dev() argument
2555 acpi_walk_dep_device_list(supplier->handle, in acpi_dev_get_next_consumer_dev()
/linux/arch/arm64/boot/dts/renesas/
H A Dulcb-kf-audio-graph-card2-mix+split.dtsi61 non-supplier;
/linux/drivers/firmware/arm_scmi/
H A Ddriver.c2633 struct device *supplier) in scmi_device_link_add() argument
2637 link = device_link_add(consumer, supplier, DL_FLAG_AUTOREMOVE_CONSUMER); in scmi_device_link_add()
3173 if (!trans || !trans->supplier || !trans->core_ops) in scmi_transport_setup()
3176 if (!device_link_add(dev, trans->supplier, DL_FLAG_AUTOREMOVE_CONSUMER)) { in scmi_transport_setup()
3185 dev_info(dev, "Using %s\n", dev_driver_string(trans->supplier)); in scmi_transport_setup()
/linux/Documentation/driver-api/usb/
H A Dpersist.rst54 you can convince the BIOS supplier to fix the problem (lots of luck!).
/linux/drivers/ufs/core/
H A Dufshcd.c5462 * Device wlun is the supplier & rest of the luns are consumers. in ufshcd_setup_links()
5674 struct device *supplier = NULL; in ufshcd_sdev_destroy() local
5679 supplier = &hba->ufs_device_wlun->sdev_gendev; in ufshcd_sdev_destroy()
5680 get_device(supplier); in ufshcd_sdev_destroy()
5684 if (supplier) { in ufshcd_sdev_destroy()
5690 device_link_remove(&sdev->sdev_gendev, supplier); in ufshcd_sdev_destroy()
5691 put_device(supplier); in ufshcd_sdev_destroy()
6876 * resumed due to supplier runtime resume failure. This is to unblock in ufshcd_recover_pm_error()
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1813 fw_devlink= [KNL,EARLY] Create device links between consumer and supplier
1815 consumer/supplier relationships. This feature is
1818 (suppliers first, then consumers), supplier boot state