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;
468 * @scale_bits: clock scaler value (bits in the DFLL_FREQ_REQ_SCALE field)
474 static unsigned long dfll_scale_dvco_rate(int scale_bits,
477 return (u64)dvco_rate * (scale_bits + 1) / DFLL_FREQ_REQ_SCALE_MAX;
822 * Populate the DFLL-rate-request record @req fields with the scale_bits
839 req->scale_bits = DFLL_FREQ_REQ_SCALE_MAX - 1;
850 req->scale_bits = scale - 1;
863 req->rate = dfll_scale_dvco_rate(req->scale_bits,
891 val |= req->scale_bits << DFLL_FREQ_REQ_SCALE_SHIFT;