Home
last modified time | relevance | path

Searched refs:scale_bits (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/iio/adc/
Dad4000.c247 int scale_bits; in ad4000_fill_scale_tbl() local
255 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()
/linux-6.12.1/drivers/clk/tegra/
Dclk-dfll.c257 u8 scale_bits; member
474 static unsigned long dfll_scale_dvco_rate(int scale_bits, in dfll_scale_dvco_rate() argument
477 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()
/linux-6.12.1/sound/usb/
Dmixer_scarlett2.c266 int scale_bits; member
5358 val >>= param->scale_bits; in scarlett2_update_compressor_values()
5411 scaled_val = val << param->scale_bits; in scarlett2_compressor_ctl_put()