Home
last modified time | relevance | path

Searched full:supplier (Results 1 – 25 of 46) sorted by relevance

12

/Linux-v6.1/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
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/base/
Dcore.c62 * @sup: Supplier end of the link.
93 link->supplier = sup; in fwnode_link_add()
117 link->consumer, link->supplier); in __fwnode_link_del()
124 * fwnode_links_purge_suppliers - Delete all supplier links of fwnode_handle.
125 * @fwnode: fwnode whose supplier links need to be deleted
127 * Deletes all supplier links connecting directly to @fwnode.
316 struct device *supplier) in device_link_init_status() argument
318 switch (supplier->links.status) { in device_link_init_status()
323 * A consumer driver can create a link to a supplier in device_link_init_status()
325 * knows that the supplier is already functional (for in device_link_init_status()
[all …]
/Linux-v6.1/scripts/
Ddev-needs.sh119 SUPPLIER_LINKS=$(ls -1d $CON/supplier:* 2>/dev/null)
131 SUPPLIER=$(realpath $SL/supplier)
133 if [ ! -e $SUPPLIER/driver -a ${ALLOW_NO_DRIVER} -eq 0 ]
138 CONSUMERS+=($SUPPLIER)
139 OUT_LIST+=(${CON} ${SUPPLIER})
268 # considered a "supplier" as a device can't probe without its parent.
/Linux-v6.1/include/linux/
Ddevice.h293 * @DL_STATE_DORMANT: None of the supplier/consumer drivers is present.
294 * @DL_STATE_AVAILABLE: The supplier driver is present, but the consumer is not.
295 * @DL_STATE_CONSUMER_PROBE: The consumer is probing (supplier driver present).
296 * @DL_STATE_ACTIVE: Both the supplier and consumer drivers are present.
297 * @DL_STATE_SUPPLIER_UNBIND: The supplier driver is unbinding.
314 * RPM_ACTIVE: Run pm_runtime_get_sync() on the supplier during link creation.
315 * AUTOREMOVE_SUPPLIER: Remove the link automatically on supplier driver unbind.
316 * AUTOPROBE_CONSUMER: Probe consumer driver automatically after supplier binds.
317 * MANAGED: The core tracks presence of supplier/consumer drivers (internal).
363 * @suppliers: List of links to supplier devices.
[all …]
Dfwnode.h50 struct fwnode_handle *supplier; member
/Linux-v6.1/include/acpi/
Dacpi_bus.h287 acpi_handle supplier; member
743 void acpi_dev_clear_dependencies(struct acpi_device *supplier);
745 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier,
750 * given supplier
751 * @supplier: Pointer to the supplier's ACPI device
754 #define for_each_acpi_consumer_dev(supplier, consumer) \ argument
755 for (consumer = acpi_dev_get_next_consumer_dev(supplier, NULL); \
757 consumer = acpi_dev_get_next_consumer_dev(supplier, consumer))
/Linux-v6.1/drivers/of/
Dproperty.c1110 * of_link_to_phandle - Add fwnode link to supplier from supplier phandle
1112 * @sup_np: supplier device tree node
1114 * Given a phandle to a supplier device tree node (@sup_np), this function
1115 * finds the device that owns the supplier device tree node and creates a
1116 * device link from @dev consumer device to the supplier device. This function
1122 * - 0 if fwnode link successfully created to supplier
1123 * - -EINVAL if the supplier link is invalid and should not be created
1124 * - -ENODEV if struct device will never be create for supplier
1133 * Find the device node that contains the supplier phandle. It may be in of_link_to_phandle()
1184 * supplier(s)
[all …]
/Linux-v6.1/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()
309 * pm_runtime_release_supplier - Drop references to device link's supplier.
312 * Drop all runtime PM references associated with @link to its supplier device.
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()
1233 * error returned by the failing supplier activation will be returned in that
[all …]
Dmain.c264 * If the supplier goes away right after we've checked the link to it, in dpm_wait_for_suppliers()
272 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-v6.1/drivers/staging/wlan-ng/
Dprism2sta.c670 /* Compatibility range, Modem supplier */ in prism2sta_getcardinfo()
679 /* get all the Compatibility range, modem interface supplier in prism2sta_getcardinfo()
694 /* Compatibility range, Controller supplier */ in prism2sta_getcardinfo()
703 /* get all the Compatibility range, controller interface supplier in prism2sta_getcardinfo()
718 /* Compatibility range, Primary f/w supplier */ in prism2sta_getcardinfo()
727 /* get all the Compatibility range, primary firmware supplier in prism2sta_getcardinfo()
742 /* Compatibility range, Station f/w supplier */ in prism2sta_getcardinfo()
751 /* get all the Compatibility range, station firmware supplier in prism2sta_getcardinfo()
774 /* Compatibility range, primary f/w actor, CFI supplier */ in prism2sta_getcardinfo()
783 /* get all the Compatibility range, primary f/w actor, CFI supplier in prism2sta_getcardinfo()
[all …]
/Linux-v6.1/drivers/clk/
Dclk-conf.c126 * should be set to true if @node may be also a clock supplier of any clock
129 * determines the @node is also a supplier of any of the clocks.
/Linux-v6.1/drivers/firmware/arm_scmi/
Dbus.c219 void scmi_device_link_add(struct device *consumer, struct device *supplier) in scmi_device_link_add() argument
223 link = device_link_add(consumer, supplier, DL_FLAG_AUTOREMOVE_CONSUMER); in scmi_device_link_add()
Dcommon.h100 void scmi_device_link_add(struct device *consumer, struct device *supplier);
140 * @link_supplier: Optional callback to add link to a supplier device
/Linux-v6.1/drivers/acpi/
Dscan.c2017 dep->supplier = dep_devices.handles[i]; in acpi_scan_check_dep()
2319 * @handle: The ACPI handle of the supplier device
2338 if (dep->supplier == handle) { in acpi_walk_dep_device_list()
2351 * @supplier: Pointer to the supplier &struct acpi_device
2355 void acpi_dev_clear_dependencies(struct acpi_device *supplier) in acpi_dev_clear_dependencies() argument
2357 acpi_walk_dep_device_list(supplier->handle, acpi_scan_clear_dep, NULL); in acpi_dev_clear_dependencies()
2379 * acpi_dev_get_next_consumer_dev - Return the next adev dependent on @supplier
2380 * @supplier: Pointer to the dependee device
2384 * @supplier via the _DEP buffer, parsed from the acpi_dep_list.
2389 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier, in acpi_dev_get_next_consumer_dev() argument
[all …]
/Linux-v6.1/drivers/power/supply/
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-v6.1/Documentation/networking/device_drivers/ethernet/intel/
Dixgbe.rst49 | Supplier | Type | Part Numbers |
72 | Supplier | Type | Part Numbers |
122 | Supplier | Type | Part Numbers |
146 | Supplier | Type | Part Numbers |
/Linux-v6.1/Documentation/driver-api/usb/
Dpersist.rst54 you can convince the BIOS supplier to fix the problem (lots of luck!).
/Linux-v6.1/Documentation/devicetree/bindings/regulator/
Dregulator.yaml215 A regulator should not be coupled with its supplier.
/Linux-v6.1/drivers/platform/surface/
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-v6.1/drivers/media/pci/intel/ipu3/
Dcio2-bridge.c370 * on -EPROBE_DEFER for this, since the consumer<->supplier relations between
/Linux-v6.1/drivers/usb/serial/
Dkl5kusb105.c12 * Neither Palm, nor their contractor (MCCI) or their supplier (KLSI) provided
/Linux-v6.1/drivers/phy/ti/
Dphy-tusb1210.c219 * the start of the supplier -> supplied-to chain, power_supply_am_i_supplied()

12