Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 25 of 590) sorted by relevance

12345678910>>...24

/openbmc/linux/drivers/gpu/ipu-v3/
H A Dipu-ic-csc.c25 .scale = 2,
42 .scale = 1,
59 .scale = 2,
76 .scale = 1,
94 .scale = 2,
125 .scale = 1,
136 .scale = 1,
148 .scale = 1,
159 .scale = 1,
183 .scale = 2,
[all …]
/openbmc/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_demod.c166 u32 scale; in vidtv_demod_update_stats() local
169 scale = FE_SCALE_COUNTER; in vidtv_demod_update_stats()
170 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in vidtv_demod_update_stats()
172 scale = FE_SCALE_NOT_AVAILABLE; in vidtv_demod_update_stats()
173 c->cnr.stat[0].scale = scale; in vidtv_demod_update_stats()
176 c->pre_bit_error.stat[0].scale = scale; in vidtv_demod_update_stats()
177 c->pre_bit_count.stat[0].scale = scale; in vidtv_demod_update_stats()
178 c->post_bit_error.stat[0].scale = scale; in vidtv_demod_update_stats()
179 c->post_bit_count.stat[0].scale = scale; in vidtv_demod_update_stats()
180 c->block_error.stat[0].scale = scale; in vidtv_demod_update_stats()
[all …]
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_jpeg.c275 static unsigned char jpeg_scale_qp(const unsigned char qp, int scale) in jpeg_scale_qp() argument
279 temp = DIV_ROUND_CLOSEST((unsigned int)qp * scale, 100); in jpeg_scale_qp()
291 const unsigned char *tab, int scale) in jpeg_scale_quant_table() argument
299 file_q_tab[i] = jpeg_scale_qp(tab[zigzag[i]], scale); in jpeg_scale_quant_table()
300 reordered_q_tab[i] = jpeg_scale_qp(tab[hw_reorder[i]], scale); in jpeg_scale_quant_table()
306 int scale; in jpeg_set_quality() local
313 scale = 5000 / ctx->quality; in jpeg_set_quality()
315 scale = 200 - 2 * ctx->quality; in jpeg_set_quality()
323 ctx->hw_luma_qtable, luma_q_table, scale); in jpeg_set_quality()
325 ctx->hw_chroma_qtable, chroma_q_table, scale); in jpeg_set_quality()
/openbmc/qemu/tests/qtest/
H A Dtest-arm-mptimer.c43 static void timer_start(int periodic, uint32_t scale) in timer_start() argument
998 static void add_scaler_test(const char *str, bool scale, in add_scaler_test() argument
1002 int *scaler = scale ? &scaled : &nonscaled; in add_scaler_test()
1012 int scale; in main() local
1030 for (scale = 0; scale < 2; scale++) { in main()
1032 scale, test_timer_oneshot); in main()
1034 scale, test_timer_pause); in main()
1036 scale, test_timer_reload); in main()
1038 scale, test_timer_periodic); in main()
1048 scale, test_timer_noload_oneshot); in main()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dtw9910.c451 ret = scale + i; in tw9910_select_norm()
483 if (!priv->scale) { in tw9910_s_stream()
489 priv->scale->name, in tw9910_s_stream()
490 priv->scale->width, in tw9910_s_stream()
491 priv->scale->height); in tw9910_s_stream()
658 if (!priv->scale) in tw9910_set_frame()
717 priv->scale = NULL; in tw9910_set_frame()
759 if (!priv->scale) { in tw9910_get_fmt()
761 if (!priv->scale) in tw9910_get_fmt()
823 if (!scale) in tw9910_set_fmt()
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dsc27xx_adc.c224 switch (scale) { in sc2720_adc_get_ratio()
237 switch (scale) { in sc2720_adc_get_ratio()
252 switch (scale) { in sc2720_adc_get_ratio()
265 switch (scale) { in sc2720_adc_get_ratio()
312 switch (scale) { in sc2730_adc_get_ratio()
325 switch (scale) { in sc2730_adc_get_ratio()
338 switch (scale) { in sc2730_adc_get_ratio()
353 switch (scale) { in sc2730_adc_get_ratio()
366 switch (scale) { in sc2730_adc_get_ratio()
485 int scale, int *val) in sc27xx_adc_read() argument
[all …]
H A Dti-ads8688.c84 unsigned int scale; member
92 .scale = 76295,
97 .scale = 38148,
102 .scale = 19074,
107 .scale = 38148,
112 .scale = 19074,
124 ads8688_range_def[0].scale * st->vref_mv, in ads8688_show_scales()
125 ads8688_range_def[1].scale * st->vref_mv, in ads8688_show_scales()
295 unsigned int scale = 0; in ads8688_write_raw() local
338 scale = ads8688_range_def[st->range[chan->channel]].scale; in ads8688_write_raw()
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/
H A Dacx22-ipmi-hwmon-sensors.yaml16 scale: 0
37 scale: 0
58 scale: 0
79 scale: 0
100 scale: -6
121 scale: -6
142 scale: -6
163 scale: -6
184 scale: -6
205 scale: -6
[all …]
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/
H A Dfp5280g3-ipmi-sensors.yaml16 scale: 0
37 scale: 0
58 scale: 0
79 scale: 0
101 scale: 0
123 scale: 0
145 scale: 0
167 scale: 0
189 scale: 0
211 scale: 0
[all …]
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/configuration/g220a-yaml-config/
H A Dg220a-ipmi-sensors.yaml17 scale: 0
39 scale: 0
61 scale: 0
83 scale: 0
105 scale: 0
127 scale: 0
149 scale: 0
171 scale: 0
193 scale: 0
215 scale: 0
[all …]
/openbmc/u-boot/drivers/serial/
H A Dserial_ar933x.c43 static u32 ar933x_serial_get_baud(u32 clk, u32 scale, u32 step) in ar933x_serial_get_baud() argument
48 div = (2 << 16) * (scale + 1); in ar933x_serial_get_baud()
58 u32 *scale, u32 *step) in ar933x_serial_get_scale_step() argument
63 *scale = 0; in ar933x_serial_get_scale_step()
82 *scale = tscale; in ar933x_serial_get_scale_step()
91 u32 val, scale, step; in ar933x_serial_setbrg() local
94 ar933x_serial_get_scale_step(val, baudrate, &scale, &step); in ar933x_serial_setbrg()
96 val = (scale & AR933X_UART_CLK_SCALE_M) in ar933x_serial_setbrg()
201 u32 val, scale, step; in _debug_uart_init() local
217 CONFIG_BAUDRATE, &scale, &step); in _debug_uart_init()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-mt63606 Calculating with scale and offset returns voltage in uV
14 Calculating with scale and offset returns voltage in uV
22 Calculating with scale and offset returns voltage in uV
29 Calculating with scale and offset returns voltage in uV
36 Calculating with scale and offset returns voltage in uV
43 Calculating with scale and offset returns voltage in uA
50 Calculating with scale and offset returns voltage in uA
57 Calculating with scale and offset returns voltage in uV
64 Calculating with scale and offset returns temperature in degree
71 Calculating with scale and offset returns voltage in uV
[all …]
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/
H A Dethanolx-ipmi-sensors.yaml7 scale: 0
27 scale: 0
47 scale: 0
67 scale: 0
87 scale: 0
107 scale: 0
127 scale: 0
147 scale: 0
170 scale: 0
192 scale: 0
[all …]
/openbmc/linux/arch/arm64/include/asm/
H A Dtlbflush.h143 __ta |= (unsigned long)(scale) << 44; \
150 #define __TLBI_RANGE_PAGES(num, scale) \ argument
151 ((unsigned long)((num) + 1) << (5 * (scale) + 1))
161 #define __TLBI_RANGE_NUM(pages, scale) \ argument
164 __TLBI_RANGE_PAGES(31, (scale))); \
165 (__pages >> (5 * (scale) + 1)) - 1; \
373 int scale = 3; \
388 num = __TLBI_RANGE_NUM(pages, scale); \
390 addr = __TLBI_VADDR_RANGE(start, asid, scale, \
396 pages -= __TLBI_RANGE_PAGES(num, scale); \
[all …]
/openbmc/openbmc/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/
H A Ddaytonax-ipmi-sensors.yaml7 scale: 0
27 scale: 0
50 scale: 0
71 scale: 0
92 scale: 0
113 scale: 0
134 scale: 0
155 scale: 0
176 scale: 0
197 scale: 0
[all …]
/openbmc/openbmc/meta-ieisystem/meta-nf5280m7/recipes-phosphor/configuration/nf5280m7-yaml-config/
H A Dnf5280m7-ipmi-sensors.yaml17 scale: 0
39 scale: 0
62 scale: 0
85 scale: 0
107 scale: 0
128 scale: 0
149 scale: 0
170 scale: 0
191 scale: 0
212 scale: 0
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/
H A Dacx22-ipmi-hwmon-sensors.yaml16 scale: 0
37 scale: 0
58 scale: 0
79 scale: 0
100 scale: -6
121 scale: -6
142 scale: -6
163 scale: -6
184 scale: -6
205 scale: -6
[all …]
/openbmc/linux/drivers/iio/light/
H A Disl29018.c71 unsigned int scale; member
87 struct isl29018_scale scale; member
119 if (chip->scale.scale == isl29018_scales[int_time][i].scale && in isl29018_set_integration_time()
137 if (scale == isl29018_scales[chip->int_time][i].scale && in isl29018_set_scale()
153 chip->scale = new_scale; in isl29018_set_scale()
202 data_x_range = lux_data * chip->scale.scale + in isl29018_read_lux()
203 lux_data * chip->scale.uscale / 1000000; in isl29018_read_lux()
443 *val = chip->scale.scale; in isl29018_read_raw()
444 *val2 = chip->scale.uscale; in isl29018_read_raw()
603 status = isl29018_set_scale(chip, chip->scale.scale, in isl29018_chip_init()
[all …]
/openbmc/linux/drivers/gpu/drm/sprd/
H A Dmegacores_pll.c219 const u32 scale = 100; in dphy_timing_config() local
236 range[L] = 50 * scale; in dphy_timing_config()
243 range[L] = 38 * scale; in dphy_timing_config()
244 range[H] = 95 * scale; in dphy_timing_config()
247 range[L] = 40 * scale + 4 * t_ui; in dphy_timing_config()
248 range[H] = 85 * scale + 6 * t_ui; in dphy_timing_config()
254 range[L] = 300 * scale; in dphy_timing_config()
258 range[L] = 145 * scale + 10 * t_ui; in dphy_timing_config()
265 range[L] = 60 * scale; in dphy_timing_config()
273 range[L] = 100 * scale; in dphy_timing_config()
[all …]
/openbmc/linux/arch/arm64/kernel/
H A Dtopology.c153 u64 core_cnt, const_cnt, scale; in amu_scale_freq_tick() local
175 scale = core_cnt - prev_core_cnt; in amu_scale_freq_tick()
176 scale *= this_cpu_read(arch_max_freq_scale); in amu_scale_freq_tick()
177 scale = div64_u64(scale >> SCHED_CAPACITY_SHIFT, in amu_scale_freq_tick()
180 scale = min_t(unsigned long, scale, SCHED_CAPACITY_SCALE); in amu_scale_freq_tick()
181 this_cpu_write(arch_freq_scale, (unsigned long)scale); in amu_scale_freq_tick()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dlgdt330x.c290 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init()
680 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
694 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; in lgdt3302_read_status()
697 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
711 p->block_error.stat[0].scale = FE_SCALE_COUNTER; in lgdt3302_read_status()
712 p->block_count.stat[0].scale = FE_SCALE_COUNTER; in lgdt3302_read_status()
786 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status()
800 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; in lgdt3303_read_status()
803 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status()
817 p->block_error.stat[0].scale = FE_SCALE_COUNTER; in lgdt3303_read_status()
[all …]
H A Dmn88473.c324 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in mn88473_read_status()
327 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_read_status()
349 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status()
383 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status()
405 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status()
407 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_read_status()
424 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in mn88473_read_status()
444 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in mn88473_read_status()
446 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mn88473_read_status()
532 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_init()
[all …]
/openbmc/qemu/hw/timer/
H A Dsifive_pwm.c97 uint64_t scale = sifive_pwm_compute_scale(s); in sifive_pwm_set_alarms() local
99 uint64_t pwms = (pwmcount & (PWMCMP_MASK << scale)) >> scale; in sifive_pwm_set_alarms()
103 uint64_t pwmcmp_ticks = pwmcmp << scale; in sifive_pwm_set_alarms()
129 uint64_t scale = sifive_pwm_compute_scale(s); in sifive_pwm_set_alarms() local
130 uint64_t pwms = (pwmcount & (PWMCMP_MASK << scale)) >> scale; in sifive_pwm_set_alarms()
225 uint64_t cur_time, scale; in sifive_pwm_read() local
248 scale = sifive_pwm_compute_scale(s); in sifive_pwm_read()
254 return ((cur_time & PWMCOUNT_MASK) >> scale) & PWMCMP_MASK; in sifive_pwm_read()
277 uint64_t new_offset, scale; in sifive_pwm_write() local
344 scale = sifive_pwm_compute_scale(s); in sifive_pwm_write()
[all …]
/openbmc/linux/Documentation/admin-guide/acpi/
H A Dcppc_sysfs.rst14 scale. CPPC exposes a set of registers to describe abstract performance scale,
40 * highest_perf : Highest performance of this processor (abstract scale).
42 (abstract scale).
44 power savings (abstract scale).
45 * lowest_perf : Lowest performance of this processor (abstract scale).
50 frequency instead of abstract scale. These values should not be used for any
59 accumulates (abstract scale).
/openbmc/linux/drivers/media/common/siano/
H A Dsmsdvb-main.c136 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready()
137 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready()
279 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
280 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
334 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_dvb_stats()
335 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_dvb_stats()
369 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_update_isdbt_stats()
404 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats()
405 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats()
492 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats_ex()
[all …]

12345678910>>...24