Lines Matching defs:ctx

76 	struct pwm_fan_ctx *ctx = from_timer(ctx, t, rpm_timer);  in sample_timer()  local
120 static int pwm_fan_switch_power(struct pwm_fan_ctx *ctx, bool on) in pwm_fan_switch_power()
139 static int pwm_fan_power_on(struct pwm_fan_ctx *ctx) in pwm_fan_power_on()
169 static int pwm_fan_power_off(struct pwm_fan_ctx *ctx) in pwm_fan_power_off()
197 static int __set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm) in __set_pwm()
223 static int set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm) in set_pwm()
234 static void pwm_fan_update_state(struct pwm_fan_ctx *ctx, unsigned long pwm) in pwm_fan_update_state()
245 static int pwm_fan_update_enable(struct pwm_fan_ctx *ctx, long val) in pwm_fan_update_enable()
295 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev); in pwm_fan_write() local
324 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev); in pwm_fan_read() local
372 struct pwm_fan_ctx *ctx = cdev->devdata; in pwm_fan_get_max_state() local
385 struct pwm_fan_ctx *ctx = cdev->devdata; in pwm_fan_get_cur_state() local
398 struct pwm_fan_ctx *ctx = cdev->devdata; in pwm_fan_set_cur_state() local
425 struct pwm_fan_ctx *ctx) in pwm_fan_of_get_cooling_data()
467 struct pwm_fan_ctx *ctx = __ctx; in pwm_fan_cleanup() local
479 struct pwm_fan_ctx *ctx; in pwm_fan_probe() local
648 struct pwm_fan_ctx *ctx = platform_get_drvdata(pdev); in pwm_fan_shutdown() local
655 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev); in pwm_fan_suspend() local
662 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev); in pwm_fan_resume() local