/linux-4.4.14/drivers/media/i2c/soc_camera/ |
D | tw9910.c | 233 const struct tw9910_scale_ctrl *scale; member 351 const struct tw9910_scale_ctrl *scale) in tw9910_set_scale() argument 356 (scale->vscale & 0x0F00) >> 4 | in tw9910_set_scale() 357 (scale->hscale & 0x0F00) >> 8); in tw9910_set_scale() 362 scale->hscale & 0x00FF); in tw9910_set_scale() 367 scale->vscale & 0x00FF); in tw9910_set_scale() 429 const struct tw9910_scale_ctrl *scale; in tw9910_select_norm() local 435 scale = tw9910_ntsc_scales; in tw9910_select_norm() 438 scale = tw9910_pal_scales; in tw9910_select_norm() 445 tmp = abs(width - scale[i].width) + in tw9910_select_norm() [all …]
|
D | rj54n1cb0c.c | 163 unsigned short scale; member
|
/linux-4.4.14/drivers/media/platform/coda/ |
D | coda-jpeg.c | 195 static void coda_scale_quant_table(u8 *q_tab, int scale) in coda_scale_quant_table() argument 201 temp = DIV_ROUND_CLOSEST((unsigned int)q_tab[i] * scale, 100); in coda_scale_quant_table() 212 unsigned int scale; in coda_set_jpeg_compression_quality() local 227 scale = 5000 / quality; in coda_set_jpeg_compression_quality() 229 scale = 200 - 2 * quality; in coda_set_jpeg_compression_quality() 233 coda_scale_quant_table(ctx->params.jpeg_qmat_tab[0], scale); in coda_set_jpeg_compression_quality() 237 coda_scale_quant_table(ctx->params.jpeg_qmat_tab[1], scale); in coda_set_jpeg_compression_quality()
|
/linux-4.4.14/drivers/staging/iio/light/ |
D | isl29018.c | 93 unsigned int scale; member 110 struct isl29018_scale scale; member 140 if (chip->scale.scale == isl29018_scales[int_time][i].scale && in isl29018_set_integration_time() 141 chip->scale.uscale == isl29018_scales[int_time][i].uscale) { in isl29018_set_integration_time() 142 chip->scale = isl29018_scales[new_int_time][i]; in isl29018_set_integration_time() 151 static int isl29018_set_scale(struct isl29018_chip *chip, int scale, int uscale) in isl29018_set_scale() argument 157 if (scale == isl29018_scales[chip->int_time][i].scale && in isl29018_set_scale() 173 chip->scale = new_scale; in isl29018_set_scale() 221 data_x_range = lux_data * chip->scale.scale + in isl29018_read_lux() 222 lux_data * chip->scale.uscale / 1000000; in isl29018_read_lux() [all …]
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | mb86a20s.c | 1426 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mb86a20s_get_main_CNR() 1470 c->cnr.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_get_blk_error_layer_CNR() 1514 c->cnr.stat[1 + layer].scale = FE_SCALE_DECIBEL; in mb86a20s_get_blk_error_layer_CNR() 1566 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in mb86a20s_stats_not_ready() 1571 c->cnr.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_stats_not_ready() 1572 c->pre_bit_error.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_stats_not_ready() 1573 c->pre_bit_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_stats_not_ready() 1574 c->post_bit_error.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_stats_not_ready() 1575 c->post_bit_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_stats_not_ready() 1576 c->block_error.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_stats_not_ready() [all …]
|
D | rtl2830.c | 131 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_init() 133 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_init() 135 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_init() 137 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_init() 432 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) in rtl2830_read_snr() 462 if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) in rtl2830_read_signal_strength() 533 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in rtl2830_stat_work() 536 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_stat_work() 575 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in rtl2830_stat_work() 578 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_stat_work() [all …]
|
D | tda10071.c | 421 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in tda10071_read_status() 424 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tda10071_read_status() 434 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in tda10071_read_status() 437 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tda10071_read_status() 490 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in tda10071_read_status() 493 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in tda10071_read_status() 498 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in tda10071_read_status() 500 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tda10071_read_status() 503 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tda10071_read_status() 504 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tda10071_read_status() [all …]
|
D | cx24120.c | 334 if (c->cnr.stat[0].scale != FE_SCALE_DECIBEL) in cx24120_read_snr() 347 if (c->post_bit_error.stat[0].scale != FE_SCALE_COUNTER) { in cx24120_read_ber() 439 if (c->strength.stat[0].scale != FE_SCALE_RELATIVE) in cx24120_read_signal_strength() 645 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in cx24120_get_stats() 648 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cx24120_get_stats() 660 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in cx24120_get_stats() 663 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cx24120_get_stats() 668 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cx24120_get_stats() 669 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cx24120_get_stats() 670 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cx24120_get_stats() [all …]
|
D | tc90522.c | 262 stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tc90522s_get_frontend() 288 stats->stat[0].scale = FE_SCALE_DECIBEL; in tc90522s_get_frontend() 298 stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; in tc90522s_get_frontend() 301 stats->stat[i].scale = FE_SCALE_COUNTER; in tc90522s_get_frontend() 311 stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; in tc90522s_get_frontend() 314 stats->stat[i].scale = FE_SCALE_COUNTER; in tc90522s_get_frontend() 421 stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tc90522t_get_frontend() 449 stats->stat[0].scale = FE_SCALE_DECIBEL; in tc90522t_get_frontend() 459 stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; in tc90522t_get_frontend() 462 stats->stat[i].scale = FE_SCALE_COUNTER; in tc90522t_get_frontend() [all …]
|
D | af9033.c | 460 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9033_init() 462 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9033_init() 464 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9033_init() 466 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9033_init() 468 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9033_init() 470 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9033_init() 877 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) { in af9033_read_snr() 1084 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in af9033_stat_work() 1088 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9033_stat_work() 1159 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in af9033_stat_work() [all …]
|
D | rtl2832.c | 400 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 402 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 404 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 406 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 728 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) in rtl2832_read_snr() 769 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in rtl2832_stat_work() 772 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_stat_work() 811 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in rtl2832_stat_work() 814 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_stat_work() 829 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in rtl2832_stat_work() [all …]
|
D | m88ds3103.c | 200 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in m88ds3103_read_status() 203 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in m88ds3103_read_status() 206 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in m88ds3103_read_status() 285 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in m88ds3103_read_status() 287 c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; in m88ds3103_read_status() 290 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in m88ds3103_read_status() 291 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in m88ds3103_read_status() 742 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in m88ds3103_init() 744 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in m88ds3103_init() 746 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in m88ds3103_init() [all …]
|
D | dib7000p.c | 1670 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in dib7000p_reset_stats() 1673 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_reset_stats() 1674 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_reset_stats() 1675 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_reset_stats() 1676 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_reset_stats() 1677 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_reset_stats() 1905 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_get_stats() 1906 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_get_stats() 1907 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_get_stats() 1908 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_get_stats() [all …]
|
D | drxk_hard.c | 6404 p->strength.stat[0].scale = FE_SCALE_RELATIVE; in drxk_set_parameters() 6405 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in drxk_set_parameters() 6406 p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in drxk_set_parameters() 6407 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in drxk_set_parameters() 6408 p->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in drxk_set_parameters() 6409 p->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in drxk_set_parameters() 6410 p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in drxk_set_parameters() 6411 p->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in drxk_set_parameters() 6554 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in drxk_get_stats() 6560 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in drxk_get_stats() [all …]
|
D | dib8000.c | 1010 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in dib8000_reset_stats() 1013 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib8000_reset_stats() 1014 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib8000_reset_stats() 1015 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib8000_reset_stats() 1016 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib8000_reset_stats() 1017 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib8000_reset_stats() 4118 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib8000_get_stats() 4119 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib8000_get_stats() 4120 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib8000_get_stats() 4121 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib8000_get_stats() [all …]
|
D | ts2020.c | 157 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in ts2020_init() 451 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in ts2020_stat_work() 474 if (c->strength.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { in ts2020_read_signal_strength()
|
D | cxd2841er.c | 2110 p->strength.stat[0].scale = FE_SCALE_RELATIVE; in cxd2841er_get_frontend() 2114 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; in cxd2841er_get_frontend() 2118 p->block_error.stat[0].scale = FE_SCALE_COUNTER; in cxd2841er_get_frontend() 2122 p->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in cxd2841er_get_frontend() 2126 p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2841er_get_frontend() 2128 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2841er_get_frontend() 2130 p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2841er_get_frontend() 2132 p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2841er_get_frontend()
|
D | si2168.c | 177 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in si2168_read_status() 181 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2168_read_status()
|
/linux-4.4.14/drivers/media/common/siano/ |
D | smsdvb-main.c | 147 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready() 148 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready() 161 c->post_bit_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 162 c->post_bit_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 163 c->block_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 164 c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 262 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices() 263 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices() 268 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices() 269 c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices() [all …]
|
/linux-4.4.14/tools/iio/ |
D | generic_buffer.c | 75 printf("%05f ", ((float)val + info->offset) * info->scale); in print1byte() 77 printf("%05f ", ((float)input + info->offset) * info->scale); in print1byte() 98 printf("%05f ", ((float)val + info->offset) * info->scale); in print2byte() 100 printf("%05f ", ((float)input + info->offset) * info->scale); in print2byte() 121 printf("%05f ", ((float)val + info->offset) * info->scale); in print4byte() 123 printf("%05f ", ((float)input + info->offset) * info->scale); in print4byte() 145 if (info->scale == 1.0f && info->offset == 0.0f) in print8byte() 149 ((float)val + info->offset) * info->scale); in print8byte() 151 printf("%05f ", ((float)input + info->offset) * info->scale); in print8byte()
|
D | iio_utils.h | 43 float scale; member
|
D | iio_utils.c | 423 current->scale = 1.0; in build_channel_array() 482 ret = iioutils_get_param_float(¤t->scale, in build_channel_array()
|
/linux-4.4.14/Documentation/video4linux/ |
D | sh_mobile_ceu_camera.txt | 53 (3) to (3') - sensor scale 56 (5) to (5') - reverse sensor scale applied to CEU cropped width or height 57 (2) to (5) - reverse sensor scale applied to CEU cropped left or top 58 (6) to (6') - CEU scale - user window 105 10. Use CEU scaling to scale to the requested user window: 131 4. Sensor scaled to 3 : 3'. Sensor's scale is (2' - 2) / (3' - 3). Calculate 134 5. Calculate and apply host scale = (6' - 6) / (4' - 4)
|
D | vivid.txt | 29 - Supports crop/compose/scale in any combination for both input and output 194 bit 2: Enable scaling support. Scaling can scale the incoming 217 bit 2: Enable scaling support. Scaling can scale the incoming 242 controls that select crop, compose and scale behavior are also 977 (4096 * 4) x (2160 x 4), but it can only scale up or down by a factor of 4 or
|
/linux-4.4.14/drivers/leds/ |
D | leds-lp8788.c | 37 enum lp8788_isink_scale scale; member 43 .scale = LP8788_ISINK_SCALE_100mA, 56 cfg->scale = pdata->scale; in lp8788_led_init_device() 66 val = cfg->scale << (cfg->num + LP8788_ISINK_SCALE_OFFSET); in lp8788_led_init_device()
|
/linux-4.4.14/tools/perf/util/ |
D | pmu.c | 98 char scale[128]; in perf_pmu__parse_scale() local 112 sret = read(fd, scale, sizeof(scale)-1); in perf_pmu__parse_scale() 116 if (scale[sret - 1] == '\n') in perf_pmu__parse_scale() 117 scale[sret - 1] = '\0'; in perf_pmu__parse_scale() 119 scale[sret] = '\0'; in perf_pmu__parse_scale() 133 alias->scale = strtod(scale, NULL); in perf_pmu__parse_scale() 220 alias->scale = 1.0; in __perf_pmu__new_alias() 825 (info->scale && alias->scale) || in check_info_data() 832 if (alias->scale) in check_info_data() 833 info->scale = alias->scale; in check_info_data() [all …]
|
D | pmu.h | 32 double scale; member 44 double scale; member
|
D | stat.c | 265 perf_counts_values__scale(count, config->scale, NULL); in process_counter_values() 271 if (config->scale) { in process_counter_values() 326 perf_counts_values__scale(aggr, config->scale, &counter->counts->scaled); in perf_stat_process_counter()
|
D | evsel.h | 92 double scale; member 150 bool scale, s8 *pscaled); 279 int cpu, int thread, bool scale);
|
D | stat.h | 39 bool scale; member
|
D | evsel.c | 209 evsel->scale = 1.0; in perf_evsel__init() 1094 bool scale, s8 *pscaled) in perf_counts_values__scale() argument 1098 if (scale) { in perf_counts_values__scale() 1128 int cpu, int thread, bool scale) in __perf_evsel__read_on_cpu() argument 1131 size_t nv = scale ? 3 : 1; in __perf_evsel__read_on_cpu() 1143 perf_counts_values__scale(&count, scale, NULL); in __perf_evsel__read_on_cpu()
|
D | parse-events.c | 1031 evsel->scale = info.scale; in parse_events_add_pmu()
|
/linux-4.4.14/sound/oss/ |
D | sys_timer.c | 41 unsigned long scale; in tmr2ticks() local 46 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ in tmr2ticks() 47 return (tmp + scale / 2) / scale; in tmr2ticks()
|
D | sound_timer.c | 38 unsigned long scale; in tmr2ticks() local 41 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ in tmr2ticks() 42 return (tmp + (scale / 2)) / scale; in tmr2ticks()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | voltage.c | 84 if (!voltdm->scale) { in voltdm_scale() 104 ret = voltdm->scale(voltdm, volt); in voltdm_scale() 259 voltdm->scale = omap_vc_bypass_scale; in omap_voltage_late_init() 264 voltdm->scale = omap_vp_forceupdate_scale; in omap_voltage_late_init()
|
D | voltage.h | 86 int (*scale) (struct voltagedomain *voltdm, member
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | delay.h | 33 static inline unsigned long __to_delay(unsigned long scale) in __to_delay() argument 36 return (((scale * HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6; in __to_delay()
|
/linux-4.4.14/drivers/power/ |
D | ds2760_battery.c | 125 int ret, i, start, count, scale[5]; in ds2760_battery_read_status() local 196 scale[0] = di->full_active_uAh; in ds2760_battery_read_status() 198 scale[i] = scale[i - 1] + di->raw[DS2760_ACTIVE_FULL + 1 + i]; in ds2760_battery_read_status() 200 di->full_active_uAh = battery_interpolate(scale, di->temp_C / 10); in ds2760_battery_read_status() 204 scale[4] = di->raw[DS2760_ACTIVE_EMPTY + 4]; in ds2760_battery_read_status() 206 scale[i] = scale[i + 1] + di->raw[DS2760_ACTIVE_EMPTY + i]; in ds2760_battery_read_status() 208 di->empty_uAh = battery_interpolate(scale, di->temp_C / 10); in ds2760_battery_read_status()
|
/linux-4.4.14/arch/mips/alchemy/common/ |
D | clock.c | 369 int scale, int maxdiv, unsigned long *rv) in alchemy_calc_div() argument 377 if (scale == 2) { /* only div-by-multiple-of-2 possible */ in alchemy_calc_div() 382 div2 = (div1 / scale) - 1; /* value to write to register */ in alchemy_calc_div() 389 div1 = ((div2 + 1) * scale); in alchemy_calc_div() 395 int scale, int maxdiv) in alchemy_clk_fgcs_detr() argument 429 tdv = alchemy_calc_div(req->rate, pr, scale, maxdiv, NULL); in alchemy_clk_fgcs_detr() 450 for (j = (maxdiv == 4) ? 1 : scale; j <= maxdiv; j += scale) { in alchemy_clk_fgcs_detr() 456 tdv = alchemy_calc_div(req->rate, pr, scale, maxdiv, in alchemy_clk_fgcs_detr() 705 int scale, maxdiv; in alchemy_clk_fgv2_detr() local 708 scale = 1; in alchemy_clk_fgv2_detr() [all …]
|
/linux-4.4.14/mm/ |
D | vmpressure.c | 114 unsigned long scale = scanned + reclaimed; in vmpressure_calc_level() local 124 pressure = scale - (reclaimed * scale / scanned); in vmpressure_calc_level() 125 pressure = pressure * 100 / scale; in vmpressure_calc_level()
|
D | page_alloc.c | 6335 int scale, in alloc_large_system_hash() argument 6356 if (scale > PAGE_SHIFT) in alloc_large_system_hash() 6357 numentries >>= (scale - PAGE_SHIFT); in alloc_large_system_hash() 6359 numentries <<= (PAGE_SHIFT - scale); in alloc_large_system_hash()
|
/linux-4.4.14/drivers/clk/ |
D | clk-fractional-divider.c | 58 unsigned long scale; in clk_fd_round_rate() local 70 scale = fls_long(*parent_rate / rate - 1); in clk_fd_round_rate() 71 if (scale > fd->nwidth) in clk_fd_round_rate() 72 rate <<= scale - fd->nwidth; in clk_fd_round_rate()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | vecemu.c | 154 static int ctsxs(unsigned int x, int scale, unsigned int *vscrp) in ctsxs() argument 162 exp = exp - 127 + scale; in ctsxs() 167 if (x + (scale << 23) != 0xcf000000) in ctsxs() 176 static unsigned int ctuxs(unsigned int x, int scale, unsigned int *vscrp) in ctuxs() argument 185 exp = exp - 127 + scale; in ctuxs()
|
D | time.c | 924 u64 scale; in time_init() local 956 scale = res.result_low; in time_init() 958 scale = (scale >> 1) | (res.result_high << 63); in time_init() 961 tb_to_ns_scale = scale; in time_init()
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
D | soc_scale_crop.h | 26 unsigned int shift, unsigned int scale) in soc_camera_shift_scale() argument 28 return DIV_ROUND_CLOSEST(size << shift, scale); in soc_camera_shift_scale()
|
D | sh_mobile_ceu_camera.c | 659 static unsigned int size_dst(unsigned int src, unsigned int scale) in size_dst() argument 661 unsigned int mant_pre = scale >> 12; in size_dst() 662 if (!src || !scale) in size_dst() 665 mant_pre * 4096 / scale + 1; in size_dst() 670 u16 scale; in calc_scale() local 675 scale = (src * 4096 / *dst) & ~7; in calc_scale() 677 while (scale > 4096 && size_dst(src, scale) < *dst) in calc_scale() 678 scale -= 8; in calc_scale() 680 *dst = size_dst(src, scale); in calc_scale() 682 return scale; in calc_scale() [all …]
|
/linux-4.4.14/drivers/video/backlight/ |
D | pwm_bl.c | 36 unsigned int scale; member 89 return (duty_cycle * (pb->period - lth) / pb->scale) + lth; in compute_duty_cycle() 230 if (data->levels[i] > pb->scale) in pwm_backlight_probe() 231 pb->scale = data->levels[i]; in pwm_backlight_probe() 235 pb->scale = data->max_brightness; in pwm_backlight_probe() 302 pb->lth_brightness = data->lth_brightness * (pb->period / pb->scale); in pwm_backlight_probe()
|
/linux-4.4.14/drivers/spi/ |
D | spi-fsl-dspi.c | 184 int scale_needed, scale, minscale = INT_MAX; in hz_to_spi_baud() local 193 scale = brs[i] * pbr_tbl[j]; in hz_to_spi_baud() 194 if (scale >= scale_needed) { in hz_to_spi_baud() 195 if (scale < minscale) { in hz_to_spi_baud() 196 minscale = scale; in hz_to_spi_baud() 216 int scale_needed, scale, minscale = INT_MAX; in ns_delay_scale() local 227 scale = pscale_tbl[i] * (2 << j); in ns_delay_scale() 228 if (scale >= scale_needed) { in ns_delay_scale() 229 if (scale < minscale) { in ns_delay_scale() 230 minscale = scale; in ns_delay_scale()
|
D | spi-pxa2xx.c | 767 unsigned long scale; in quark_x1000_get_clk_div() local 783 scale = fls_long(q1 - 1); in quark_x1000_get_clk_div() 784 if (scale > 9) { in quark_x1000_get_clk_div() 785 q1 >>= scale - 9; in quark_x1000_get_clk_div() 786 mul >>= scale - 9; in quark_x1000_get_clk_div() 794 scale = __ffs(q1); in quark_x1000_get_clk_div() 795 q1 >>= scale; in quark_x1000_get_clk_div() 796 mul >>= scale; in quark_x1000_get_clk_div()
|
/linux-4.4.14/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 106 subc, scale, scale_mask, norm_mask, e_hd, e_vd) { \ argument 129 .dispmode = bitfs(CH7006_DISPMODE_SCALING_RATIO, scale) | \ 136 subc, scale, scale_mask, norm_mask) \ argument 137 __MODE(f, hd, vd, ht, vt, hsynp, vsynp, subc, scale, \ 336 uint64_t scale, aspect; in ch7006_setup_properties() local 346 scale = norm->vtotal*fixed1; in ch7006_setup_properties() 347 do_div(scale, mode->vtotal); in ch7006_setup_properties() 352 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties() 358 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) in ch7006_setup_properties()
|
D | ch7006_drv.c | 233 if (~mode->valid_scales & 1<<priv->scale || in ch7006_encoder_get_modes() 274 priv->scale); in ch7006_encoder_create_resources() 349 priv->scale = val; in ch7006_encoder_set_property() 460 priv->scale = 1; in ch7006_encoder_init() 483 priv->scale = ch7006_scale; in ch7006_encoder_init() 541 module_param_named(scale, ch7006_scale, int, 0600); 542 MODULE_PARM_DESC(scale, "Default scale.\n"
|
D | ch7006_priv.h | 96 int scale; member
|
/linux-4.4.14/sound/isa/gus/ |
D | gus_volume.c | 197 int scale = 0; 200 scale++; 209 while (scale--)
|
/linux-4.4.14/arch/m68k/math-emu/ |
D | fp_arith.c | 658 int scale, oldround; in fp_fscale() local 685 scale = fp_conv_ext2long(src); in fp_fscale() 689 scale += dest->exp; in fp_fscale() 691 if (scale >= 0x7fff) { in fp_fscale() 693 } else if (scale <= 0) { in fp_fscale() 695 fp_denormalize(dest, -scale); in fp_fscale() 697 dest->exp = scale; in fp_fscale()
|
D | fp_decode.h | 157 move.w %d2,%d1 | scale factor
|
/linux-4.4.14/sound/pci/ctxfi/ |
D | ctamixer.h | 66 int (*set_scale)(struct amixer *amixer, unsigned int scale); 73 unsigned int scale, struct sum *sum);
|
D | ctamixer.c | 180 unsigned int scale, struct sum *sum) in amixer_setup() argument 183 amixer_set_y(amixer, scale); in amixer_setup()
|
/linux-4.4.14/drivers/tty/serial/ |
D | ar933x_uart.c | 188 unsigned int scale, in ar933x_uart_get_baud() argument 194 div = (2 << 16) * (scale + 1); in ar933x_uart_get_baud() 205 unsigned int *scale, in ar933x_uart_get_scale_step() argument 211 *scale = 0; in ar933x_uart_get_scale_step() 229 *scale = tscale; in ar933x_uart_get_scale_step() 243 unsigned int baud, scale, step; in ar933x_uart_set_termios() local 266 ar933x_uart_get_scale_step(port->uartclk, baud, &scale, &step); in ar933x_uart_set_termios() 288 scale << AR933X_UART_CLOCK_SCALE_S | step); in ar933x_uart_set_termios()
|
/linux-4.4.14/drivers/pcmcia/ |
D | cistpl.c | 663 u_char scale; in parse_device() local 708 scale = *p & 7; in parse_device() 709 if (scale == 7) in parse_device() 711 device->dev[i].size = ((*p >> 3) + 1) * (512 << (scale*2)); in parse_device() 910 u_int scale; in parse_power() local 922 scale = POWER_SCALE(*p); in parse_power() 928 (*p & 0x7f) * scale / 100; in parse_power() 946 u_char scale; in parse_timing() local 950 scale = *p; in parse_timing() 951 if ((scale & 3) != 3) { in parse_timing() [all …]
|
/linux-4.4.14/drivers/hwmon/ |
D | max197.c | 55 bool scale; member 196 if (data->scale) { in max197_show_input() 286 data->scale = true; in max197_probe() 289 data->scale = false; in max197_probe()
|
D | adm1025.c | 94 #define IN_FROM_REG(reg, scale) (((reg) * (scale) + 96) / 192) argument 95 #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ argument 96 (val) * 192 >= (scale) * 255 ? 255 : \ 97 ((val) * 192 + (scale) / 2) / (scale))
|
D | lm87.c | 122 #define IN_FROM_REG(reg, scale) (((reg) * (scale) + 96) / 192) argument 123 #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ argument 124 (val) * 192 >= (scale) * 255 ? 255 : \ 125 ((val) * 192 + (scale) / 2) / (scale))
|
D | nct6683.c | 479 int scale = 16; in in_from_reg() local 483 scale <<= 1; in in_from_reg() 484 return reg * scale; in in_from_reg() 489 int scale = 16; in in_to_reg() local 493 scale <<= 1; in in_to_reg() 495 return clamp_val(DIV_ROUND_CLOSEST(val, scale), 0, 127); in in_to_reg()
|
/linux-4.4.14/drivers/iio/ |
D | inkern.c | 510 int raw, int *processed, unsigned int scale) in iio_convert_raw_to_processed_unlocked() argument 534 *processed += div_s64(raw64 * (s64)scale_val2 * scale, in iio_convert_raw_to_processed_unlocked() 542 *processed += div_s64(raw64 * (s64)scale_val2 * scale, in iio_convert_raw_to_processed_unlocked() 546 *processed = div_s64(raw64 * (s64)scale_val * scale, in iio_convert_raw_to_processed_unlocked() 550 *processed = (raw64 * (s64)scale_val * scale) >> scale_val2; in iio_convert_raw_to_processed_unlocked() 560 int *processed, unsigned int scale) in iio_convert_raw_to_processed() argument 571 scale); in iio_convert_raw_to_processed()
|
/linux-4.4.14/net/ipv4/ |
D | tcp_htcp.c | 185 u32 scale = (HZ << 3) / (10 * minRTT); in htcp_alpha_update() local 188 scale = min(max(scale, 1U << 2), 10U << 3); in htcp_alpha_update() 189 factor = (factor << 3) / scale; in htcp_alpha_update()
|
D | tcp_cubic.c | 314 u32 scale = beta_scale; in bictcp_update() local 316 delta = (cwnd * scale) >> 3; in bictcp_update()
|
/linux-4.4.14/arch/x86/kernel/ |
D | apb_timer.c | 365 int i, scale; in apbt_quick_calibrate() local 407 scale = (int)div_u64((t2 - t1), loop >> shift); in apbt_quick_calibrate() 408 khz = (scale * (apbt_freq / 1000)) >> shift; in apbt_quick_calibrate()
|
/linux-4.4.14/kernel/time/ |
D | clocksource.c | 661 void __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq) in __clocksource_update_freq_scale() argument 681 do_div(sec, scale); in __clocksource_update_freq_scale() 688 NSEC_PER_SEC / scale, sec * scale); in __clocksource_update_freq_scale() 728 int __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq) in __clocksource_register_scale() argument 732 __clocksource_update_freq_scale(cs, scale, freq); in __clocksource_register_scale()
|
D | timeconst.bc | 1 scale=0
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-bus-event_source-devices-events | 36 and '.scale') in the 'events' directory describes a single 73 (once multiplied by <event>.scale) represents. 79 What: /sys/bus/event_source/devices/<pmu>/events/<event>.scale
|
D | sysfs-bus-iio | 84 application of scale and offset are millivolts. 100 of scale and offset are millivolts. 112 application of scale and offset are milliamps. 119 application of scale and offset are nanofarads. 130 of scale and offset are nanofarads. 146 less measurements. Units after application of scale and offset 164 after application of scale and offset are m/s^2. 174 Units after application of scale and offset are radians per 185 and scale to degrees. 195 then scale to Gauss. [all …]
|
/linux-4.4.14/include/linux/ |
D | clocksource.h | 200 __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq); 202 __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq);
|
D | bootmem.h | 346 int scale,
|
/linux-4.4.14/drivers/mfd/ |
D | wm8350-core.c | 188 int wm8350_read_auxadc(struct wm8350 *wm8350, int channel, int scale, int vref) in wm8350_read_auxadc() argument 195 && (scale != 0 || vref != 0)) in wm8350_read_auxadc() 204 if (scale || vref) { in wm8350_read_auxadc() 205 reg = scale << 13; in wm8350_read_auxadc()
|
/linux-4.4.14/include/linux/mfd/ |
D | lp8788.h | 261 enum lp8788_isink_scale scale; member 276 enum lp8788_isink_scale scale; member
|
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/ |
D | lmedm04.c | 276 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lme2510_update_stats() 278 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lme2510_update_stats() 280 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lme2510_update_stats() 282 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lme2510_update_stats() 286 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lme2510_update_stats() 288 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lme2510_update_stats() 308 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in lme2510_update_stats() 312 c->cnr.stat[0].scale = FE_SCALE_RELATIVE; in lme2510_update_stats() 953 if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) in dm04_read_signal_strength() 969 if (c->cnr.stat[0].scale == FE_SCALE_RELATIVE) in dm04_read_snr()
|
/linux-4.4.14/Documentation/hwmon/ |
D | abituguru-datasheet | 200 Volt sensors use a linear scale, a reading 0 corresponds with 0 volt and a 206 Temp sensors also use a linear scale, a reading of 0 corresponds with 0 degree 237 Temp sensor: warning threshold (scale as bank 0x21) 238 Volt sensor: min threshold (scale as bank 0x21) 241 Temp sensor: shutdown threshold (scale as bank 0x21) 242 Volt sensor: max threshold (scale as bank 0x21) 267 Low threshold temp (scale as bank 0x21) 270 High threshold temp (scale as bank 0x21) 299 min threshold (scale as bank 0x26)
|
D | tmp103 | 17 wafer chip-scale package (WCSP). The TMP103 is capable of reading
|
D | adm1026 | 62 dedicated inputs. There are several inputs scaled to 0-3V full-scale range 64 a 0-2.5V full-scale range. A 2.5V or 1.82V reference voltage is provided
|
D | ads1015 | 45 - pga is the programmable gain amplifier (values are full scale)
|
D | max197 | 42 4 RNG Full-scale voltage magnitude at the input
|
D | adt7462 | 63 The ADT7462 will scale the pwm between the lower and higher pwm speed when
|
D | adt7470 | 62 The ADT7470 will scale the pwm between the lower and higher pwm speed when
|
D | ina209 | 22 calibration multiplier to scale the displayed current and power values.
|
D | k10temp | 67 arbitrary scale measured in degrees. It does _not_ represent an actual
|
D | adt7475 | 101 The ADT747x will scale the PWM linearly between the lower and higher PWM
|
D | f71882fg | 104 Since both modes work in a 0-100% (mapped to 0-255) scale, there isn't a
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_rect.c | 101 int scale = 0; in drm_calc_scale() local 109 scale = src / dst; in drm_calc_scale() 111 return scale; in drm_calc_scale()
|
/linux-4.4.14/include/linux/platform_data/ |
D | video-nuc900fb.h | 67 unsigned int scale; member
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
D | ipu-ic.c | 179 u8 scale:2; /* scale coefficients * 2^(scale-1) */ member 195 .scale = 1, 205 .scale = 2, 220 .scale = 2, 257 param = ((a[0] & 0x1fe0) >> 5) | (params->scale << 8) | in init_csc()
|
/linux-4.4.14/drivers/iio/imu/ |
D | adis16480.c | 390 const struct iio_chan_spec *chan, int scale) in adis16480_set_calibscale() argument 395 if (scale < -0x8000 || scale >= 0x8000) in adis16480_set_calibscale() 398 return adis_write_reg_16(&st->adis, reg, scale); in adis16480_set_calibscale() 402 const struct iio_chan_spec *chan, int *scale) in adis16480_get_calibscale() argument 413 *scale = sign_extend32(val16, 15); in adis16480_get_calibscale()
|
/linux-4.4.14/tools/perf/ |
D | builtin-stat.c | 133 .scale = true, 158 if (stat_config.scale) in create_perf_stat_counter() 524 double sc = evsel->scale; in abs_printout() 621 uval = val * counter->scale; in print_aggr() 652 uval = val * counter->scale; in print_aggr_thread() 702 uval = avg * counter->scale; in print_counter_aggr() 755 uval = val * counter->scale; in print_counter() 951 OPT_BOOLEAN('c', "scale", &stat_config.scale, "scale/normalize counters"),
|
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 1107 static const u8 scale = 15; in log1_times100() local 1161 if ((x & (((u32) (-1)) << (scale + 1))) == 0) { in log1_times100() 1162 for (k = scale; k > 0; k--) { in log1_times100() 1163 if (x & (((u32) 1) << scale)) in log1_times100() 1168 for (k = scale; k < 31; k++) { in log1_times100() 1169 if ((x & (((u32) (-1)) << (scale + 1))) == 0) in log1_times100() 1179 y = k * ((((u32) 1) << scale) * 200); in log1_times100() 1182 x &= ((((u32) 1) << scale) - 1); in log1_times100() 1184 i = (u8) (x >> (scale - index_width)); in log1_times100() 1186 d = x & ((((u32) 1) << (scale - index_width)) - 1); in log1_times100() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/spi/ |
D | spi_oc_tiny.txt | 8 - baud-width: width, in bits, of the programmable divider used to scale
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | ar9003_paprd.c | 74 unsigned int power, scale, delta; in ar9003_get_training_power_2g() local 76 scale = ar9003_get_paprd_scale_factor(ah, chan); in ar9003_get_training_power_2g() 88 if (delta > scale) in ar9003_get_training_power_2g() 102 unsigned int power, scale, delta; in ar9003_get_training_power_5g() local 104 scale = ar9003_get_paprd_scale_factor(ah, chan); in ar9003_get_training_power_5g() 113 power += scale; in ar9003_get_training_power_5g() 115 if (delta > scale) in ar9003_get_training_power_5g()
|
/linux-4.4.14/fs/logfs/ |
D | Kconfig | 9 Flash filesystem aimed to scale efficiently to large devices.
|
/linux-4.4.14/drivers/media/platform/sti/bdisp/ |
D | bdisp-hw.c | 31 bool scale; /* Scale */ member 403 c->scale = true; in bdisp_hw_get_op_cfg() 405 c->scale = false; in bdisp_hw_get_op_cfg() 529 node->ins |= (cfg->scale || cfg->src_420 || cfg->dst_420) ? in bdisp_hw_build_node() 634 if (cfg->scale) { in bdisp_hw_build_node()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | visemul.c | 479 unsigned long rs1, rs2, gsr, scale, rd_val; in pformat() local 482 scale = (gsr >> 3) & (opf == FPACK16_OPF ? 0xf : 0x1f); in pformat() 492 int scaled = src << scale; in pformat() 515 s64 scaled = src << scale; in pformat() 538 s64 scaled = src << scale; in pformat()
|
/linux-4.4.14/drivers/sbus/char/ |
D | envctrl.c | 148 unsigned int scale; member 328 int scale, char *tbl, char *bufdata) in envctrl_i2c_data_translate() argument 347 sprintf(bufdata,"%d ", (tbl[data] * 10) / (scale)); in envctrl_i2c_data_translate() 390 pchild->tblprop_array[i].scale, in envctrl_read_cpu_info() 421 pchild->tblprop_array[i].scale, in envctrl_read_noncpu_info()
|
/linux-4.4.14/tools/testing/selftests/zram/ |
D | zram01.sh | 79 echo "zram compression ratio: $(echo "scale=2; $v / 100 " | bc):1: OK"
|
/linux-4.4.14/include/linux/iio/ |
D | consumer.h | 207 int *processed, unsigned int scale);
|
/linux-4.4.14/include/linux/mfd/wm8350/ |
D | comparator.h | 172 int wm8350_read_auxadc(struct wm8350 *wm8350, int channel, int scale,
|
/linux-4.4.14/arch/m68k/fpsp040/ |
D | Makefile | 8 smovecr.o srem_mod.o scale.o \
|
D | scale.S | 2 | scale.sa 3.3 7/30/91 15 | Output: The function returns scale(X,Y) to fp0.
|
D | gen_except.S | 245 | Only scosh, setox, ssinh, stwotox, and scale can set overflow in 248 | Stwotox, setox, and scale can set underflow in this manner.
|
/linux-4.4.14/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 209 position[i] = (position[i] * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_get_xyz() 712 max_val = (lis3->mdps_max_val * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_joystick_enable() 720 fuzz = (fuzz * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_joystick_enable() 721 flat = (flat * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_joystick_enable() 1133 lis3->scale = LIS3_SENSITIVITY_12B; in lis3lv02d_init_device() 1144 lis3->scale = LIS3_SENSITIVITY_8B; in lis3lv02d_init_device() 1155 lis3->scale = LIS3_SENSITIVITY_8B; in lis3lv02d_init_device() 1165 lis3->scale = LIS3DLH_SENSITIVITY_2G; in lis3lv02d_init_device()
|
D | lis3lv02d.h | 292 int scale; /* member
|
/linux-4.4.14/drivers/iio/accel/ |
D | mxc4005.c | 82 int scale; member 188 return mxc4005_scale_table[i].scale; in mxc4005_read_scale() 198 if (mxc4005_scale_table[i].scale == val) { in mxc4005_set_scale()
|
D | bma180.c | 120 int scale; member 271 data->scale = val; in bma180_set_scale() 491 *val2 = data->scale; in bma180_read_raw()
|
D | kxcjk-1013.c | 194 u16 scale; member 662 if (KXCJK1013_scale_table[i].scale == val) { in kxcjk1013_set_scale() 724 *val2 = KXCJK1013_scale_table[data->range].scale; in kxcjk1013_read_raw()
|
D | bmc150-accel-core.c | 151 int scale; member 506 if (data->chip_info->scale_table[i].scale == val) { in bmc150_accel_set_scale() 619 *val2 = si->scale; in bmc150_accel_read_raw()
|
/linux-4.4.14/drivers/gpu/drm/sti/ |
D | sti_hqvdp.c | 430 static void sti_hqvdp_update_hvsrc(enum sti_hvsrc_orient orient, int scale, in sti_hqvdp_update_hvsrc() argument 437 if (scale < SCALE_MAX_FOR_LEG_LUT_F) { in sti_hqvdp_update_hvsrc() 442 } else if (scale < SCALE_MAX_FOR_LEG_LUT_E) { in sti_hqvdp_update_hvsrc() 447 } else if (scale < SCALE_MAX_FOR_LEG_LUT_D) { in sti_hqvdp_update_hvsrc() 452 } else if (scale < SCALE_MAX_FOR_LEG_LUT_C) { in sti_hqvdp_update_hvsrc() 457 } else if (scale == SCALE_MAX_FOR_LEG_LUT_C) { in sti_hqvdp_update_hvsrc()
|
/linux-4.4.14/Documentation/ |
D | logo.txt | 8 scale down to smaller sizes and are better for letterheads or whatever
|
D | kasan.txt | 150 (e.g. 16TB to cover 128TB on x86_64) and uses direct mapping with a scale and
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_rapl.c | 434 RAPL_EVENT_ATTR_STR(energy-cores.scale, rapl_cores_scale, "2.3283064365386962890625e-10"); 435 RAPL_EVENT_ATTR_STR(energy-pkg.scale, rapl_pkg_scale, "2.3283064365386962890625e-10"); 436 RAPL_EVENT_ATTR_STR(energy-ram.scale, rapl_ram_scale, "2.3283064365386962890625e-10"); 437 RAPL_EVENT_ATTR_STR(energy-gpu.scale, rapl_gpu_scale, "2.3283064365386962890625e-10");
|
D | perf_event_intel_cqm.c | 1145 EVENT_ATTR_STR(llc_occupancy.scale, intel_cqm_llc_scale, NULL); 1318 char *str, scale[20]; in intel_cqm_init() local 1360 snprintf(scale, sizeof(scale), "%u", cqm_l3_scale); in intel_cqm_init() 1361 str = kstrdup(scale, GFP_KERNEL); in intel_cqm_init()
|
D | perf_event_intel_uncore_snb.c | 180 INTEL_UNCORE_EVENT_DESC(data_reads.scale, "6.103515625e-5"), 184 INTEL_UNCORE_EVENT_DESC(data_writes.scale, "6.103515625e-5"),
|
D | perf_event_intel_uncore_snbep.c | 452 INTEL_UNCORE_EVENT_DESC(cas_count_read.scale, "6.103515625e-5"), 455 INTEL_UNCORE_EVENT_DESC(cas_count_write.scale, "6.103515625e-5"), 2070 INTEL_UNCORE_EVENT_DESC(cas_count_read.scale, "6.103515625e-5"), 2073 INTEL_UNCORE_EVENT_DESC(cas_count_write.scale, "6.103515625e-5"),
|
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
D | dfp.c | 379 uint32_t diff, scale; in nv04_dfp_mode_set() local 387 scale = (1 << 12) * adjusted_mode->vdisplay / output_mode->vdisplay; in nv04_dfp_mode_set() 389 XLATE(scale, divide_by_2, NV_PRAMDAC_FP_DEBUG_1_XSCALE_VALUE); in nv04_dfp_mode_set() 403 scale = (1 << 12) * adjusted_mode->hdisplay / output_mode->hdisplay; in nv04_dfp_mode_set() 405 XLATE(scale, divide_by_2, NV_PRAMDAC_FP_DEBUG_1_YSCALE_VALUE); in nv04_dfp_mode_set()
|
/linux-4.4.14/drivers/media/tuners/ |
D | si2157.c | 212 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2157_init() 395 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in si2157_stat_work() 401 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2157_stat_work()
|
D | mxl301rf.c | 88 rssi->stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mxl301rf_get_rf_strength() 112 rssi->stat[0].scale = FE_SCALE_DECIBEL; in mxl301rf_get_rf_strength()
|
/linux-4.4.14/drivers/iio/light/ |
D | ltr501.c | 103 int scale; member 680 *val = data->chip_info->als_gain[i].scale; in ltr501_read_raw() 686 *val = data->chip_info->ps_gain[i].scale; in ltr501_read_raw() 718 if (val == gain[i].scale && val2 == gain[i].uscale) in ltr501_get_gain_index() 1061 if (info->ps_gain[i].scale == LTR501_RESERVED_GAIN) in ltr501_show_proximity_scale_avail() 1064 info->ps_gain[i].scale, in ltr501_show_proximity_scale_avail() 1083 if (info->als_gain[i].scale == LTR501_RESERVED_GAIN) in ltr501_show_intensity_scale_avail() 1086 info->als_gain[i].scale, in ltr501_show_intensity_scale_avail()
|
D | rpr0521.c | 62 int scale; member 290 *val = rpr0521_gain[chan].gain[idx].scale; in rpr0521_get_gain() 303 if (val == rpr0521_gain[chan].gain[i].scale && in rpr0521_set_gain()
|
D | opt3001.c | 152 const struct opt3001_scale *scale = &opt3001_scales[i]; in opt3001_find_scale() local 160 (scale->val * 1000 + scale->val2 / 1000)) { in opt3001_find_scale()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_legacy_crtc.c | 58 u32 scale, inc, crtc_more_cntl; in radeon_legacy_rmx_mode_set() local 132 scale = ((xres + inc) * RADEON_HORZ_STRETCH_RATIO_MAX) in radeon_legacy_rmx_mode_set() 134 fp_horz_stretch |= (((scale) & RADEON_HORZ_STRETCH_RATIO_MASK) | in radeon_legacy_rmx_mode_set() 144 scale = ((yres + inc) * RADEON_VERT_STRETCH_RATIO_MAX) in radeon_legacy_rmx_mode_set() 146 fp_vert_stretch |= (((scale) & RADEON_VERT_STRETCH_RATIO_MASK) | in radeon_legacy_rmx_mode_set()
|
/linux-4.4.14/drivers/staging/iio/accel/ |
D | sca3000.h | 209 unsigned int scale; member
|
D | sca3000_core.c | 45 .scale = 7357, 54 .scale = 9810, 62 .scale = 19620, 72 .scale = 61313, 491 *val2 = st->info->scale; in sca3000_read_raw()
|
D | sca3000_ring.c | 211 return sprintf(buf, "0.%06d\n", 4 * st->info->scale); in sca3000_show_buffer_scale()
|
/linux-4.4.14/drivers/macintosh/ |
D | windfarm_pm81.c | 251 s32 scale; member 428 wf_smu_cpu_fans->scale = WF_SMU_CPU_FANS_SIBLING_SCALE; in wf_smu_create_cpu_fans() 516 systarget = ((((s64)systarget) * (s64)st->scale) >> 12) in wf_smu_cpu_fans_tick()
|
/linux-4.4.14/Documentation/devicetree/bindings/iio/light/ |
D | us5182d.txt | 11 counts) corresponding to every scale.
|
/linux-4.4.14/drivers/net/irda/ |
D | via-ircc.h | 502 static void Sdelay(__u16 scale) in Sdelay() argument 507 for (j = 0; j < scale; j++) { in Sdelay() 515 static void Tdelay(__u16 scale) in Tdelay() argument 520 for (j = 0; j < scale; j++) { in Tdelay()
|
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/ |
D | ads1015.txt | 18 - pga is the programmable gain amplifier (values are full scale)
|
/linux-4.4.14/arch/m68k/ifpsp060/src/ |
D | fpsp.S | 9573 # fp0 = scale(X,Y) # 10166 # Entry point for scale w/ extended denorm. The function does 10269 # - t_ovfl_sc() is provided for scale() which only sets # 11528 # scale_to_zero_src() - scale src exponent to zero # 11529 # scale_to_zero_dst() - scale dst exponent to zero # 11547 # For norms/denorms, scale the exponents such that a multiply # 11642 sub.l %d0,%d1 # add scale factor 12025 # scale_to_zero_src() - scale src exponent to zero # 12043 # sgl/dbl, must scale exponent and perform an "fmove". Check to see # 12284 sub.l %d0,%d1 # add scale factor [all …]
|
D | isp.S | 1358 andi.l &0x3,%d2 # extract scale value 1360 lsl.l %d2,%d1 # shift index by scale
|
/linux-4.4.14/drivers/acpi/ |
D | sbs.c | 122 int scale = 1; in battery_scale() local 124 scale *= 10; in battery_scale() 125 return scale; in battery_scale()
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptfc.c | 1185 int scale; in mptfc_probe() local 1275 scale = ioc->req_sz/ioc->SGE_size; in mptfc_probe() 1277 numSGE = (scale - 1) * in mptfc_probe() 1278 (ioc->facts.MaxChainDepth-1) + scale + in mptfc_probe() 1281 numSGE = 1 + (scale - 1) * in mptfc_probe() 1282 (ioc->facts.MaxChainDepth-1) + scale + in mptfc_probe()
|
D | mptspi.c | 1366 int scale; in mptspi_probe() local 1475 scale = ioc->req_sz/ioc->SGE_size; in mptspi_probe() 1477 numSGE = (scale - 1) * in mptspi_probe() 1478 (ioc->facts.MaxChainDepth-1) + scale + in mptspi_probe() 1481 numSGE = 1 + (scale - 1) * in mptspi_probe() 1482 (ioc->facts.MaxChainDepth-1) + scale + in mptspi_probe()
|
D | mptbase.c | 4299 int scale, num_sge, numSGE; in initChainBuffers() local 4335 scale = ioc->req_sz / ioc->SGE_size; in initChainBuffers() 4337 num_sge = scale + (ioc->req_sz - 60) / ioc->SGE_size; in initChainBuffers() 4339 num_sge = 1 + scale + (ioc->req_sz - 64) / ioc->SGE_size; in initChainBuffers() 4342 numSGE = (scale - 1) * (ioc->facts.MaxChainDepth-1) + scale + in initChainBuffers() 4345 numSGE = 1 + (scale - 1) * (ioc->facts.MaxChainDepth-1) + in initChainBuffers() 4346 scale + (ioc->req_sz - 64) / ioc->SGE_size; in initChainBuffers() 4362 num_sge += (scale - 1); in initChainBuffers()
|
D | mptsas.c | 5138 int scale; in mptsas_probe() local 5233 scale = ioc->req_sz/ioc->SGE_size; in mptsas_probe() 5235 numSGE = (scale - 1) * in mptsas_probe() 5236 (ioc->facts.MaxChainDepth-1) + scale + in mptsas_probe() 5239 numSGE = 1 + (scale - 1) * in mptsas_probe() 5240 (ioc->facts.MaxChainDepth-1) + scale + in mptsas_probe()
|
/linux-4.4.14/drivers/media/usb/s2255/ |
D | s2255drv.c | 148 u32 scale; /* output video scale */ member 876 mode.scale = SCALE_4CIFSI; in vidioc_s_fmt_vid_cap() 878 mode.scale = SCALE_4CIFS; in vidioc_s_fmt_vid_cap() 880 mode.scale = SCALE_2CIFS; in vidioc_s_fmt_vid_cap() 883 mode.scale = SCALE_1CIFS; in vidioc_s_fmt_vid_cap() 910 else if (mode.scale != vc->mode.scale) in vidioc_s_fmt_vid_cap() 946 switch (mode->scale) { in get_transfer_size() 964 switch (mode->scale) { in get_transfer_size() 1002 dev_info(dev, "format: %d\nscale %d\n", mode->format, mode->scale); in s2255_print_cfg()
|
/linux-4.4.14/Documentation/devicetree/bindings/clock/ |
D | mt8173-cpu-dvfs.txt | 16 needs to do "voltage tracking" to step by step scale up/down Vproc and
|
D | nvidia,tegra124-dfll.txt | 46 - nvidia,cg-scale: Boolean value, see the field DFLL_PARAMS_CG_SCALE in the TRM.
|
/linux-4.4.14/drivers/hv/ |
D | hv.c | 151 u64 scale = tsc_pg->tsc_scale; in read_hv_clock_tsc() local 158 : "a" (cur_tsc), "r" (scale)); in read_hv_clock_tsc()
|
/linux-4.4.14/include/uapi/drm/ |
D | exynos_drm.h | 188 __u32 scale; member
|
/linux-4.4.14/drivers/video/fbdev/nvidia/ |
D | nv_type.h | 60 u32 scale; member
|
D | nvidia.c | 418 state->scale = NV_RD32(par->PRAMDAC, 0x00000848) & 0xfff000ff; in nvidia_calc_regs() 424 state->scale |= (1 << 8); in nvidia_calc_regs()
|
D | nv_hw.c | 1599 NV_WR32(par->PRAMDAC, 0x0848, state->scale); in NVLoadStateExt() 1652 state->scale = NV_RD32(par->PRAMDAC, 0x0848); in NVUnloadStateExt()
|
/linux-4.4.14/include/linux/iio/common/ |
D | st_sensors.h | 282 int st_sensors_set_fullscale_by_gain(struct iio_dev *indio_dev, int scale);
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | sn9c20x.c | 1991 u8 fmt, scale = 0; in sd_start() local 2007 scale = 0xc0; in sd_start() 2011 scale = 0x80; in sd_start() 2015 scale = 0x90; in sd_start() 2019 scale = 0xa0; in sd_start() 2029 reg_w1(gspca_dev, 0x1189, scale); in sd_start()
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-stat.txt | 62 --scale:: 63 scale/normalize counter values
|
/linux-4.4.14/drivers/clk/tegra/ |
D | clk-dfll.c | 679 int scale; in dfll_calculate_rate_request() local 681 scale = DIV_ROUND_CLOSEST(rate / 1000 * DFLL_FREQ_REQ_SCALE_MAX, in dfll_calculate_rate_request() 683 if (!scale) { in dfll_calculate_rate_request() 688 req->scale_bits = scale - 1; in dfll_calculate_rate_request()
|
/linux-4.4.14/arch/x86/math-emu/ |
D | fpu_trig.c | 1489 long scale; in fscale() local 1516 scale = signnegative(st1_ptr) ? -tmp.sigl : tmp.sigl; in fscale() 1517 scale += exponent16(st0_ptr); in fscale() 1519 setexponent16(st0_ptr, scale); in fscale()
|
/linux-4.4.14/drivers/input/mouse/ |
D | psmouse.h | 75 void (*set_scale)(struct psmouse *psmouse, enum psmouse_scale scale);
|
D | focaltech.c | 404 enum psmouse_scale scale) in focaltech_set_scale() argument
|
D | psmouse-base.c | 461 static void psmouse_set_scale(struct psmouse *psmouse, enum psmouse_scale scale) in psmouse_set_scale() argument 464 scale == PSMOUSE_SCALE21 ? PSMOUSE_CMD_SETSCALE21 : in psmouse_set_scale()
|
/linux-4.4.14/arch/x86/crypto/ |
D | crct10dif-pcl-asm_64.S | 74 # adjust the 16-bit initial_crc value, scale it to 32 bits
|
/linux-4.4.14/drivers/input/ |
D | Kconfig | 129 screen resolution you are using to correctly scale the data. If 139 screen resolution you are using to correctly scale the data. If
|
/linux-4.4.14/drivers/powercap/ |
D | intel_rapl.c | 670 u64 scale = 1; in rapl_unit_xlate() local 681 scale = ENERGY_UNIT_SCALE; in rapl_unit_xlate() 696 return div64_u64(value, units) * scale; in rapl_unit_xlate() 700 return div64_u64(value, scale); in rapl_unit_xlate()
|
/linux-4.4.14/drivers/staging/lustre/ |
D | README.txt | 10 can scale to thousands of clients, petabytes of storage and
|
/linux-4.4.14/include/uapi/sound/ |
D | asoc.h | 159 struct snd_soc_tplg_tlv_dbscale scale; member
|
/linux-4.4.14/drivers/iio/gyro/ |
D | bmg160_core.c | 131 int scale; member 407 if (bmg160_scale_table[i].scale == val) { in bmg160_set_scale() 522 *val2 = bmg160_scale_table[i].scale; in bmg160_read_raw()
|
/linux-4.4.14/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 418 int st_sensors_set_fullscale_by_gain(struct iio_dev *indio_dev, int scale) in st_sensors_set_fullscale_by_gain() argument 424 if ((sdata->sensor_settings->fs.fs_avl[i].gain == scale) && in st_sensors_set_fullscale_by_gain()
|
/linux-4.4.14/Documentation/leds/ |
D | leds-class-flash.txt | 47 LED current scale.
|
/linux-4.4.14/Documentation/networking/mac80211_hwsim/ |
D | README | 30 point and a station) or large scale tests (multiple access points with
|
/linux-4.4.14/sound/soc/ |
D | soc-topology.c | 625 struct snd_kcontrol_new *kc, struct snd_soc_tplg_tlv_dbscale *scale) in soc_tplg_create_tlv_db_scale() argument 636 p[2] = scale->min; in soc_tplg_create_tlv_db_scale() 637 p[3] = (scale->step & TLV_DB_SCALE_MASK) in soc_tplg_create_tlv_db_scale() 638 | (scale->mute ? TLV_DB_SCALE_MUTE : 0); in soc_tplg_create_tlv_db_scale() 657 &tplg_tlv->scale); in soc_tplg_create_tlv()
|
/linux-4.4.14/include/uapi/linux/dvb/ |
D | frontend.h | 448 __u8 scale; /* enum fecap_scale_params type */ member
|
/linux-4.4.14/sound/usb/ |
D | mixer.c | 540 DECLARE_TLV_DB_MINMAX(scale, 0, 0); in snd_usb_mixer_vol_tlv() 542 if (size < sizeof(scale)) in snd_usb_mixer_vol_tlv() 544 scale[2] = cval->dBmin; in snd_usb_mixer_vol_tlv() 545 scale[3] = cval->dBmax; in snd_usb_mixer_vol_tlv() 546 if (copy_to_user(_tlv, scale, sizeof(scale))) in snd_usb_mixer_vol_tlv()
|
D | mixer_quirks.c | 1838 static const DECLARE_TLV_DB_RANGE(scale, in snd_dragonfly_quirk_db_scale() 1852 kctl->tlv.p = scale; in snd_dragonfly_quirk_db_scale()
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2.c | 72 int sx, int sy, int ex, int ey, int scale) in solo_win_setup() argument 82 SOLO_VI_WIN_SCALE(scale)); in solo_win_setup()
|
/linux-4.4.14/Documentation/filesystems/ |
D | xfs-self-describing-metadata.txt | 10 adequate for supporting PB scale filesystems with billions of inodes, however it 25 few days to perform such forensic analysis, so for at this scale root cause 28 However, if we scale the filesystem up to 1PB, we now have 10x as much metadata 32 concern for supporting PB scale filesystems is minimising the time and effort
|
D | ocfs2.txt | 92 dir_resv_level= (*) By default, directory reservations will scale with file
|
D | ubifs.txt | 72 would scale logarithmically as well. UBI2 would support the same API as UBI,
|
D | btrfs.txt | 12 are becoming common in today's data centers. Filesystems need to scale
|
/linux-4.4.14/arch/arm/mach-w90x900/ |
D | dev.c | 446 .scale = 0x04000400,
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_panel.c | 407 static uint32_t scale(uint32_t source_val, in scale() function 433 return scale(user_level, 0, user_max, in scale_user_to_hw() 445 hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max); in clamp_user_to_hw() 457 return scale(hw_level, panel->backlight.min, panel->backlight.max, in scale_hw_to_user() 1435 return scale(min, 0, 255, 0, panel->backlight.max); in get_backlight_min_vbt()
|
/linux-4.4.14/Documentation/misc-devices/ |
D | lis3lv02d | 38 mode, joystick and sysfs position entry have the same scale. There can be
|
/linux-4.4.14/Documentation/input/ |
D | amijoy.txt | 151 give a full scale (FF) reading with about 500kohms in one
|
D | atarikbd.txt | 96 for each multiple of the scale factor. 283 This command sets the scale factor for the ABSOLUTE MOUSE POSITIONING mode. 578 0x8C mouse scale
|
/linux-4.4.14/drivers/video/fbdev/riva/ |
D | riva_hw.h | 502 U032 scale; member
|
D | fbdev.c | 788 newmode.ext.scale = NV_RD32(par->riva.PRAMDAC, 0x00000848) & in riva_load_video_mode() 792 newmode.ext.scale |= (1 << 8); in riva_load_video_mode() 812 newmode.ext.scale |= (1 << 8); in riva_load_video_mode()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_nx.c | 1325 int scale, shift_amount, startword; in qla82xx_pci_mem_write_2M() local 1348 scale = 2; in qla82xx_pci_mem_write_2M() 1353 (i << shift_amount), &word[i * scale], 8)) in qla82xx_pci_mem_write_2M() 1390 temp = word[i * scale] & 0xffffffff; in qla82xx_pci_mem_write_2M() 1392 temp = (word[i * scale] >> 32) & 0xffffffff; in qla82xx_pci_mem_write_2M() 1394 temp = word[i*scale + 1] & 0xffffffff; in qla82xx_pci_mem_write_2M() 1397 temp = (word[i*scale + 1] >> 32) & 0xffffffff; in qla82xx_pci_mem_write_2M()
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 1459 int scale, shift_amount, startword; in qla4_82xx_pci_mem_write_2M() local 1482 scale = 2; in qla4_82xx_pci_mem_write_2M() 1487 (i << shift_amount), &word[i * scale], 8)) in qla4_82xx_pci_mem_write_2M() 1525 temp = word[i * scale] & 0xffffffff; in qla4_82xx_pci_mem_write_2M() 1527 temp = (word[i * scale] >> 32) & 0xffffffff; in qla4_82xx_pci_mem_write_2M() 1529 temp = word[i*scale + 1] & 0xffffffff; in qla4_82xx_pci_mem_write_2M() 1532 temp = (word[i*scale + 1] >> 32) & 0xffffffff; in qla4_82xx_pci_mem_write_2M()
|
/linux-4.4.14/drivers/md/ |
D | md.h | 661 extern int strict_strtoul_scaled(const char *cp, unsigned long *res, int scale);
|
D | md.c | 3341 int strict_strtoul_scaled(const char *cp, unsigned long *res, int scale) in strict_strtoul_scaled() argument 3348 else if (decimals < scale) { in strict_strtoul_scaled() 3363 while (decimals < scale) { in strict_strtoul_scaled() 7223 int scale; in status_resync() local 7258 scale = 10; in status_resync() 7260 while ( max_sectors/2 > (1ULL<<(scale+32))) in status_resync() 7261 scale++; in status_resync() 7263 res = (resync>>scale)*1000; in status_resync() 7264 sector_div(res, (u32)((max_sectors>>scale)+1)); in status_resync()
|
/linux-4.4.14/kernel/sched/ |
D | fair.c | 4317 int i, scale; in __update_cpu_load() local 4323 for (i = 1, scale = 2; i < CPU_LOAD_IDX_MAX; i++, scale += scale) { in __update_cpu_load() 4337 new_load += scale - 1; in __update_cpu_load() 4339 this_rq->cpu_load[i] = (old_load * (scale - 1) + new_load) >> i; in __update_cpu_load() 5119 int scale = cfs_rq->nr_running >= sched_nr_latency; in check_preempt_wakeup() local 5134 if (sched_feat(NEXT_BUDDY) && scale && !(wake_flags & WF_FORK)) { in check_preempt_wakeup() 5193 if (sched_feat(LAST_BUDDY) && scale && entity_is_task(se)) in check_preempt_wakeup()
|
/linux-4.4.14/drivers/cpufreq/ |
D | Kconfig.arm | 251 is based on an abstract continuous scale of CPU
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | phy_lp.c | 2508 u16 old_comm15, scale; in lpphy_b2063_tune() local 2586 scale = 1; in lpphy_b2063_tune() 2589 scale = 0; in lpphy_b2063_tune() 2593 b43_radio_maskset(dev, B2063_PLL_JTAG_PLL_CP2, 0xFFBF, scale << 6); in lpphy_b2063_tune() 2596 tmp6 *= (tmp5 * 8) * (scale + 1); in lpphy_b2063_tune() 2601 b43_radio_maskset(dev, B2063_PLL_JTAG_PLL_CP3, 0xFFDF, scale << 5); in lpphy_b2063_tune()
|
D | phy_n.c | 1666 static void b43_nphy_scale_offset_rssi(struct b43_wldev *dev, u16 scale, in b43_nphy_scale_offset_rssi() argument 1676 tmp = ((scale & 0x3F) << 8) | (offset & 0x3F); in b43_nphy_scale_offset_rssi() 4941 u16 scale, entry; in b43_nphy_update_tx_cal_ladder() local 4949 scale = (ladder_lo[i].percent * tmp) / 100; in b43_nphy_update_tx_cal_ladder() 4950 entry = ((scale & 0xFF) << 8) | ladder_lo[i].g_env; in b43_nphy_update_tx_cal_ladder() 4953 scale = (ladder_iq[i].percent * tmp) / 100; in b43_nphy_update_tx_cal_ladder() 4954 entry = ((scale & 0xFF) << 8) | ladder_iq[i].g_env; in b43_nphy_update_tx_cal_ladder()
|
/linux-4.4.14/Documentation/locking/ |
D | lglock.txt | 131 * lg_global_lock/unlock is *very* expensive and does not scale
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_gsc.c | 1363 prop_list->scale = 1; in gsc_init_prop_list() 1457 if ((i == EXYNOS_DRM_OPS_DST) && (pp->scale)) { in gsc_ippdrv_check_property()
|
D | exynos_drm_rotator.c | 483 prop_list->scale = 0; in rotator_init_prop_list()
|
D | exynos_drm_fimc.c | 1263 prop_list->scale = 1; in fimc_init_prop_list() 1357 if ((i == EXYNOS_DRM_OPS_DST) && (pp->scale)) { in fimc_ippdrv_check_property()
|
/linux-4.4.14/Documentation/arm/ |
D | vlocks.txt | 92 * Like other similar mechanisms, vlocks will not scale well to a large
|
/linux-4.4.14/Documentation/power/regulator/ |
D | consumer.txt | 71 voltage to match system operating points. e.g. CPUfreq drivers can scale
|
/linux-4.4.14/drivers/video/fbdev/ |
D | nuc900fb.c | 144 fbi->regs.lcd_va_scale = display->scale; in nuc900fb_check_var()
|
/linux-4.4.14/Documentation/isdn/ |
D | README.x25 | 12 have not been tested in a large scale. Therefore, you might encounter
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | ich8lan.c | 1016 u16 speed, duplex, scale = 0; in e1000_platform_pm_pch_lpt() local 1050 scale++; in e1000_platform_pm_pch_lpt() 1053 if (scale > E1000_LTRV_SCALE_MAX) { in e1000_platform_pm_pch_lpt() 1054 e_dbg("Invalid LTR latency scale %d\n", scale); in e1000_platform_pm_pch_lpt() 1057 lat_enc = (u16)((scale << PCI_LTR_SCALE_SHIFT) | value); in e1000_platform_pm_pch_lpt()
|
/linux-4.4.14/Documentation/arm/Samsung-S3C24XX/ |
D | Overview.txt | 148 Any large scale modifications, or new drivers should be discussed
|
/linux-4.4.14/Documentation/thermal/ |
D | intel_powerclamp.txt | 97 on large scale systems (Westmere system with 80 processors).
|
/linux-4.4.14/Documentation/x86/ |
D | intel_mpx.txt | 148 But, it isn't practical at a larger scale since a given app has no
|