Home
last modified time | relevance | path

Searched defs:scale (Results 1 – 25 of 204) sorted by relevance

123456789

/linux-6.6.21/drivers/iio/adc/
Dsc27xx_adc.c220 static int sc2720_adc_get_ratio(int channel, int scale) in sc2720_adc_get_ratio()
281 static int sc2721_adc_get_ratio(int channel, int scale) in sc2721_adc_get_ratio()
308 static int sc2730_adc_get_ratio(int channel, int scale) in sc2730_adc_get_ratio()
382 static int sc2731_adc_get_ratio(int channel, int scale) in sc2731_adc_get_ratio()
485 int scale, int *val) in sc27xx_adc_read()
584 static void sc27xx_adc_volt_ratio(struct sc27xx_adc_data *data, int channel, int scale, in sc27xx_adc_volt_ratio()
617 int scale, int raw_adc) in sc27xx_adc_convert_volt()
647 int channel, int scale, int *val) in sc27xx_adc_read_processed()
664 int scale = data->channel_scale[chan->channel]; in sc27xx_adc_read_raw() local
Dhx711.c31 int scale; member
69 static int hx711_get_scale_to_gain(int scale) in hx711_get_scale_to_gain()
/linux-6.6.21/drivers/media/platform/verisilicon/
Dhantro_jpeg.c275 static unsigned char jpeg_scale_qp(const unsigned char qp, int scale) in jpeg_scale_qp()
291 const unsigned char *tab, int scale) in jpeg_scale_quant_table()
306 int scale; in jpeg_set_quality() local
/linux-6.6.21/drivers/gpu/drm/i2c/
Dch7006_mode.c106 subc, scale, scale_mask, norm_mask, e_hd, e_vd) { \ argument
135 subc, scale, scale_mask, norm_mask) \ argument
335 uint64_t scale, aspect; in ch7006_setup_properties() local
/linux-6.6.21/drivers/iio/
Dindustrialio-gts-helper.c34 static int iio_gts_get_gain(const u64 max, const u64 scale) in iio_gts_get_gain()
73 static int gain_get_scale_fraction(const u64 max, u64 scale, int known, in gain_get_scale_fraction()
944 u64 *scale) in iio_gts_get_scale_linear()
1015 u64 scale; in iio_gts_find_new_gain_sel_by_old_gain_time() local
1072 u64 scale; in iio_gts_find_new_gain_by_old_gain_time() local
/linux-6.6.21/arch/powerpc/kernel/
Dvecemu.c157 static int ctsxs(unsigned int x, int scale, unsigned int *vscrp) in ctsxs()
179 static unsigned int ctuxs(unsigned int x, int scale, unsigned int *vscrp) in ctuxs()
/linux-6.6.21/arch/arm64/include/asm/
Dtlbflush.h137 #define __TLBI_VADDR_RANGE(addr, asid, scale, num, ttl) \ argument
150 #define __TLBI_RANGE_PAGES(num, scale) \ argument
159 #define __TLBI_RANGE_NUM(pages, scale) \ argument
/linux-6.6.21/drivers/iio/light/
Dzopt2201.c84 unsigned int scale; /* micro lux per count */ member
95 unsigned int scale; /* micro W/m2 per count */ member
117 unsigned int scale, uscale; /* scale factor as integer + micro */ member
146 unsigned int scale, uscale; /* scale factor as integer + micro */ member
Disl29018.c71 unsigned int scale; member
87 struct isl29018_scale scale; member
130 static int isl29018_set_scale(struct isl29018_chip *chip, int scale, int uscale) in isl29018_set_scale()
/linux-6.6.21/drivers/hwmon/
Dscpi-hwmon.c19 unsigned int scale; member
138 const u32 *scale; in scpi_hwmon_probe() local
/linux-6.6.21/drivers/iio/pressure/
Dmprls0025pa.c111 int scale; /* int part of scale */ member
325 s64 scale, offset; in mpr_probe() local
/linux-6.6.21/drivers/iio/dac/
Dmcp4728.c300 static void mcp4728_get_scale_avail(enum mcp4728_scale scale, in mcp4728_get_scale_avail()
341 int scale = mcp4728_find_matching_scale(data, val, val2); in mcp4728_set_scale() local
404 static void mcp4728_init_scale_avail(enum mcp4728_scale scale, int vref_mv, in mcp4728_init_scale_avail()
Dad5766.c24 #define AD5766_DITHER_SCALE(ch, scale) (scale << (ch * 2)) argument
325 u32 scale; in ad5766_get_dither_scale() local
334 unsigned int scale) in ad5766_set_dither_scale()
/linux-6.6.21/arch/x86/include/asm/
Dresctrl.h84 unsigned int scale = boot_cpu_data.x86_cache_occ_scale; in resctrl_arch_round_mon_val() local
/linux-6.6.21/drivers/iio/afe/
Diio-rescale.c112 int rescale_process_offset(struct rescale *rescale, int scale_type, in rescale_process_offset()
151 int scale, scale2; in rescale_read_raw() local
/linux-6.6.21/arch/mips/alchemy/common/
Dclock.c377 int scale, int maxdiv, unsigned long *rv) in alchemy_calc_div()
403 int scale, int maxdiv) in alchemy_clk_fgcs_detr()
713 int scale, maxdiv; in alchemy_clk_fgv2_detr() local
930 int scale = c->dt[2] == 3 ? 1 : 2; /* au1300 check */ in alchemy_clk_csrc_detr() local
/linux-6.6.21/include/clocksource/
Dhyperv_timer.h45 u64 scale, offset; in hv_read_tsc_page_tsc() local
/linux-6.6.21/drivers/tty/serial/
Dar933x_uart.c237 unsigned int scale, in ar933x_uart_get_baud()
254 unsigned int *scale, in ar933x_uart_get_scale_step()
292 unsigned int baud, scale, step; in ar933x_uart_set_termios() local
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/ob/ob_1.0/
Dia_css_ob.host.c55 unsigned int scale = 16 - ob_bit_depth; in ia_css_ob_encode() local
/linux-6.6.21/drivers/gpu/drm/sun4i/
Dsun8i_ui_scaler.c108 unsigned int scale, int_part, float_part; in sun8i_ui_scaler_coef_index() local
/linux-6.6.21/drivers/clk/
Dclk-xgene.c241 u64 ret, scale; in xgene_clk_pmd_recalc_rate() local
277 u64 ret, scale; in xgene_clk_pmd_round_rate() local
297 u64 scale, ret; in xgene_clk_pmd_set_rate() local
/linux-6.6.21/tools/iio/
Diio_utils.h41 float scale; member
/linux-6.6.21/drivers/media/i2c/
Dtw9910.c234 const struct tw9910_scale_ctrl *scale; member
353 const struct tw9910_scale_ctrl *scale) in tw9910_set_scale()
431 const struct tw9910_scale_ctrl *scale; in tw9910_select_norm() local
806 const struct tw9910_scale_ctrl *scale; in tw9910_set_fmt() local
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_llc.c97 const int scale = 180; in calc_ia_freq() local
/linux-6.6.21/include/linux/iio/common/
Dcros_ec_sensors_core.h75 u16 scale; member

123456789