Lines Matching defs:div
113 unsigned int div;123 div = clk_get_rate(hw->clk) / hz;128 div = (div / 2) - 1;130 if (div < 0)131 div = 1;133 if (div > 255)134 div = 255;136 dev_dbg(&spi->dev, "setting pre-scaler to %d (hz %d)\n", div, hz);137 writeb(div, hw->regs + S3C2410_SPPRE);