Home
last modified time | relevance | path

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

123456

/drivers/iio/adc/
Dsc27xx_adc.c163 static int sc27xx_adc_get_ratio(int channel, int scale) in sc27xx_adc_get_ratio()
189 int scale, int *val) in sc27xx_adc_read()
262 int channel, int scale, in sc27xx_adc_volt_ratio()
284 int scale, int raw_adc) in sc27xx_adc_convert_volt()
314 int channel, int scale, int *val) in sc27xx_adc_read_processed()
331 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()
Dti-ads8688.c84 unsigned int scale; member
297 unsigned int scale = 0; in ads8688_write_raw() local
/drivers/staging/media/hantro/
Dhantro_jpeg.c254 static unsigned char jpeg_scale_qp(const unsigned char qp, int scale) in jpeg_scale_qp()
270 const unsigned char *tab, int scale) in jpeg_scale_quant_table()
282 int scale; in jpeg_set_quality() local
/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
/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()
/drivers/hwmon/
Dscpi-hwmon.c19 unsigned int scale; member
138 const u32 *scale; in scpi_hwmon_probe() local
Dadm1025.c81 #define IN_FROM_REG(reg, scale) (((reg) * (scale) + 96) / 192) argument
82 #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ argument
/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
/drivers/clk/
Dclk-xgene.c242 u64 ret, scale; in xgene_clk_pmd_recalc_rate() local
278 u64 ret, scale; in xgene_clk_pmd_round_rate() local
298 u64 scale, ret; in xgene_clk_pmd_set_rate() local
/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
/drivers/thunderbolt/
Dusb4.c1535 static unsigned int usb3_bw_to_mbps(u32 bw, u8 scale) in usb3_bw_to_mbps()
1543 static u32 mbps_to_usb3_bw(unsigned int mbps, u8 scale) in mbps_to_usb3_bw()
1556 u32 val, bw, scale; in usb4_usb3_port_read_allocated_bandwidth() local
1610 u32 val, bw, scale; in usb4_usb3_port_read_consumed_bandwidth() local
1638 u32 val, ubw, dbw, scale; in usb4_usb3_port_write_allocated_bandwidth() local
/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
/drivers/gpu/drm/sun4i/
Dsun8i_ui_scaler.c108 unsigned int scale, int_part, float_part; in sun8i_ui_scaler_coef_index() local
Dsun8i_vi_scaler.c848 unsigned int scale, int_part, float_part; in sun8i_vi_scaler_coef_index() local
/drivers/gpu/drm/i915/gt/
Dintel_llc.c102 const int scale = 180; in calc_ia_freq() local
/drivers/gpu/drm/amd/display/dc/inc/hw/
Dipp.h54 uint16_t scale; member
/drivers/pcmcia/
Dcistpl.c662 u_char scale; in parse_device() local
909 u_int scale; in parse_power() local
945 u_char scale; in parse_timing() local
/drivers/pci/pcie/
Daspm.c354 static u32 calc_l1ss_pwron(struct pci_dev *pdev, u32 scale, u32 val) in calc_l1ss_pwron()
368 static void encode_l12_threshold(u32 threshold_us, u32 *scale, u32 *value) in encode_l12_threshold()
472 u32 t_common_mode, t_power_on, l1_2_threshold, scale, value; in aspm_calc_l1ss_info() local
/drivers/leds/
Dleds-lp8788.c31 enum lp8788_isink_scale scale; member
/drivers/net/wireless/ath/ath9k/
Dar9003_paprd.c74 unsigned int power, scale, delta; in ar9003_get_training_power_2g() local
102 unsigned int power, scale, delta; in ar9003_get_training_power_5g() local
/drivers/gpu/drm/
Ddrm_rect.c136 int scale = 0; in drm_calc_scale() local
/drivers/media/test-drivers/vidtv/
Dvidtv_demod.c166 u32 scale; in vidtv_demod_update_stats() local
/drivers/gpu/drm/vc4/
Dvc4_plane.c417 u32 scale, recip; in vc4_write_tpz() local
435 u32 scale = (1 << 16) * src / dst; in vc4_write_ppf() local

123456