Lines Matching refs:pulses
31 atomic_t pulses;
49 atomic_inc(&ctx->pulses);
58 int pulses;
61 pulses = atomic_read(&ctx->pulses);
62 atomic_sub(pulses, &ctx->pulses);
63 ctx->rpm = (unsigned int)(pulses * 1000 * 60) /
352 of_property_read_u32(dev->of_node, "pulses-per-revolution", &ppr);
355 dev_err(dev, "pulses-per-revolution can't be zero.\n");