Home
last modified time | relevance | path

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

/linux-6.15/drivers/hwmon/
H A Dpwm-fan.c52 u32 *pulses_per_revolution; member
93 (ctx->pulses_per_revolution[i] * delta); in sample_timer()
594 ctx->pulses_per_revolution = devm_kmalloc_array(dev, in pwm_fan_probe()
596 sizeof(*ctx->pulses_per_revolution), in pwm_fan_probe()
598 if (!ctx->pulses_per_revolution) in pwm_fan_probe()
603 ctx->pulses_per_revolution[i] = 2; in pwm_fan_probe()
606 ctx->pulses_per_revolution, ctx->tach_count); in pwm_fan_probe()
633 if (!ctx->pulses_per_revolution[i]) { in pwm_fan_probe()
641 i, tach->irq, ctx->pulses_per_revolution[i]); in pwm_fan_probe()