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
93 (ctx->pulses_per_revolution[i] * delta); in sample_timer()
606 ctx->pulses_per_revolution = devm_kmalloc_array(dev, in pwm_fan_probe()
608 sizeof(*ctx->pulses_per_revolution), in pwm_fan_probe()
610 if (!ctx->pulses_per_revolution) in pwm_fan_probe()
615 ctx->pulses_per_revolution[i] = 2; in pwm_fan_probe()
618 ctx->pulses_per_revolution, ctx->tach_count); in pwm_fan_probe()
641 if (!ctx->pulses_per_revolution[i]) { in pwm_fan_probe()
649 i, tach->irq, ctx->pulses_per_revolution[i]); in pwm_fan_probe()