Lines Matching defs:scale_bits
250 * @scale_bits: value to program to the SCALE bits of the DFLL_FREQ_REQ register
257 u8 scale_bits;
467 * @scale_bits: clock scaler value (bits in the DFLL_FREQ_REQ_SCALE field)
473 static unsigned long dfll_scale_dvco_rate(int scale_bits,
476 return (u64)dvco_rate * (scale_bits + 1) / DFLL_FREQ_REQ_SCALE_MAX;
821 * Populate the DFLL-rate-request record @req fields with the scale_bits
838 req->scale_bits = DFLL_FREQ_REQ_SCALE_MAX - 1;
849 req->scale_bits = scale - 1;
862 req->rate = dfll_scale_dvco_rate(req->scale_bits,
890 val |= req->scale_bits << DFLL_FREQ_REQ_SCALE_SHIFT;