/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | windfarm_smu_sensors.c | 92 s64 scaled; in smu_cputemp_get() local 102 scaled = (s64)(((u64)val) * (u64)cpudiode->m_value); in smu_cputemp_get() 103 scaled >>= 3; in smu_cputemp_get() 104 scaled += ((s64)cpudiode->b_value) << 9; in smu_cputemp_get() 105 *value = (s32)(scaled << 1); in smu_cputemp_get() 113 s32 val, scaled; in smu_cpuamp_get() local 124 scaled = (s32)(val * (u32)cpuvcp->curr_scale); in smu_cpuamp_get() 125 scaled += (s32)cpuvcp->curr_offset; in smu_cpuamp_get() 126 *value = scaled << 4; in smu_cpuamp_get() 134 s32 val, scaled; in smu_cpuvolt_get() local 155 s32 val, scaled; smu_slotspow_get() local [all...] |
H A D | windfarm_pm81.c | 26 * - the main control (first control) gets the target value scaled with 29 * scaled with the second pair of factors, and the max of that and 30 * the scaled target is applied to the main control. 70 * systems fan control loop target result (the one before it gets scaled 330 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local 358 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick() 360 DBG("wf_smu: scaled setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick() 364 scaled = max(scaled, cputarge in wf_smu_sys_fans_tick() [all...] |
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | windfarm_smu_sensors.c | 93 s64 scaled; in smu_cputemp_get() local 103 scaled = (s64)(((u64)val) * (u64)cpudiode->m_value); in smu_cputemp_get() 104 scaled >>= 3; in smu_cputemp_get() 105 scaled += ((s64)cpudiode->b_value) << 9; in smu_cputemp_get() 106 *value = (s32)(scaled << 1); in smu_cputemp_get() 114 s32 val, scaled; in smu_cpuamp_get() local 125 scaled = (s32)(val * (u32)cpuvcp->curr_scale); in smu_cpuamp_get() 126 scaled += (s32)cpuvcp->curr_offset; in smu_cpuamp_get() 127 *value = scaled << 4; in smu_cpuamp_get() 135 s32 val, scaled; in smu_cpuvolt_get() local 156 s32 val, scaled; smu_slotspow_get() local [all...] |
H A D | windfarm_pm81.c | 26 * - the main control (first control) gets the target value scaled with 29 * scaled with the second pair of factors, and the max of that and 30 * the scaled target is applied to the main control. 70 * systems fan control loop target result (the one before it gets scaled 331 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local 359 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick() 361 DBG("wf_smu: scaled setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick() 365 scaled = max(scaled, cputarge in wf_smu_sys_fans_tick() [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | visemul.c | 493 int scaled = src << scale; in pformat() local 494 int from_fixed = scaled >> 7; in pformat() 516 s64 scaled = src << scale; in pformat() local 517 s64 from_fixed = scaled >> 23; in pformat() 539 s64 scaled = src << scale; in pformat() local 540 s64 from_fixed = scaled >> 16; in pformat() 606 u16 scaled = ((prod & 0x00ffff00) >> 8); in pmul() local 610 scaled++; in pmul() 611 rd_val |= ((scaled & 0xffffUL) << (byte * 16UL)); in pmul() 631 u16 scaled in pmul() local 656 u16 scaled; pmul() local 686 u16 scaled; pmul() local [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | visemul.c | 493 int scaled = src << scale; in pformat() local 494 int from_fixed = scaled >> 7; in pformat() 516 s64 scaled = src << scale; in pformat() local 517 s64 from_fixed = scaled >> 23; in pformat() 539 s64 scaled = src << scale; in pformat() local 540 s64 from_fixed = scaled >> 16; in pformat() 606 u16 scaled = ((prod & 0x00ffff00) >> 8); in pmul() local 610 scaled++; in pmul() 611 rd_val |= ((scaled & 0xffffUL) << (byte * 16UL)); in pmul() 631 u16 scaled in pmul() local 656 u16 scaled; pmul() local 686 u16 scaled; pmul() local [all...] |
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 117 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED)) 136 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_ELAPSED, C_SCALED)) 247 """ Plot all cpu scaled busy """ 253 g_plot('set title "{} : cpu scaled busy : {:%F %H:%M}"'.format(testname, datetime.now())) 326 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io_boost, common_comm, load, duration_ms, sample_num, elapsed_time, tsc_ghz): 336 string_buffer = "CPU_%03u, %05u, %06u, %u, %u, %u, %u, %u, %u, %u, %.4f, %u, %.2f, %.3f, %u, %.3f, %.3f, %s\n" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(tsc), freq_ghz, int(io_boost), load, duration_ms, sample_num, elapsed_time, tsc_ghz, common_comm) 438 re.search(r'(^(.*?)\[)((\d+)[^\]])(.*?)(\d+)([.])(\d+)(.*?core_busy=)(\d+)(.*?scaled=)(\d+)(.*?from=)(\d+)(.*?to=)(\d+)(.*?mperf=)(\d+)(.*?aperf=)(\d+)(.*?tsc=)(\d+)(.*?freq=)(\d+)' 449 scaled = search_obj.group(12) 484 store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io_boost, common_comm, load, duration_ms, sample_num, elapsed_time, tsc_ghz)
|
/kernel/linux/linux-6.6/tools/lib/perf/tests/ |
H A D | test-evlist.c | 457 s8 scaled = 0; in test_stat_multiplexing() local 533 perf_counts_values__scale(&counts[i], true, &scaled); in test_stat_multiplexing() 534 if (scaled == 1) { in test_stat_multiplexing() 539 } else if (scaled == -1) { in test_stat_multiplexing()
|
/kernel/linux/linux-6.6/tools/lib/perf/ |
H A D | evsel.c | 543 s8 scaled = 0; in perf_counts_values__scale() local 547 scaled = -1; in perf_counts_values__scale() 550 scaled = 1; in perf_counts_values__scale() 556 *pscaled = scaled; in perf_counts_values__scale()
|
/kernel/linux/linux-6.6/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 117 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED)) 136 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_ELAPSED, C_SCALED)) 247 """ Plot all cpu scaled busy """ 253 g_plot('set title "{} : cpu scaled busy : {:%F %H:%M}"'.format(testname, datetime.now())) 326 def store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io_boost, common_comm, load, duration_ms, sample_num, elapsed_time, tsc_ghz, cpu_mask): 336 string_buffer = "CPU_%03u, %05u, %06u, %u, %u, %u, %u, %u, %u, %u, %.4f, %u, %.2f, %.3f, %u, %.3f, %.3f, %s\n" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(tsc), freq_ghz, int(io_boost), load, duration_ms, sample_num, elapsed_time, tsc_ghz, common_comm) 434 re.search(r'(^(.*?)\[)((\d+)[^\]])(.*?)(\d+)([.])(\d+)(.*?core_busy=)(\d+)(.*?scaled=)(\d+)(.*?from=)(\d+)(.*?to=)(\d+)(.*?mperf=)(\d+)(.*?aperf=)(\d+)(.*?tsc=)(\d+)(.*?freq=)(\d+)' 445 scaled = search_obj.group(12) 480 store_csv(cpu_int, time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io_boost, common_comm, load, duration_ms, sample_num, elapsed_time, tsc_ghz, cpu_mask)
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | counts.h | 13 s8 scaled; member
|
H A D | stat.c | 432 perf_counts_values__scale(aggr, config->scale, &counter->counts->scaled); in perf_stat_process_counter()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | counts.h | 13 s8 scaled; member
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
H A D | tsl2563.c | 415 /* Convert normalized, scaled ADC values to lux. */ 434 unsigned long scaled = adc; in tsl2563_calib_adc() local 436 scaled *= calib; in tsl2563_calib_adc() 437 scaled >>= CALIB_FRAC_BITS; in tsl2563_calib_adc() 439 return (u32) scaled; in tsl2563_calib_adc()
|
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | tsl2563.c | 421 /* Convert normalized, scaled ADC values to lux. */ 440 unsigned long scaled = adc; in tsl2563_calib_adc() local 442 scaled *= calib; in tsl2563_calib_adc() 443 scaled >>= CALIB_FRAC_BITS; in tsl2563_calib_adc() 445 return (u32) scaled; in tsl2563_calib_adc()
|
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/ |
H A D | ipu3-css-params.c | 147 * Calculate scaled output width. If the horizontal and vertical scaling in imgu_css_scaler_calc() 318 unsigned int scaled; member 424 int scaled = 0; in imgu_css_osys_calc_frame_and_stripe_params() local 462 scaled = 1; in imgu_css_osys_calc_frame_and_stripe_params() 474 frame_params[pin].scaled = scaled; in imgu_css_osys_calc_frame_and_stripe_params() 781 if (frame_params[i].scaled) { in imgu_css_osys_calc_frame_and_stripe_params() 795 pin_scale += frame_params[i].scaled; in imgu_css_osys_calc_frame_and_stripe_params() 1005 fr_pr->scaled = frame_params[pin].scaled; in imgu_css_osys_calc() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/ipu3/ |
H A D | ipu3-css-params.c | 147 * Calculate scaled output width. If the horizontal and vertical scaling in imgu_css_scaler_calc() 318 unsigned int scaled; member 424 int scaled = 0; in imgu_css_osys_calc_frame_and_stripe_params() local 462 scaled = 1; in imgu_css_osys_calc_frame_and_stripe_params() 474 frame_params[pin].scaled = scaled; in imgu_css_osys_calc_frame_and_stripe_params() 780 if (frame_params[i].scaled) { in imgu_css_osys_calc_frame_and_stripe_params() 1002 fr_pr->scaled = frame_params[pin].scaled; in imgu_css_osys_calc() 1048 if (frame_params[pin].scaled) { in imgu_css_osys_calc() [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_sfq.c | 643 unsigned int scaled = SFQ_ALLOT_SIZE(ctl->quantum); in sfq_change() local 645 if (scaled <= 0 || scaled > SHRT_MAX) in sfq_change()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_sfq.c | 646 unsigned int scaled = SFQ_ALLOT_SIZE(ctl->quantum); in sfq_change() local 648 if (scaled <= 0 || scaled > SHRT_MAX) in sfq_change()
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | scale.S | 5 | scaled by the source operand. If the absolute value of
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | scale.S | 5 | scaled by the source operand. If the absolute value of
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | psb_intel_sdvo_regs.h | 104 u8 scaled:1; member 427 scaled for the requested HDTV format */
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_sdvo_regs.h | 115 u8 scaled:1; member 438 scaled for the requested HDTV format */
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | psb_intel_sdvo_regs.h | 104 u8 scaled:1; member 427 scaled for the requested HDTV format */
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_sdvo_regs.h | 115 u8 scaled:1; member 438 scaled for the requested HDTV format */
|