| 349 | }; |
| 350 | |
| 351 | static __inline int |
| 352 | pm_is_disabled(uint32_t mask) |
| 353 | { |
| 354 | #if SOC_MV_POWER_STAT_SUPPORTED |
| 355 | return (soc_power_ctrl_get(mask) == mask ? 0 : 1); |
| 356 | #else |
| 357 | return (0); |
| 358 | #endif |
| 359 | } |
| 360 | |
| 361 | /* |
| 362 | * Disable device using power management register. |
no test coverage detected