/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-bus-iio-adc-mt6360 | 6 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 …]
|
/Linux-v5.15/drivers/media/test-drivers/vidtv/ |
D | vidtv_demod.c | 133 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in vidtv_clean_stats() 137 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats() 142 c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats() 145 c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats() 148 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats() 151 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats() 154 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats() 157 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats() 166 u32 scale; in vidtv_demod_update_stats() local 169 scale = FE_SCALE_COUNTER; in vidtv_demod_update_stats() [all …]
|
/Linux-v5.15/drivers/gpu/ipu-v3/ |
D | ipu-ic-csc.c | 25 .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 …]
|
/Linux-v5.15/arch/arm64/include/asm/ |
D | tlbflush.h | 128 * | ASID | TG | SCALE | NUM | TTL | BADDR | 133 * [BADDR, BADDR + (NUM + 1) * 2^(5*SCALE + 1) * PAGESIZE) 136 #define __TLBI_VADDR_RANGE(addr, asid, scale, num, ttl) \ argument 142 __ta |= (unsigned long)(scale) << 44; \ 149 #define __TLBI_RANGE_PAGES(num, scale) \ argument 150 ((unsigned long)((num) + 1) << (5 * (scale) + 1)) 158 #define __TLBI_RANGE_NUM(pages, scale) \ argument 159 ((((pages) >> (5 * (scale) + 1)) & TLBI_RANGE_MASK) - 1) 287 int scale = 0; in __flush_tlb_range() local 319 * by 'scale', so multiple range TLBI operations may be required. in __flush_tlb_range() [all …]
|
/Linux-v5.15/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() argument 358 (scale->vscale & 0x0F00) >> 4 | in tw9910_set_scale() 359 (scale->hscale & 0x0F00) >> 8); in tw9910_set_scale() 364 scale->hscale & 0x00FF); in tw9910_set_scale() 369 scale->vscale & 0x00FF); in tw9910_set_scale() 431 const struct tw9910_scale_ctrl *scale; in tw9910_select_norm() local 437 scale = tw9910_ntsc_scales; in tw9910_select_norm() 440 scale = tw9910_pal_scales; in tw9910_select_norm() 447 tmp = abs(width - scale[i].width) + in tw9910_select_norm() [all …]
|
/Linux-v5.15/include/linux/iio/ |
D | consumer.h | 211 * scale will need to be applied if standard units required. 222 * scale will need to be applied if standard units required. 239 * the function will query the raw value and the channels scale and offset and 245 * iio_read_channel_processed_scale() - read and scale a processed value 248 * @scale: Scale factor to apply during the conversion 253 * like @iio_read_channel_processed() but also scale with an additional 254 * scale factor while attempting to minimize any precision loss. 257 unsigned int scale); 291 * scale will need to be applied if standard units required. 302 * scale will need to be applied if standard units are required. [all …]
|
/Linux-v5.15/drivers/iio/adc/ |
D | sc27xx_adc.c | 93 * should use the small-scale graph, and if more than 1.2v, we should use the 94 * big-scale graph. 163 static int sc27xx_adc_get_ratio(int channel, int scale) in sc27xx_adc_get_ratio() argument 170 return scale ? SC27XX_VOLT_RATIO(400, 1025) : in sc27xx_adc_get_ratio() 178 return scale ? SC27XX_VOLT_RATIO(100, 125) : in sc27xx_adc_get_ratio() 189 int scale, int *val) in sc27xx_adc_read() argument 210 /* Configure the channel id and scale */ in sc27xx_adc_read() 211 tmp = (scale << SC27XX_ADC_SCALE_SHIFT) & SC27XX_ADC_SCALE_MASK; in sc27xx_adc_read() 262 int channel, int scale, in sc27xx_adc_volt_ratio() argument 265 u32 ratio = sc27xx_adc_get_ratio(channel, scale); in sc27xx_adc_volt_ratio() [all …]
|
D | ti-ads8688.c | 84 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() 126 ads8688_range_def[2].scale * st->vref_mv); in ads8688_show_scales() 263 scale_mv *= ads8688_range_def[st->range[chan->channel]].scale; in ads8688_read_raw() [all …]
|
D | hx711.c | 24 /* gain to pulse and scale conversion */ 31 int scale; member 36 * .scale depends on AVDD which in turn is known as soon as the regulator 38 * therefore we set .scale in hx711_probe() 65 return hx711_gain_to_scale[i].scale; in hx711_get_gain_to_scale() 69 static int hx711_get_scale_to_gain(int scale) in hx711_get_scale_to_gain() argument 74 if (hx711_gain_to_scale[i].scale == scale) in hx711_get_scale_to_gain() 314 * a scale greater than 1 mV per LSB is not possible in hx711_write_raw() 397 hx711_gain_to_scale[i].scale); in hx711_scale_available_show() 511 * full scale differential input range: AVDD / GAIN in hx711_probe() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/sound/ |
D | rt5651.txt | 34 - realtek,over-current-scale-factor 35 u32, micbias over-current detection scale-factor, valid values are: 36 0: Scale current by 0.5 37 1: Scale current by 0.75 38 2: Scale current by 1.0 39 3: Scale current by 1.5
|
D | rt5640.txt | 53 - realtek,over-current-scale-factor 54 u32, micbias over-current detection scale-factor, valid values are: 55 0: Scale current by 0.5 56 1: Scale current by 0.75 57 2: Scale current by 1.0 58 3: Scale current by 1.5
|
/Linux-v5.15/Documentation/admin-guide/acpi/ |
D | cppc_sysfs.rst | 12 scale. CPPC exposes a set of registers to describe abstract performance scale, 38 * highest_perf : Highest performance of this processor (abstract scale). 40 (abstract scale). 42 power savings (abstract scale). 43 * lowest_perf : Lowest performance of this processor (abstract scale). 48 frequency instead of abstract scale. These values should not be used for any 57 accumulates (abstract scale).
|
/Linux-v5.15/Documentation/driver-api/media/drivers/ |
D | sh_mobile_ceu_camera.rst | 59 (3) to (3') - sensor scale 62 (5) to (5') - reverse sensor scale applied to CEU cropped width or height 63 (2) to (5) - reverse sensor scale applied to CEU cropped left or top 64 (6) to (6') - CEU scale - user window 111 10. Use CEU scaling to scale to the requested user window: 119 The :ref:`V4L2 crop API <crop-scale>` says: 137 4. Sensor scaled to 3 : 3'. Sensor's scale is (2' - 2) / (3' - 3). Calculate 140 5. Calculate and apply host scale = (6' - 6) / (4' - 4)
|
/Linux-v5.15/tools/testing/selftests/bpf/verifier/ |
D | scale.c | 2 "scale: scale test 1", 11 "scale: scale test 2",
|
/Linux-v5.15/drivers/iio/light/ |
D | isl29018.c | 71 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() 120 chip->scale.uscale == isl29018_scales[int_time][i].uscale) { in isl29018_set_integration_time() 121 chip->scale = isl29018_scales[new_int_time][i]; in isl29018_set_integration_time() 130 static int isl29018_set_scale(struct isl29018_chip *chip, int scale, int uscale) in isl29018_set_scale() argument 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() [all …]
|
/Linux-v5.15/drivers/media/common/siano/ |
D | smsdvb-main.c | 136 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() 150 c->post_bit_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 151 c->post_bit_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 152 c->block_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 153 c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; 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() 285 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices() 286 c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices() [all …]
|
/Linux-v5.15/include/linux/input/ |
D | adxl34x.h | 22 * form with a scale factor of 15.6 mg/LSB (i.e. 0x7F = +2 g) 49 * The data format is unsigned. The scale factor is 62.5 mg/LSB 60 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero 70 * window tap_window for a possible second tap event. The scale 81 * tap can begin. The scale factor is 1.25 ms/LSB. A zero value will 126 * The data format is unsigned. The scale factor is 136 * detection. The data format is unsigned. The scale 147 * inactivity_threshold for inactivity to be declared. The scale factor 166 * occurring. The scale factor is 62.5 mg/LSB. A zero value may 179 * scale factor is 5 ms/LSB. A zero value may result in [all …]
|
/Linux-v5.15/drivers/media/platform/sti/bdisp/ |
D | bdisp-filter.h | 13 * @min: min scale factor for this filter (6.10 fixed point) 14 * @max: max scale factor for this filter (6.10 fixed point) 25 * @min: min scale factor for this filter (6.10 fixed point) 26 * @max: max scale factor for this filter (6.10 fixed point)
|
/Linux-v5.15/drivers/hwmon/ |
D | scmi-hwmon.c | 35 int scale = sensor->scale; in scmi_hwmon_scale() local 42 scale += 3; in scmi_hwmon_scale() 46 scale += 6; in scmi_hwmon_scale() 52 if (scale == 0) in scmi_hwmon_scale() 55 if (abs(scale) > 19) in scmi_hwmon_scale() 58 f = __pow10(abs(scale)); in scmi_hwmon_scale() 59 if (scale > 0) in scmi_hwmon_scale()
|
/Linux-v5.15/drivers/leds/ |
D | leds-lp8788.c | 31 enum lp8788_isink_scale scale; member 37 .scale = LP8788_ISINK_SCALE_100mA, 50 cfg->scale = pdata->scale; in lp8788_led_init_device() 57 /* scale configuration */ in lp8788_led_init_device() 60 val = cfg->scale << (cfg->num + LP8788_ISINK_SCALE_OFFSET); in lp8788_led_init_device()
|
/Linux-v5.15/Documentation/RCU/Design/Data-Structures/ |
D | BigTreePreemptRCUBHdyntickCB.svg | 407 transform="scale(1.0213945,0.97905363)">struct</text> 418 transform="scale(1.0213945,0.97905363)">rcu_head</text> 429 transform="scale(1.0213945,0.97905363)">struct</text> 440 transform="scale(1.0213945,0.97905363)">rcu_head</text> 451 transform="scale(1.0213945,0.97905363)">struct</text> 462 transform="scale(1.0213945,0.97905363)">rcu_head</text> 473 transform="scale(1.0213945,0.97905363)">rcu_state</text> 485 transform="scale(1.0213945,0.97905363)">struct</text> 496 transform="scale(1.0213945,0.97905363)">rcu_node</text> 507 transform="scale(1.0213945,0.97905363)">struct</text> [all …]
|
/Linux-v5.15/drivers/media/dvb-frontends/ |
D | mn88473.c | 324 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() 426 c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; in mn88473_read_status() 429 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_read_status() 430 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_read_status() [all …]
|
/Linux-v5.15/drivers/clk/ |
D | clk-fractional-divider.c | 29 * we might scale up the rate by 2^scale (see the description of 32 * scale = floor(log2(parent_rate / rate)) - nwidth (5) 35 * prescaler, which is capable to divide by 2^scale. In this way 114 * by (scale - fd->nwidth) bits. in clk_fractional_divider_general_approximation() 119 unsigned long scale = fls_long(*parent_rate / rate - 1); in clk_fractional_divider_general_approximation() local 121 if (scale > fd->nwidth) in clk_fractional_divider_general_approximation() 122 rate <<= scale - fd->nwidth; in clk_fractional_divider_general_approximation()
|
/Linux-v5.15/drivers/comedi/drivers/ |
D | jr3_pci.h | 151 * coordinate transformation, or new sensor full scale is set by the 312 * measurements can be placed here. The JR3 DSP will then scale 326 * Default_FS contains the full scale that is used if the user does 327 * not set a full scale. 341 /* Min_full_scale is the recommend minimum full scale. */ 346 * software allows the user to set the sensor full scale to an 348 * the full scale is set too low, the data will saturate 349 * prematurely, and dynamic range will be lost. If the full scale is 352 * maximum full scale is the maximum value at which no resolution is 353 * lost, and the minimum full scale is the value at which the data [all …]
|
/Linux-v5.15/tools/perf/tests/ |
D | stat.c | 37 TEST_ASSERT_VAL("wrong scale", HAS(SCALE, 1)); in process_stat_config_event() 45 TEST_ASSERT_VAL("wrong scale", stat_config.scale == 1); in process_stat_config_event() 54 .scale = 1, in test__synthesize_stat_config()
|