Searched refs:scale_bits (Results 1 – 3 of 3) sorted by relevance
247 int scale_bits; in ad4000_fill_scale_tbl() local255 scale_bits = chan->scan_type.realbits - 1; in ad4000_fill_scale_tbl()257 scale_bits = chan->scan_type.realbits; in ad4000_fill_scale_tbl()268 tmp2 = shift_right((u64)val * MICRO, scale_bits); in ad4000_fill_scale_tbl()
257 u8 scale_bits; member474 static unsigned long dfll_scale_dvco_rate(int scale_bits, in dfll_scale_dvco_rate() argument477 return (u64)dvco_rate * (scale_bits + 1) / DFLL_FREQ_REQ_SCALE_MAX; in dfll_scale_dvco_rate()839 req->scale_bits = DFLL_FREQ_REQ_SCALE_MAX - 1; in dfll_calculate_rate_request()850 req->scale_bits = scale - 1; in dfll_calculate_rate_request()863 req->rate = dfll_scale_dvco_rate(req->scale_bits, in dfll_calculate_rate_request()891 val |= req->scale_bits << DFLL_FREQ_REQ_SCALE_SHIFT; in dfll_set_frequency_request()
266 int scale_bits; member5358 val >>= param->scale_bits; in scarlett2_update_compressor_values()5411 scaled_val = val << param->scale_bits; in scarlett2_compressor_ctl_put()