Lines Matching refs:CTX_IS_ENABLED
112 #define CTX_IS_ENABLED(c) ((c)->ctx_flags.state == PFM_CTX_ENABLED) macro
1501 if (!CTX_IS_ENABLED(ctx)) return -EINVAL; in pfm_write_pmcs()
1659 if (!CTX_IS_ENABLED(ctx)) return -EINVAL; in pfm_write_pmds()
1769 if (!CTX_IS_ENABLED(ctx)) { in pfm_read_pmds()
1977 if (!CTX_IS_ENABLED(ctx)) return -EINVAL; in pfm_restart()
2053 if (!CTX_IS_ENABLED(ctx)) return -EINVAL; in pfm_stop()
2095 if (!CTX_IS_ENABLED(ctx)) return -EINVAL; in pfm_disable()
2132 if (!CTX_IS_ENABLED(ctx)) goto skipped_stop; in pfm_context_destroy()
2412 if (!CTX_IS_ENABLED(ctx)) return -EINVAL; in pfm_write_ibrs()
2424 if (!CTX_IS_ENABLED(ctx)) return -EINVAL; in pfm_write_dbrs()
2456 if (!CTX_IS_ENABLED(ctx)) return -EINVAL; in pfm_start()