/drivers/iio/adc/ |
D | sc27xx_adc.c | 163 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
|
D | hx711.c | 31 int scale; member 69 static int hx711_get_scale_to_gain(int scale) in hx711_get_scale_to_gain()
|
D | ti-ads8688.c | 84 unsigned int scale; member 297 unsigned int scale = 0; in ads8688_write_raw() local
|
/drivers/staging/media/hantro/ |
D | hantro_jpeg.c | 254 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/ |
D | ch7006_mode.c | 106 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/ |
D | zopt2201.c | 84 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
|
D | isl29018.c | 71 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/ |
D | scpi-hwmon.c | 19 unsigned int scale; member 138 const u32 *scale; in scpi_hwmon_probe() local
|
D | adm1025.c | 81 #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/ |
D | ar933x_uart.c | 237 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/ |
D | clk-xgene.c | 242 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/ |
D | tw9910.c | 234 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/ |
D | usb4.c | 1535 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/ |
D | ia_css_ob.host.c | 55 unsigned int scale = 16 - ob_bit_depth; in ia_css_ob_encode() local
|
/drivers/gpu/drm/sun4i/ |
D | sun8i_ui_scaler.c | 108 unsigned int scale, int_part, float_part; in sun8i_ui_scaler_coef_index() local
|
D | sun8i_vi_scaler.c | 848 unsigned int scale, int_part, float_part; in sun8i_vi_scaler_coef_index() local
|
/drivers/gpu/drm/i915/gt/ |
D | intel_llc.c | 102 const int scale = 180; in calc_ia_freq() local
|
/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | ipp.h | 54 uint16_t scale; member
|
/drivers/pcmcia/ |
D | cistpl.c | 662 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/ |
D | aspm.c | 354 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/ |
D | leds-lp8788.c | 31 enum lp8788_isink_scale scale; member
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_paprd.c | 74 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/ |
D | drm_rect.c | 136 int scale = 0; in drm_calc_scale() local
|
/drivers/media/test-drivers/vidtv/ |
D | vidtv_demod.c | 166 u32 scale; in vidtv_demod_update_stats() local
|
/drivers/gpu/drm/vc4/ |
D | vc4_plane.c | 417 u32 scale, recip; in vc4_write_tpz() local 435 u32 scale = (1 << 16) * src / dst; in vc4_write_ppf() local
|