Searched refs:CTX_IS_ENABLED (Results 1 – 1 of 1) sorted by relevance
112 #define CTX_IS_ENABLED(c) ((c)->ctx_flags.state == PFM_CTX_ENABLED) macro1501 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()[all …]