Lines Matching refs:state
35 static inline void ctr_set_enable(u64 *state, int ctr_set) in ctr_set_enable() argument
37 *state |= cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ENABLE_SHIFT; in ctr_set_enable()
39 static inline void ctr_set_disable(u64 *state, int ctr_set) in ctr_set_disable() argument
41 *state &= ~(cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ENABLE_SHIFT); in ctr_set_disable()
43 static inline void ctr_set_start(u64 *state, int ctr_set) in ctr_set_start() argument
45 *state |= cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ACTCTL_SHIFT; in ctr_set_start()
47 static inline void ctr_set_stop(u64 *state, int ctr_set) in ctr_set_stop() argument
49 *state &= ~(cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ACTCTL_SHIFT); in ctr_set_stop()
52 static inline void ctr_set_multiple_enable(u64 *state, u64 ctrsets) in ctr_set_multiple_enable() argument
54 *state |= ctrsets << CPUMF_LCCTL_ENABLE_SHIFT; in ctr_set_multiple_enable()
57 static inline void ctr_set_multiple_disable(u64 *state, u64 ctrsets) in ctr_set_multiple_disable() argument
59 *state &= ~(ctrsets << CPUMF_LCCTL_ENABLE_SHIFT); in ctr_set_multiple_disable()
62 static inline void ctr_set_multiple_start(u64 *state, u64 ctrsets) in ctr_set_multiple_start() argument
64 *state |= ctrsets << CPUMF_LCCTL_ACTCTL_SHIFT; in ctr_set_multiple_start()
67 static inline void ctr_set_multiple_stop(u64 *state, u64 ctrsets) in ctr_set_multiple_stop() argument
69 *state &= ~(ctrsets << CPUMF_LCCTL_ACTCTL_SHIFT); in ctr_set_multiple_stop()
95 u64 state, tx_state; member