Home
last modified time | relevance | path

Searched refs:ctrlval (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/include/linux/
Dcpu_smt.h21 extern int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval);
30 static inline int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval) { return 0; } in cpuhp_smt_disable() argument
/linux-6.12.1/drivers/iio/accel/
Dsca3000.c641 int ret, base_freq, ctrlval; in sca3000_write_raw_samp_freq() local
651 ctrlval = ret & ~SCA3000_REG_OUT_CTRL_BUF_DIV_MASK; in sca3000_write_raw_samp_freq()
654 ctrlval |= SCA3000_REG_OUT_CTRL_BUF_DIV_2; in sca3000_write_raw_samp_freq()
656 ctrlval |= SCA3000_REG_OUT_CTRL_BUF_DIV_4; in sca3000_write_raw_samp_freq()
661 ctrlval); in sca3000_write_raw_samp_freq()
1187 int ret, ctrlval; in sca3000_motion_detect_set_state() local
1196 ctrlval = ret; in sca3000_motion_detect_set_state()
1198 if (state && !(ctrlval & sca3000_addresses[axis][2])) { in sca3000_motion_detect_set_state()
1201 ctrlval | in sca3000_motion_detect_set_state()
1206 } else if (!state && (ctrlval & sca3000_addresses[axis][2])) { in sca3000_motion_detect_set_state()
[all …]
/linux-6.12.1/kernel/
Dcpu.c2670 int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval) in cpuhp_smt_disable() argument
2682 if (ctrlval == CPU_SMT_ENABLED && cpu_smt_thread_allowed(cpu)) in cpuhp_smt_disable()
2703 cpu_smt_control = ctrlval; in cpuhp_smt_disable()
2917 int ctrlval, ret, num_threads, orig_threads; in __store_smt_control() local
2927 ctrlval = CPU_SMT_ENABLED; in __store_smt_control()
2930 ctrlval = CPU_SMT_DISABLED; in __store_smt_control()
2933 ctrlval = CPU_SMT_FORCE_DISABLED; in __store_smt_control()
2937 ctrlval = CPU_SMT_DISABLED; in __store_smt_control()
2939 ctrlval = CPU_SMT_ENABLED; in __store_smt_control()
2953 force_off = ctrlval != cpu_smt_control && ctrlval == CPU_SMT_FORCE_DISABLED; in __store_smt_control()
[all …]