/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-devlink | 7 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 D | sysfs-devices-supplier | 1 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 D | sysfs-devices-consumer | 6 links where this device is the supplier. <consumer> denotes the
|
/linux/Documentation/driver-api/ |
H A D | device_link.rst | 29 "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/drivers/base/ |
H A D | core.c | 53 * @sup: Supplier end of the link. 83 link->supplier = sup; in __fwnode_link_add() 114 link->consumer, link->supplier); in __fwnode_link_del() 129 link->consumer, link->supplier); in __fwnode_link_cycle() 134 * fwnode_links_purge_suppliers - Delete all supplier links of fwnode_handle. 135 * @fwnode: fwnode whose supplier links need to be deleted 137 * Deletes all supplier links connecting directly to @fwnode. 214 * @new_sup: fwnode of new supplier 221 * Otherwise, move its consumers to the new supplier @new_sup. 336 struct device *supplier) in device_link_init_status() argument [all …]
|
/linux/scripts/ |
H A D | dev-needs.sh | 119 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/include/linux/ |
H A D | device.h | 455 * @DL_STATE_DORMANT: None of the supplier/consumer drivers is present. 456 * @DL_STATE_AVAILABLE: The supplier driver is present, but the consumer is not. 457 * @DL_STATE_CONSUMER_PROBE: The consumer is probing (supplier driver present). 458 * @DL_STATE_ACTIVE: Both the supplier and consumer drivers are present. 459 * @DL_STATE_SUPPLIER_UNBIND: The supplier driver is unbinding. 476 * RPM_ACTIVE: Run pm_runtime_get_sync() on the supplier during link creation. 477 * AUTOREMOVE_SUPPLIER: Remove the link automatically on supplier driver unbind. 478 * AUTOPROBE_CONSUMER: Probe consumer driver automatically after supplier binds. 479 * MANAGED: The core tracks presence of supplier/consumer drivers (internal). 526 * @suppliers: List of links to supplier devices. [all …]
|
H A D | fwnode.h | 68 struct fwnode_handle *supplier; member
|
H A D | pm_domain.h | 30 * supplier and its PM domain when creating the
|
/linux/include/acpi/ |
H A D | acpi_bus.h | 301 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, 948 * given supplier 949 * @supplier: Pointer to the supplier's ACPI device 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))
|
/linux/drivers/base/power/ |
H A D | runtime.c | 296 retval = pm_runtime_get_sync(link->supplier); in rpm_get_suppliers() 299 pm_runtime_put_noidle(link->supplier); in rpm_get_suppliers() 308 * pm_runtime_release_supplier - Drop references to device link's supplier. 311 * Drop all runtime PM references associated with @link to its supplier device. 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() 1276 * error returned by the failing supplier activation will be returned in that [all …]
|
H A D | main.c | 263 * If the supplier goes away right after we've checked the link to it, in dpm_wait_for_suppliers() 271 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers() 1189 link->supplier->power.must_resume = true; in dpm_superior_set_must_resume() 1569 spin_lock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete() 1570 link->supplier->power.direct_complete = false; in dpm_clear_superiors_direct_complete() 1571 spin_unlock_irq(&link->supplier->power.lock); in dpm_clear_superiors_direct_complete()
|
/linux/drivers/firmware/arm_scmi/ |
H A D | common.h | 402 * @supplier: Device representing the transport and acting as a supplier for 409 struct device *supplier; member 435 strans.supplier = dev; \
|
H A D | driver.c | 2513 struct device *supplier) in scmi_device_link_add() argument 2517 link = device_link_add(consumer, supplier, DL_FLAG_AUTOREMOVE_CONSUMER); in scmi_device_link_add() 3037 if (!trans || !trans->desc || !trans->supplier || !trans->core_ops) in scmi_transport_setup() 3040 if (!device_link_add(dev, trans->supplier, DL_FLAG_AUTOREMOVE_CONSUMER)) { in scmi_transport_setup() 3042 "Adding link to supplier transport device failed\n"); in scmi_transport_setup() 3049 dev_info(dev, "Using %s\n", dev_driver_string(trans->supplier)); in scmi_transport_setup()
|
/linux/drivers/clk/ |
H A D | clk-conf.c | 165 * should be set to true if @node may be also a clock supplier of any clock 168 * determines the @node is also a supplier of any of the clocks.
|
/linux/drivers/acpi/ |
H A D | scan.c | 2047 dep->supplier = dep_devices->handles[i]; in acpi_scan_add_dep() 2431 * @handle: The ACPI handle of the supplier device 2450 if (dep->supplier == handle) { in acpi_walk_dep_device_list() 2463 * @supplier: Pointer to the supplier &struct acpi_device 2467 void acpi_dev_clear_dependencies(struct acpi_device *supplier) in acpi_dev_clear_dependencies() argument 2469 acpi_walk_dep_device_list(supplier->handle, acpi_scan_clear_dep, NULL); in acpi_dev_clear_dependencies() 2491 * acpi_dev_get_next_consumer_dev - Return the next adev dependent on @supplier 2492 * @supplier: Pointer to the dependee device 2496 * @supplier via the _DEP buffer, parsed from the acpi_dep_list. 2501 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier, in acpi_dev_get_next_consumer_dev() argument [all …]
|
/linux/drivers/of/ |
H A D | property.c | 1091 * supplier(s) 1145 * supplier(s) 1184 * parse_prop() finds the node corresponding to a supplier phandle 1185 * parse_prop.np: Pointer to device node holding supplier phandle property 1192 * @optional: Describes whether a supplier is mandatory or not 1420 * return. of_link_property() must create links to all the available supplier
|
/linux/drivers/power/supply/ |
H A D | power_supply_core.c | 43 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/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | ixgbe.rst | 49 | Supplier | Type | Part Numbers | 72 | Supplier | Type | Part Numbers | 122 | Supplier | Type | Part Numbers | 146 | Supplier | Type | Part Numbers |
|
/linux/Documentation/driver-api/usb/ |
H A D | persist.rst | 54 you can convince the BIOS supplier to fix the problem (lots of luck!).
|
/linux/drivers/platform/x86/intel/int3472/ |
H A D | clk_and_regulator.c | 221 * The INT3472 device is going to be the only supplier of a regulator for
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator.yaml | 228 A regulator should not be coupled with its supplier.
|
/linux/drivers/usb/serial/ |
H A D | kl5kusb105.c | 12 * Neither Palm, nor their contractor (MCCI) or their supplier (KLSI) provided
|
/linux/LICENSES/dual/ |
H A D | CDDL-1.0 | 312 SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY
|
/linux/drivers/phy/ti/ |
H A D | phy-tusb1210.c | 224 * the start of the supplier -> supplied-to chain, power_supply_am_i_supplied()
|