MCPcopy Create free account
hub / github.com/F-Stack/f-stack / soc_power_ctrl_set

Function soc_power_ctrl_set

freebsd/arm/mv/mv_common.c:656–664  ·  view source on GitHub ↗

* Set the power status of device. This feature is only supported on * Kirkwood and Discovery SoCs. */

Source from the content-addressed store, hash-verified

654 * Kirkwood and Discovery SoCs.
655 */
656void
657soc_power_ctrl_set(uint32_t mask)
658{
659
660#if !defined(SOC_MV_ORION)
661 if (mask != CPU_PM_CTRL_NONE)
662 write_cpu_ctrl(CPU_PM_CTRL, mask);
663#endif
664}
665
666void
667soc_id(uint32_t *dev, uint32_t *rev)

Callers 1

pm_disable_deviceFunction · 0.85

Calls 1

write_cpu_ctrlFunction · 0.85

Tested by

no test coverage detected