/linux/sound/soc/sof/ |
H A D | pm.c | 196 static int sof_suspend(struct device *dev, bool runtime_suspend) in sof_suspend() argument 207 if (!runtime_suspend && !sof_ops(sdev)->suspend) in sof_suspend() 210 if (runtime_suspend && !sof_ops(sdev)->runtime_suspend) in sof_suspend() 225 if (!runtime_suspend) { in sof_suspend() 249 if (runtime_suspend) in sof_suspend() 276 if (runtime_suspend) in sof_suspend()
|
/linux/drivers/scsi/ |
H A D | scsi_pm.c | 154 if (pm && pm->runtime_suspend) in sdev_runtime_suspend() 155 err = pm->runtime_suspend(dev); in sdev_runtime_suspend() 270 .runtime_suspend = scsi_runtime_suspend,
|
/linux/Documentation/power/ |
H A D | runtime_pm.rst | 47 int (*runtime_suspend)(struct device *dev); 53 The ->runtime_suspend(), ->runtime_resume() and ->runtime_idle() callbacks 79 the PM core that it is safe to run the ->runtime_suspend(), ->runtime_resume() 88 include executing the device driver's own ->runtime_suspend() callback (from the 89 PM core's point of view it is not necessary to implement a ->runtime_suspend() 115 device, then ->runtime_suspend() should return -EBUSY. On the other hand, if 166 ->runtime_suspend() in parallel with ->runtime_resume() or with another 167 instance of ->runtime_suspend() for the same device) with the exception that 168 ->runtime_suspend() or ->runtime_resume() can be executed in parallel with 172 (2) ->runtime_idle() and ->runtime_suspend() can only be executed for 'active' [all …]
|
H A D | pci.rst | 297 .runtime_suspend = pci_pm_runtime_suspend, 378 driver has to provide a pm->runtime_suspend() callback (see below), which is 392 It is expected that the device driver's pm->runtime_suspend() callback will 936 3.1.15. runtime_suspend() 939 The runtime_suspend() callback is specific to device runtime power management 972 cause the driver's runtime_suspend() callback to be executed. 990 and the .runtime_suspend() pointer to pm_runtime_force_suspend(). 1053 runtime_suspend() and runtime_resume() callbacks. It also may need to implement 1056 (alternatively, the runtime_suspend() callback will have to check if the 1077 It is important to remember that the driver's runtime_suspend() callback
|
/linux/drivers/greybus/ |
H A D | bundle.c | 114 if (pm && pm->runtime_suspend) { in gb_bundle_suspend() 115 ret = pm->runtime_suspend(&bundle->dev); in gb_bundle_suspend()
|
/linux/drivers/pci/ |
H A D | pci-driver.c | 1300 if (pm && pm->runtime_suspend) { in pci_pm_runtime_suspend() 1301 error = pm->runtime_suspend(dev); in pci_pm_runtime_suspend() 1309 pm->runtime_suspend, error); in pci_pm_runtime_suspend() 1313 pm->runtime_suspend, error); in pci_pm_runtime_suspend() 1320 if (pm && pm->runtime_suspend in pci_pm_runtime_suspend() 1325 pm->runtime_suspend); in pci_pm_runtime_suspend() 1403 .runtime_suspend = pci_pm_runtime_suspend,
|
/linux/drivers/thunderbolt/ |
H A D | nhi.h | 46 int (*runtime_suspend)(struct tb_nhi *nhi); member
|
H A D | nhi_ops.c | 182 .runtime_suspend = icl_nhi_suspend,
|
H A D | domain.c | 601 if (tb->cm_ops->runtime_suspend) { in tb_domain_runtime_suspend() 602 int ret = tb->cm_ops->runtime_suspend(tb); in tb_domain_runtime_suspend()
|
/linux/sound/soc/sof/intel/ |
H A D | hda-common-ops.c | 94 .runtime_suspend = hda_dsp_runtime_suspend,
|
/linux/sound/soc/mediatek/common/ |
H A D | mtk-base-afe.h | 111 int (*runtime_suspend)(struct device *dev); member
|
/linux/drivers/mmc/host/ |
H A D | sdhci-pci.h | 155 int (*runtime_suspend) (struct sdhci_pci_chip *); member
|
/linux/drivers/media/rc/ |
H A D | gpio-ir-recv.c | 189 .runtime_suspend = gpio_ir_recv_runtime_suspend,
|
/linux/include/linux/ |
H A D | pm.h | 308 int (*runtime_suspend)(struct device *dev); member 338 .runtime_suspend = suspend_fn, \
|
/linux/drivers/pci/pcie/ |
H A D | portdrv.c | 433 size_t off = offsetof(struct pcie_port_service_driver, runtime_suspend); in pcie_port_device_runtime_suspend() 664 .runtime_suspend = pcie_port_runtime_suspend,
|
/linux/drivers/net/ipa/ |
H A D | ipa_power.c | 306 .runtime_suspend = ipa_runtime_suspend,
|
/linux/drivers/mmc/core/ |
H A D | core.h | 26 int (*runtime_suspend)(struct mmc_host *); member
|
H A D | bus.c | 202 return host->bus_ops->runtime_suspend(host); in mmc_runtime_suspend()
|
/linux/drivers/gpu/vga/ |
H A D | vga_switcheroo.c | 1018 ret = dev->bus->pm->runtime_suspend(dev); in vga_switcheroo_runtime_suspend() 1062 domain->ops.runtime_suspend = vga_switcheroo_runtime_suspend; in vga_switcheroo_init_domain_pm_ops()
|
/linux/drivers/misc/mei/ |
H A D | pci-txe.c | 329 dev->pg_domain.ops.runtime_suspend = mei_txe_pm_runtime_suspend; in mei_txe_set_pm_domain()
|
/linux/drivers/pci/hotplug/ |
H A D | pciehp_core.c | 366 .runtime_suspend = pciehp_runtime_suspend,
|
/linux/drivers/pcmcia/ |
H A D | ds.c | 979 static int runtime_suspend(struct device *dev) in runtime_suspend() function 1066 ret = runtime_suspend(dev); in pm_state_store() 1222 return runtime_suspend(dev); in pcmcia_bus_suspend_callback()
|
/linux/sound/soc/amd/raven/ |
H A D | pci-acp3x.c | 300 .runtime_suspend = snd_acp3x_suspend,
|
/linux/sound/soc/amd/renoir/ |
H A D | rn-pci-acp3x.c | 386 .runtime_suspend = snd_rn_acp_suspend,
|
/linux/drivers/pmdomain/ |
H A D | core.c | 227 if (dev->pm_domain->ops.runtime_suspend == genpd_runtime_suspend) in dev_to_genpd_safe() 1168 cb = dev->type->pm->runtime_suspend; in __genpd_runtime_suspend() 1170 cb = dev->class->pm->runtime_suspend; in __genpd_runtime_suspend() 1172 cb = dev->bus->pm->runtime_suspend; in __genpd_runtime_suspend() 1177 cb = dev->driver->pm->runtime_suspend; in __genpd_runtime_suspend() 2403 genpd->domain.ops.runtime_suspend = genpd_runtime_suspend; in pm_genpd_init()
|