| /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 | 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() 336 struct device *supplier) in device_link_init_status() argument 338 switch (supplier->links.status) { in device_link_init_status() 517 pm_runtime_put_noidle(link->supplier); in device_link_release_fn() 519 pm_request_idle(link->supplier); in device_link_release_fn() 522 put_device(link->supplier); in device_link_release_fn() 565 struct device *sup = link->supplier; in devlink_add_symlinks() 612 struct device *sup = link->supplier; in devlink_remove_symlinks() [all …]
|
| /linux/drivers/base/power/ |
| H A D | runtime.c | 308 retval = pm_runtime_get_sync(link->supplier); in rpm_get_suppliers() 311 pm_runtime_put_noidle(link->supplier); in rpm_get_suppliers() 327 struct device *supplier = link->supplier; in pm_runtime_release_supplier() local 336 atomic_read(&supplier->power.usage_count) > 0) in pm_runtime_release_supplier() 337 pm_runtime_put_noidle(supplier); in pm_runtime_release_supplier() 348 pm_request_idle(link->supplier); in __rpm_put_suppliers() 364 pm_request_idle(link->supplier); in rpm_suspend_suppliers() 1915 pm_runtime_get_sync(link->supplier); in pm_runtime_get_suppliers() 1936 pm_runtime_put(link->supplier); in pm_runtime_put_suppliers() 1972 pm_request_idle(link->supplier); in pm_runtime_drop_link()
|
| /linux/drivers/firmware/arm_scmi/ |
| H A D | common.h | 471 struct device *supplier; member 497 strans.supplier = dev; \
|
| /linux/drivers/power/supply/ |
| H A D | power_supply_core.c | 42 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 D | device.h | 689 struct device *supplier; member 1182 struct device *supplier, u32 flags); 1184 void device_link_remove(void *consumer, struct device *supplier);
|
| H A D | fwnode.h | 73 struct fwnode_handle *supplier; member
|
| /linux/scripts/ |
| H A D | dev-needs.sh | 131 SUPPLIER=$(realpath $SL/supplier)
|
| /linux/drivers/acpi/ |
| H A D | scan.c | 2036 dep->supplier = dep_devices->handles[i]; in acpi_scan_add_dep() 2457 if (dep->supplier == handle) { in acpi_walk_dep_device_list() 2474 void acpi_dev_clear_dependencies(struct acpi_device *supplier) in acpi_dev_clear_dependencies() argument 2476 acpi_walk_dep_device_list(supplier->handle, acpi_scan_clear_dep, NULL); in acpi_dev_clear_dependencies() 2508 struct acpi_device *acpi_dev_get_next_consumer_dev(struct acpi_device *supplier, in acpi_dev_get_next_consumer_dev() argument 2513 acpi_walk_dep_device_list(supplier->handle, in acpi_dev_get_next_consumer_dev()
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | ulcb-kf-audio-graph-card2-mix+split.dtsi | 61 non-supplier;
|
| /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/ufs/core/ |
| H A D | ufshcd.c | 5368 struct device *supplier = NULL; in ufshcd_sdev_destroy() local 5373 supplier = &hba->ufs_device_wlun->sdev_gendev; in ufshcd_sdev_destroy() 5374 get_device(supplier); in ufshcd_sdev_destroy() 5378 if (supplier) { in ufshcd_sdev_destroy() 5384 device_link_remove(&sdev->sdev_gendev, supplier); in ufshcd_sdev_destroy() 5385 put_device(supplier); in ufshcd_sdev_destroy()
|
| /linux/drivers/pci/ |
| H A D | quirks.c | 5736 unsigned int supplier, unsigned int class, in pci_create_device_link() argument 5746 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier)); in pci_create_device_link()
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 1832 fw_devlink= [KNL,EARLY] Create device links between consumer and supplier 1834 consumer/supplier relationships. This feature is 1837 (suppliers first, then consumers), supplier boot state
|