Home
last modified time | relevance | path

Searched refs:runtime_suspend (Results 1 – 25 of 75) sorted by relevance

123

/linux/sound/soc/sof/
H A Dpm.c196 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 Dscsi_pm.c154 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 Druntime_pm.rst47 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 Dpci.rst297 .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 Dbundle.c114 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 Dpci-driver.c1300 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 Dnhi.h46 int (*runtime_suspend)(struct tb_nhi *nhi); member
H A Dnhi_ops.c182 .runtime_suspend = icl_nhi_suspend,
H A Ddomain.c601 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 Dhda-common-ops.c94 .runtime_suspend = hda_dsp_runtime_suspend,
/linux/sound/soc/mediatek/common/
H A Dmtk-base-afe.h111 int (*runtime_suspend)(struct device *dev); member
/linux/drivers/mmc/host/
H A Dsdhci-pci.h155 int (*runtime_suspend) (struct sdhci_pci_chip *); member
/linux/drivers/media/rc/
H A Dgpio-ir-recv.c189 .runtime_suspend = gpio_ir_recv_runtime_suspend,
/linux/include/linux/
H A Dpm.h308 int (*runtime_suspend)(struct device *dev); member
338 .runtime_suspend = suspend_fn, \
/linux/drivers/pci/pcie/
H A Dportdrv.c433 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 Dipa_power.c306 .runtime_suspend = ipa_runtime_suspend,
/linux/drivers/mmc/core/
H A Dcore.h26 int (*runtime_suspend)(struct mmc_host *); member
H A Dbus.c202 return host->bus_ops->runtime_suspend(host); in mmc_runtime_suspend()
/linux/drivers/gpu/vga/
H A Dvga_switcheroo.c1018 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 Dpci-txe.c329 dev->pg_domain.ops.runtime_suspend = mei_txe_pm_runtime_suspend; in mei_txe_set_pm_domain()
/linux/drivers/pci/hotplug/
H A Dpciehp_core.c366 .runtime_suspend = pciehp_runtime_suspend,
/linux/drivers/pcmcia/
H A Dds.c979 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 Dpci-acp3x.c300 .runtime_suspend = snd_acp3x_suspend,
/linux/sound/soc/amd/renoir/
H A Drn-pci-acp3x.c386 .runtime_suspend = snd_rn_acp_suspend,
/linux/drivers/pmdomain/
H A Dcore.c227 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()

123