/kernel/linux/linux-5.10/drivers/thermal/ |
H A D | imx_thermal.c | 251 static int imx_get_temp(struct thermal_zone_device *tz, int *temp) in imx_get_temp() argument 267 dev_dbg(&tz->device, "temp measurement never finished\n"); in imx_get_temp() 276 *temp = (n_meas - data->c1 + 25) * 1000; in imx_get_temp() 278 *temp = data->c2 - n_meas * data->c1; in imx_get_temp() 283 *temp >= data->temp_passive) in imx_get_temp() 286 *temp < data->temp_passive) { in imx_get_temp() 293 if (*temp != data->last_temp) { in imx_get_temp() 294 dev_dbg(&tz->device, "millicelsius: %d\n", *temp); in imx_get_temp() 295 data->last_temp = *temp; in imx_get_temp() 299 if (!data->irq_enabled && *temp < dat in imx_get_temp() 341 imx_get_crit_temp(struct thermal_zone_device *tz, int *temp) imx_get_crit_temp() argument 349 imx_get_trip_temp(struct thermal_zone_device *tz, int trip, int *temp) imx_get_trip_temp() argument 359 imx_set_trip_temp(struct thermal_zone_device *tz, int trip, int temp) imx_set_trip_temp() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_ssim.c | 63 int **temp; member 231 int **temp; member 242 void *temp = td->temp[jobnr]; in ssim_plane_16bit() local 257 int64_t (*sum0)[4] = temp; in ssim_plane_16bit() 285 void *temp = td->temp[jobnr]; in ssim_plane() local 300 int (*sum0)[4] = temp; in ssim_plane() 350 td.temp = s->temp; in do_ssim() [all...] |
/third_party/node/deps/v8/src/bigint/ |
H A D | mul-fft.cc | 459 digit_t* temp); 460 void FFT_Recurse(int start, int half, int omega, digit_t* temp); 463 void BackwardFFT_Threadsafe(int start, int len, int omega, digit_t* temp); 467 digit_t* temp); 564 digit_t* temp) { in FFT_ReturnShuffledThreadsafe() 570 SumDiff(part_[start + k], temp, part_[start + k], part_[start + half + k], in FFT_ReturnShuffledThreadsafe() 573 ShiftModFn(part_[start + half + k], temp, w, K_); in FFT_ReturnShuffledThreadsafe() 575 FFT_Recurse(start, half, omega, temp); in FFT_ReturnShuffledThreadsafe() 579 void FFTContainer::FFT_Recurse(int start, int half, int omega, digit_t* temp) { in FFT_Recurse() argument 581 FFT_ReturnShuffledThreadsafe(start, half, 2 * omega, temp); in FFT_Recurse() 563 FFT_ReturnShuffledThreadsafe(int start, int len, int omega, digit_t* temp) FFT_ReturnShuffledThreadsafe() argument 593 BackwardFFT_Threadsafe(int start, int len, int omega, digit_t* temp) BackwardFFT_Threadsafe() argument 724 DoPointwiseMultiplication(const FFTContainer& other, int start, int end, digit_t* temp) DoPointwiseMultiplication() argument [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | rdppm.c | 497 register unsigned int temp; in METHODDEF() local 498 temp = UCH(*bufferptr++) << 8; in METHODDEF() 499 temp |= UCH(*bufferptr++); in METHODDEF() 500 if (temp > maxval) in METHODDEF() 502 *ptr++ = rescale[temp]; in METHODDEF() 529 register unsigned int temp; in METHODDEF() local 530 temp = UCH(*bufferptr++) << 8; in METHODDEF() 531 temp |= UCH(*bufferptr++); in METHODDEF() 532 if (temp > maxval) in METHODDEF() 534 ptr[rindex] = rescale[temp]; in METHODDEF() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_vf.c | 57 u64 temp, header, pd_pl_pba = 0; in i40iw_manage_vf_pble_bp() local 63 temp = LS_64(info->pd_entry_cnt, I40IW_CQPSQ_MVPBP_PD_ENTRY_CNT) | in i40iw_manage_vf_pble_bp() 66 set_64bit_val(wqe, 16, temp); in i40iw_manage_vf_pble_bp()
|
/third_party/icu/icu4c/source/common/ |
H A D | ustrfmt.cpp | 36 UChar temp; in uprv_itou() local 54 temp = buffer[(length-1) - j]; in uprv_itou() 56 buffer[j] = temp; in uprv_itou()
|
/third_party/ltp/testcases/commands/wc/ |
H A D | wc01.sh | 29 eval $wc_cmd > temp 2>&1 31 grep -q -E "unknown option|invalid option|unrecognized option" temp 41 local act_out=`cat temp | awk '{printf $1}'`
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ustrfmt.cpp | 36 char16_t temp; in uprv_itou() local 54 temp = buffer[(length-1) - j]; in uprv_itou() 56 buffer[j] = temp; in uprv_itou()
|
/third_party/node/deps/npm/node_modules/promise-retry/ |
H A D | index.js | 13 var temp; 18 temp = options; 20 fn = temp;
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ustrfmt.cpp | 36 UChar temp; in uprv_itou() local 54 temp = buffer[(length-1) - j]; in uprv_itou() 56 buffer[j] = temp; in uprv_itou()
|
/third_party/ffmpeg/libavcodec/loongarch/ |
H A D | h264qpel_lasx.c | 1525 uint8_t temp[128]; in ff_put_h264_qpel8_mc21_lasx() local 1526 uint8_t *const halfH = temp; in ff_put_h264_qpel8_mc21_lasx() 1527 uint8_t *const halfHV = temp + 64; in ff_put_h264_qpel8_mc21_lasx() 1554 uint8_t temp[128]; in ff_put_h264_qpel8_mc12_lasx() local 1555 uint8_t *const halfHV = temp; in ff_put_h264_qpel8_mc12_lasx() 1556 uint8_t *const halfH = temp + 64; in ff_put_h264_qpel8_mc12_lasx() 1572 uint8_t temp[128]; in ff_put_h264_qpel8_mc32_lasx() local 1573 uint8_t *const halfHV = temp; in ff_put_h264_qpel8_mc32_lasx() 1574 uint8_t *const halfH = temp + 64; in ff_put_h264_qpel8_mc32_lasx() 1604 uint8_t temp[12 in ff_put_h264_qpel8_mc23_lasx() local 1670 uint8_t temp[128]; ff_avg_h264_qpel8_mc21_lasx() local 1699 uint8_t temp[128]; ff_avg_h264_qpel8_mc12_lasx() local 1717 uint8_t temp[128]; ff_avg_h264_qpel8_mc32_lasx() local 1740 uint8_t temp[128]; ff_avg_h264_qpel8_mc23_lasx() local 1811 uint8_t temp[512]; ff_put_h264_qpel16_mc21_lasx() local 1836 uint8_t temp[512]; ff_put_h264_qpel16_mc12_lasx() local 1854 uint8_t temp[512]; ff_put_h264_qpel16_mc32_lasx() local 1882 uint8_t temp[512]; ff_put_h264_qpel16_mc23_lasx() local 1950 uint8_t temp[512]; ff_avg_h264_qpel16_mc21_lasx() local 1976 uint8_t temp[512]; ff_avg_h264_qpel16_mc12_lasx() local 1994 uint8_t temp[512]; ff_avg_h264_qpel16_mc32_lasx() local 2023 uint8_t temp[512]; ff_avg_h264_qpel16_mc23_lasx() local [all...] |
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | uninorth-agp.c | 152 void *temp; in uninorth_insert_memory() local 168 temp = agp_bridge->current_size; in uninorth_insert_memory() 169 num_entries = A_SIZE_32(temp)->num_entries; in uninorth_insert_memory() 376 void *temp; in uninorth_create_gatt_table() local 385 temp = bridge->current_size; in uninorth_create_gatt_table() 389 size = A_SIZE_32(temp)->size; in uninorth_create_gatt_table() 390 page_order = A_SIZE_32(temp)->page_order; in uninorth_create_gatt_table() 391 num_entries = A_SIZE_32(temp)->num_entries; in uninorth_create_gatt_table() 452 void *temp; in uninorth_free_gatt_table() local 455 temp in uninorth_free_gatt_table() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tcp_mmap.c | 100 unsigned long temp = htotal; in hash_zone() local 104 temp ^= *(unsigned long *)zone; in hash_zone() 105 temp ^= *(unsigned long *)(zone + sizeof(long)); in hash_zone() 106 temp ^= *(unsigned long *)(zone + 2*sizeof(long)); in hash_zone() 107 temp ^= *(unsigned long *)(zone + 3*sizeof(long)); in hash_zone() 108 temp ^= *(unsigned long *)(zone + 4*sizeof(long)); in hash_zone() 109 temp ^= *(unsigned long *)(zone + 5*sizeof(long)); in hash_zone() 110 temp ^= *(unsigned long *)(zone + 6*sizeof(long)); in hash_zone() 111 temp ^= *(unsigned long *)(zone + 7*sizeof(long)); in hash_zone() 116 temp in hash_zone() [all...] |
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | windfarm_pm81.c | 34 * sensors : hd-temp 46 * sensors : hd-temp 58 * sensors : hd-temp 75 * sensors : cpu-temp cpu-power 330 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local 340 rc = wf_sensor_get(sensor_hd_temp, &temp); in wf_smu_sys_fans_tick() 342 printk(KERN_WARNING "windfarm: HD temp sensor error %d\n", in wf_smu_sys_fans_tick() 348 DBG("wf_smu: System Fans tick ! HD temp: %d.%03d\n", in wf_smu_sys_fans_tick() 349 FIX32TOPRINT(temp)); in wf_smu_sys_fans_tick() 351 if (temp > (s in wf_smu_sys_fans_tick() 474 s32 new_setpoint, temp, power, systarget; wf_smu_cpu_fans_tick() local [all...] |
H A D | windfarm_pm91.c | 220 s32 new_setpoint, temp, power; in wf_smu_cpu_fans_tick() local 230 rc = wf_sensor_get(sensor_cpu_temp, &temp); in wf_smu_cpu_fans_tick() 232 printk(KERN_WARNING "windfarm: CPU temp sensor error %d\n", in wf_smu_cpu_fans_tick() 246 DBG("wf_smu: CPU Fans tick ! CPU temp: %d.%03d, power: %d.%03d\n", in wf_smu_cpu_fans_tick() 247 FIX32TOPRINT(temp), FIX32TOPRINT(power)); in wf_smu_cpu_fans_tick() 250 if (temp > 0x4a0000) in wf_smu_cpu_fans_tick() 253 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick() 256 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); in wf_smu_cpu_fans_tick() 329 s32 new_setpoint, temp; in wf_smu_drive_fans_tick() local 339 rc = wf_sensor_get(sensor_hd_temp, &temp); in wf_smu_drive_fans_tick() [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | stv0288.c | 112 unsigned int temp; in stv0288_set_symbolrate() local 123 temp = (unsigned int)srate / 1000; in stv0288_set_symbolrate() 125 temp = temp * 32768; in stv0288_set_symbolrate() 126 temp = temp / 25; in stv0288_set_symbolrate() 127 temp = temp / 125; in stv0288_set_symbolrate() 128 b[0] = (unsigned char)((temp >> 12) & 0xff); in stv0288_set_symbolrate() 129 b[1] = (unsigned char)((temp >> in stv0288_set_symbolrate() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | nvm.c | 360 u8 *nvm_buffer, *temp; in iwl_nvm_init() local 385 temp = kmemdup(nvm_buffer, ret, GFP_KERNEL); in iwl_nvm_init() 386 if (!temp) { in iwl_nvm_init() 391 iwl_nvm_fixups(mvm->trans->hw_id, section, temp, ret); in iwl_nvm_init() 393 mvm->nvm_sections[section].data = temp; in iwl_nvm_init() 399 mvm->nvm_sw_blob.data = temp; in iwl_nvm_init() 403 mvm->nvm_calib_blob.data = temp; in iwl_nvm_init() 407 mvm->nvm_prod_blob.data = temp; in iwl_nvm_init() 411 mvm->nvm_phy_sku_blob.data = temp; in iwl_nvm_init() 416 mvm->nvm_reg_blob.data = temp; in iwl_nvm_init() [all...] |
/kernel/linux/linux-5.10/drivers/thermal/intel/ |
H A D | x86_pkg_temp_thermal.c | 124 static int sys_get_curr_temp(struct thermal_zone_device *tzd, int *temp) in sys_get_curr_temp() argument 132 *temp = zonedev->tj_max - ((eax >> 16) & 0x7f) * 1000; in sys_get_curr_temp() 133 pr_debug("sys_get_curr_temp %d\n", *temp); in sys_get_curr_temp() 140 int trip, int *temp) in sys_get_trip_temp() 165 *temp = zonedev->tj_max - thres_reg_value * 1000; in sys_get_trip_temp() 167 *temp = THERMAL_TEMP_INVALID; in sys_get_trip_temp() 168 pr_debug("sys_get_trip_temp %d\n", *temp); in sys_get_trip_temp() 174 sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, int temp) in sys_set_trip_temp() argument 180 if (trip >= MAX_NUMBER_OF_TRIPS || temp >= zonedev->tj_max) in sys_set_trip_temp() 202 if (!temp) { in sys_set_trip_temp() 139 sys_get_trip_temp(struct thermal_zone_device *tzd, int trip, int *temp) sys_get_trip_temp() argument [all...] |
H A D | intel_soc_dts_iosf.c | 75 int *temp) in sys_get_trip_temp() 93 *temp = 0; in sys_get_trip_temp() 95 *temp = sensors->tj_max - out * 1000; in sys_get_trip_temp() 101 int thres_index, int temp, in update_trip_temp() 118 temp_out = (sensors->tj_max - temp) / 1000; in update_trip_temp() 152 if (temp) { in update_trip_temp() 194 int temp) in sys_set_trip_temp() 200 if (temp > sensors->tj_max) in sys_set_trip_temp() 204 status = update_trip_temp(tzd->devdata, trip, temp, in sys_set_trip_temp() 224 int *temp) in sys_get_curr_temp() 74 sys_get_trip_temp(struct thermal_zone_device *tzd, int trip, int *temp) sys_get_trip_temp() argument 100 update_trip_temp(struct intel_soc_dts_sensor_entry *dts, int thres_index, int temp, enum thermal_trip_type trip_type) update_trip_temp() argument 193 sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, int temp) sys_set_trip_temp() argument 223 sys_get_curr_temp(struct thermal_zone_device *tzd, int *temp) sys_get_curr_temp() argument [all...] |
/kernel/linux/linux-5.10/security/ |
H A D | device_cgroup.c | 613 char temp[12]; /* 11 + 1 characters needed for a u32 */ in devcgroup_update_access() local 685 memset(temp, 0, sizeof(temp)); in devcgroup_update_access() 686 for (count = 0; count < sizeof(temp) - 1; count++) { in devcgroup_update_access() 687 temp[count] = *b; in devcgroup_update_access() 692 rc = kstrtou32(temp, 10, &ex.major); in devcgroup_update_access() 707 memset(temp, 0, sizeof(temp)); in devcgroup_update_access() 708 for (count = 0; count < sizeof(temp) - 1; count++) { in devcgroup_update_access() 709 temp[coun in devcgroup_update_access() [all...] |
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | uninorth-agp.c | 153 void *temp; in uninorth_insert_memory() local 169 temp = agp_bridge->current_size; in uninorth_insert_memory() 170 num_entries = A_SIZE_32(temp)->num_entries; in uninorth_insert_memory() 377 void *temp; in uninorth_create_gatt_table() local 386 temp = bridge->current_size; in uninorth_create_gatt_table() 390 size = A_SIZE_32(temp)->size; in uninorth_create_gatt_table() 391 page_order = A_SIZE_32(temp)->page_order; in uninorth_create_gatt_table() 392 num_entries = A_SIZE_32(temp)->num_entries; in uninorth_create_gatt_table() 453 void *temp; in uninorth_free_gatt_table() local 456 temp in uninorth_free_gatt_table() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | stv0288.c | 112 unsigned int temp; in stv0288_set_symbolrate() local 123 temp = (unsigned int)srate / 1000; in stv0288_set_symbolrate() 125 temp = temp * 32768; in stv0288_set_symbolrate() 126 temp = temp / 25; in stv0288_set_symbolrate() 127 temp = temp / 125; in stv0288_set_symbolrate() 128 b[0] = (unsigned char)((temp >> 12) & 0xff); in stv0288_set_symbolrate() 129 b[1] = (unsigned char)((temp >> in stv0288_set_symbolrate() [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | tmp421.c | 97 s16 temp; member 117 int temp = reg & ~0xf; in temp_from_raw() local 120 temp = temp - 64 * 256; in temp_from_raw() 122 temp = (s16)temp; in temp_from_raw() 124 return DIV_ROUND_CLOSEST(temp * 1000, 256); in temp_from_raw() 146 data->channel[i].temp = ret << 8; in tmp421_update_device() 151 data->channel[i].temp |= ret; in tmp421_update_device() 210 *val = temp_from_raw(tmp421->channel[channel].temp, in tmp421_read() [all...] |
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | qcom-vadc-common.c | 452 u64 temp; /* Temporary variable for do_div */ in qcom_vadc_scale_die_temp() local 457 temp = voltage * prescale->denominator; in qcom_vadc_scale_die_temp() 458 do_div(temp, prescale->numerator * 2); in qcom_vadc_scale_die_temp() 459 voltage = temp; in qcom_vadc_scale_die_temp() 508 s64 voltage, temp, adc_vdd_ref_mv = 1875; in qcom_vadc_scale_code_voltage_factor() local 524 temp = prescale->numerator * factor; in qcom_vadc_scale_code_voltage_factor() 525 voltage = div64_s64(voltage, temp); in qcom_vadc_scale_code_voltage_factor() 668 u32 full_scale_code_volt, int temp) in qcom_adc_tm5_temp_volt_scale() 675 temp); in qcom_adc_tm5_temp_volt_scale() 680 u16 qcom_adc_tm5_gen2_temp_res_scale(int temp) in qcom_adc_tm5_gen2_temp_res_scale() argument 667 qcom_adc_tm5_temp_volt_scale(unsigned int prescale_ratio, u32 full_scale_code_volt, int temp) qcom_adc_tm5_temp_volt_scale() argument [all...] |
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | windfarm_pm81.c | 34 * sensors : hd-temp 46 * sensors : hd-temp 58 * sensors : hd-temp 75 * sensors : cpu-temp cpu-power 331 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local 341 rc = wf_sensor_get(sensor_hd_temp, &temp); in wf_smu_sys_fans_tick() 343 printk(KERN_WARNING "windfarm: HD temp sensor error %d\n", in wf_smu_sys_fans_tick() 349 DBG("wf_smu: System Fans tick ! HD temp: %d.%03d\n", in wf_smu_sys_fans_tick() 350 FIX32TOPRINT(temp)); in wf_smu_sys_fans_tick() 352 if (temp > (s in wf_smu_sys_fans_tick() 475 s32 new_setpoint, temp, power, systarget; wf_smu_cpu_fans_tick() local [all...] |