Home
last modified time | relevance | path

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

/linux/drivers/iio/accel/
A Dsca3000.c634 int ret, base_freq, ctrlval; in sca3000_write_raw_samp_freq() local
644 ctrlval = ret & ~SCA3000_REG_OUT_CTRL_BUF_DIV_MASK; in sca3000_write_raw_samp_freq()
647 ctrlval |= SCA3000_REG_OUT_CTRL_BUF_DIV_2; in sca3000_write_raw_samp_freq()
649 ctrlval |= SCA3000_REG_OUT_CTRL_BUF_DIV_4; in sca3000_write_raw_samp_freq()
654 ctrlval); in sca3000_write_raw_samp_freq()
1178 int ret, ctrlval; in sca3000_motion_detect_set_state() local
1187 ctrlval = ret; in sca3000_motion_detect_set_state()
1189 if (state && !(ctrlval & sca3000_addresses[axis][2])) { in sca3000_motion_detect_set_state()
1192 ctrlval | in sca3000_motion_detect_set_state()
1197 } else if (!state && (ctrlval & sca3000_addresses[axis][2])) { in sca3000_motion_detect_set_state()
[all …]
/linux/include/linux/
A Dcpu.h217 extern int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval);
224 static inline int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval) { return 0; } in cpuhp_smt_disable() argument
/linux/kernel/
A Dcpu.c2212 int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval) in cpuhp_smt_disable() argument
2239 cpu_smt_control = ctrlval; in cpuhp_smt_disable()
2434 int ctrlval, ret; in __store_smt_control() local
2437 ctrlval = CPU_SMT_ENABLED; in __store_smt_control()
2439 ctrlval = CPU_SMT_DISABLED; in __store_smt_control()
2441 ctrlval = CPU_SMT_FORCE_DISABLED; in __store_smt_control()
2455 if (ctrlval != cpu_smt_control) { in __store_smt_control()
2456 switch (ctrlval) { in __store_smt_control()
2462 ret = cpuhp_smt_disable(ctrlval); in __store_smt_control()

Completed in 14 milliseconds