Lines Matching refs:pwm_fan_ctx
38 struct pwm_fan_ctx {
76 struct pwm_fan_ctx *ctx = from_timer(ctx, t, rpm_timer);
120 static int pwm_fan_switch_power(struct pwm_fan_ctx *ctx, bool on)
139 static int pwm_fan_power_on(struct pwm_fan_ctx *ctx)
169 static int pwm_fan_power_off(struct pwm_fan_ctx *ctx)
197 static int __set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm)
223 static int set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm)
234 static void pwm_fan_update_state(struct pwm_fan_ctx *ctx, unsigned long pwm)
245 static int pwm_fan_update_enable(struct pwm_fan_ctx *ctx, long val)
295 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev);
324 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev);
372 struct pwm_fan_ctx *ctx = cdev->devdata;
385 struct pwm_fan_ctx *ctx = cdev->devdata;
398 struct pwm_fan_ctx *ctx = cdev->devdata;
425 struct pwm_fan_ctx *ctx)
467 struct pwm_fan_ctx *ctx = __ctx;
479 struct pwm_fan_ctx *ctx;
648 struct pwm_fan_ctx *ctx = platform_get_drvdata(pdev);
655 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev);
662 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev);