Lines Matching defs:pwm_fan_ctx
39 struct pwm_fan_ctx { struct
40 struct device *dev;
42 struct mutex lock;
43 struct pwm_device *pwm;
44 struct pwm_state pwm_state;
45 struct regulator *reg_en;
46 enum pwm_fan_enable_mode enable_mode;
47 bool regulator_enabled;
48 bool enabled;
50 int tach_count;
51 struct pwm_fan_tach *tachs;
52 u32 *pulses_per_revolution;
53 ktime_t sample_start;
54 struct timer_list rpm_timer;
56 unsigned int pwm_value;
57 unsigned int pwm_fan_state;
81 struct pwm_fan_ctx *ctx = from_timer(ctx, t, rpm_timer); in sample_timer() argument