Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dpwm-fan.c51 u32 *pulses_per_revolution; member
89 (ctx->pulses_per_revolution[i] * delta); in sample_timer()
566 ctx->pulses_per_revolution = devm_kmalloc_array(dev, in pwm_fan_probe()
568 sizeof(*ctx->pulses_per_revolution), in pwm_fan_probe()
570 if (!ctx->pulses_per_revolution) in pwm_fan_probe()
575 ctx->pulses_per_revolution[i] = 2; in pwm_fan_probe()
578 ctx->pulses_per_revolution, ctx->tach_count); in pwm_fan_probe()
605 if (!ctx->pulses_per_revolution[i]) { in pwm_fan_probe()
613 i, tach->irq, ctx->pulses_per_revolution[i]); in pwm_fan_probe()