Home
last modified time | relevance | path

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

/drivers/base/
Dcore.c89 link->supplier = sup; in fwnode_link_add()
300 struct device *supplier) in device_link_init_status() argument
302 switch (supplier->links.status) { in device_link_init_status()
475 pm_request_idle(link->supplier); in device_link_release_fn()
478 put_device(link->supplier); in device_link_release_fn()
509 struct device *sup = link->supplier; in devlink_add_symlinks()
558 struct device *sup = link->supplier; in devlink_remove_symlinks()
672 struct device *supplier, u32 flags) in device_link_add() argument
676 if (!consumer || !supplier || consumer == supplier || in device_link_add()
687 if (pm_runtime_get_sync(supplier) < 0) { in device_link_add()
[all …]
/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()
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()
1746 pm_runtime_get_sync(link->supplier); in pm_runtime_get_suppliers()
1775 pm_runtime_put(link->supplier); in pm_runtime_put_suppliers()
1811 pm_request_idle(link->supplier); in pm_runtime_drop_link()
Dmain.c277 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers()
1180 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()
/drivers/power/supply/
Dpower_supply_core.c44 static bool __power_supply_is_supplied_by(struct power_supply *supplier, in __power_supply_is_supplied_by() argument
49 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
54 if (!supplier->desc->name) in __power_supply_is_supplied_by()
57 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
62 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
63 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
/drivers/scsi/ufs/
Dufshcd.c5181 struct device *supplier = NULL; in ufshcd_slave_destroy() local
5186 supplier = &hba->sdev_ufs_device->sdev_gendev; in ufshcd_slave_destroy()
5187 get_device(supplier); in ufshcd_slave_destroy()
5191 if (supplier) { in ufshcd_slave_destroy()
5197 device_link_remove(&sdev->sdev_gendev, supplier); in ufshcd_slave_destroy()
5198 put_device(supplier); in ufshcd_slave_destroy()
/drivers/pci/
Dquirks.c5437 unsigned int supplier, unsigned int class, in pci_create_device_link() argument
5447 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier)); in pci_create_device_link()