/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | amlogic_thermal.c | 114 int temp; in amlogic_thermal_code_to_millicelsius() local 129 temp = (Uptat + uefuse) * param->A; in amlogic_thermal_code_to_millicelsius() 130 temp = div_s64(temp, BIT(16)); in amlogic_thermal_code_to_millicelsius() 131 temp = (temp - param->B) * 100; in amlogic_thermal_code_to_millicelsius() 133 return temp; in amlogic_thermal_code_to_millicelsius() 179 static int amlogic_thermal_get_temp(struct thermal_zone_device *tz, int *temp) in amlogic_thermal_get_temp() argument 188 *temp = in amlogic_thermal_get_temp()
|
/kernel/linux/linux-6.6/drivers/net/wan/ |
H A D | slic_ds26522.c | 40 u8 temp[3]; in slic_write() local 44 temp[0] = (u8)((addr >> 8) & 0x7f); in slic_write() 45 temp[1] = (u8)(addr & 0xfe); in slic_write() 46 temp[2] = data; in slic_write() 49 spi_write(spi, &temp[0], SLIC_THREE_LEN); in slic_write() 54 u8 temp[2]; in slic_read() local 58 temp[0] = (u8)(((addr >> 8) & 0x7f) | 0x80); in slic_read() 59 temp[1] = (u8)(addr & 0xfe); in slic_read() 61 spi_write_then_read(spi, &temp[0], SLIC_TWO_LEN, &data, in slic_read()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_crt.c | 46 u32 temp, reg; in cdv_intel_crt_dpms() local 49 temp = REG_READ(reg); in cdv_intel_crt_dpms() 50 temp &= ~(ADPA_HSYNC_CNTL_DISABLE | ADPA_VSYNC_CNTL_DISABLE); in cdv_intel_crt_dpms() 51 temp &= ~ADPA_DAC_ENABLE; in cdv_intel_crt_dpms() 55 temp |= ADPA_DAC_ENABLE; in cdv_intel_crt_dpms() 58 temp |= ADPA_DAC_ENABLE | ADPA_HSYNC_CNTL_DISABLE; in cdv_intel_crt_dpms() 61 temp |= ADPA_DAC_ENABLE | ADPA_VSYNC_CNTL_DISABLE; in cdv_intel_crt_dpms() 64 temp |= ADPA_HSYNC_CNTL_DISABLE | ADPA_VSYNC_CNTL_DISABLE; in cdv_intel_crt_dpms() 68 REG_WRITE(reg, temp); in cdv_intel_crt_dpms()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | ad7414.c | 130 long temp; in max_min_store() local 131 int ret = kstrtol(buf, 10, &temp); in max_min_store() 136 temp = clamp_val(temp, -40000, 85000); in max_min_store() 137 temp = (temp + (temp < 0 ? -500 : 500)) / 1000; in max_min_store() 140 data->temps[index] = temp; in max_min_store() 141 ad7414_write(client, reg, temp); in max_min_store()
|
H A D | ds620.c | 62 s16 temp[3]; /* Register values, word */ member 109 for (i = 0; i < ARRAY_SIZE(data->temp); i++) { in ds620_update_client() 117 data->temp[i] = res; in ds620_update_client() 138 return sprintf(buf, "%d\n", ((data->temp[attr->index] / 8) * 625) / 10); in temp_show() 159 data->temp[attr->index] = val; in temp_store() 161 data->temp[attr->index]); in temp_store() 197 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); 198 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, 1); 199 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, 2);
|
H A D | lm73.c | 67 long temp; in temp_store() local 71 int status = kstrtol(buf, 10, &temp); in temp_store() 76 value = clamp_val(temp / 250, LM73_TEMP_MIN, LM73_TEMP_MAX) << 5; in temp_store() 86 int temp; in temp_show() local 94 temp = (((s16) err) * 250) / 32; in temp_show() 95 return sysfs_emit(buf, "%d\n", temp); in temp_show() 168 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, LM73_REG_MAX); 169 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, LM73_REG_MIN); 170 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, LM73_REG_INPUT);
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
H A D | fuzzer_shrinker_test.cpp | 231 // float temp = data[i]; 233 // data[j] = temp; 1129 protobufs::Fact temp; 1130 *temp.mutable_constant_uniform_fact() = resolution_x_eq_250; 1131 *facts.mutable_fact()->Add() = temp; 1138 protobufs::Fact temp; 1139 *temp.mutable_constant_uniform_fact() = resolution_y_eq_100; 1140 *facts.mutable_fact()->Add() = temp; 1150 protobufs::Fact temp; 1151 *temp [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | fuzzer_shrinker_test.cpp | 231 // float temp = data[i]; 233 // data[j] = temp; 1129 protobufs::Fact temp; 1130 *temp.mutable_constant_uniform_fact() = resolution_x_eq_250; 1131 *facts.mutable_fact()->Add() = temp; 1138 protobufs::Fact temp; 1139 *temp.mutable_constant_uniform_fact() = resolution_y_eq_100; 1140 *facts.mutable_fact()->Add() = temp; 1150 protobufs::Fact temp; 1151 *temp [all...] |
/third_party/spirv-tools/test/fuzz/ |
H A D | fuzzer_shrinker_test.cpp | 231 // float temp = data[i]; 233 // data[j] = temp; 1129 protobufs::Fact temp; 1130 *temp.mutable_constant_uniform_fact() = resolution_x_eq_250; 1131 *facts.mutable_fact()->Add() = temp; 1138 protobufs::Fact temp; 1139 *temp.mutable_constant_uniform_fact() = resolution_y_eq_100; 1140 *facts.mutable_fact()->Add() = temp; 1150 protobufs::Fact temp; 1151 *temp [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | aes-internal-dec.c | 31 u32 temp; in rijndaelKeySetupDec() local 39 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in rijndaelKeySetupDec() 40 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; in rijndaelKeySetupDec() 41 temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; in rijndaelKeySetupDec() 42 temp = rk[i + 3]; rk[i + 3] = rk[j + 3]; rk[j + 3] = temp; in rijndaelKeySetupDec()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | aes-internal-dec.c | 31 u32 temp; in rijndaelKeySetupDec() local 39 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in rijndaelKeySetupDec() 40 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; in rijndaelKeySetupDec() 41 temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; in rijndaelKeySetupDec() 42 temp = rk[i + 3]; rk[i + 3] = rk[j + 3]; rk[j + 3] = temp; in rijndaelKeySetupDec()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/86xx/ |
H A D | common.c | 28 unsigned int temp; in mpc86xx_time_init() local 34 temp = mfspr(SPRN_HID0); in mpc86xx_time_init() 35 temp |= HID0_TBEN; in mpc86xx_time_init() 36 mtspr(SPRN_HID0, temp); in mpc86xx_time_init()
|
/third_party/musl/src/misc/ |
H A D | getdomainname.c | 9 struct utsname temp; in getdomainname() local 10 uname(&temp); in getdomainname() 11 if (!len || strlen(temp.domainname) >= len) { in getdomainname() 15 strcpy(name, temp.domainname); in getdomainname()
|
/third_party/toybox/toys/posix/ |
H A D | rmdir.c | 26 char *temp; in do_rmdir() local 39 if (!(temp = strrchr(name, '/'))) return; in do_rmdir() 40 *temp = 0; in do_rmdir() 41 } while (!temp[1]); in do_rmdir()
|
/kernel/linux/linux-6.6/fs/overlayfs/ |
H A D | copy_up.c | 486 struct dentry *temp = NULL; in ovl_create_index() local 509 temp = ovl_create_temp(ofs, indexdir, OVL_CATTR(S_IFDIR | 0)); in ovl_create_index() 510 err = PTR_ERR(temp); in ovl_create_index() 511 if (IS_ERR(temp)) in ovl_create_index() 514 err = ovl_set_upper_fh(ofs, upper, temp); in ovl_create_index() 522 err = ovl_do_rename(ofs, dir, temp, dir, index, 0); in ovl_create_index() 527 ovl_cleanup(ofs, dir, temp); in ovl_create_index() 528 dput(temp); in ovl_create_index() 591 static int ovl_copy_up_data(struct ovl_copy_up_ctx *c, const struct path *temp) in ovl_copy_up_data() argument 600 new_file = ovl_path_open(temp, O_LARGEFIL in ovl_copy_up_data() 610 ovl_copy_up_metadata(struct ovl_copy_up_ctx *c, struct dentry *temp) ovl_copy_up_metadata() argument 712 struct dentry *temp, *upper; ovl_copy_up_workdir() local 796 struct dentry *temp, *upper; ovl_copy_up_tmpfile() local [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | ab8500_btemp.c | 448 return tbl[i].temp + ((tbl[i + 1].temp - tbl[i].temp) * in ab8500_btemp_res_to_temp() 460 int temp, ret; in ab8500_btemp_measure_temp() local 481 temp = ab8500_btemp_res_to_temp(di, in ab8500_btemp_measure_temp() 498 temp = ab8500_btemp_res_to_temp(di, in ab8500_btemp_measure_temp() 501 prev = temp; in ab8500_btemp_measure_temp() 503 dev_dbg(di->dev, "Battery temperature is %d\n", temp); in ab8500_btemp_measure_temp() 504 return temp; in ab8500_btemp_measure_temp() 636 * ab8500_btemp_templow_handler() - battery temp lowe 759 int temp = 0; ab8500_btemp_get_temp() local [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_dns_record.c | 243 ares_dns_qd_t *temp = NULL; in ares_dns_record_query_add() local 255 temp = ares_realloc_zero(dnsrec->qd, sizeof(*temp) * (dnsrec->qdalloc), in ares_dns_record_query_add() 256 sizeof(*temp) * alloc_cnt); in ares_dns_record_query_add() 257 if (temp == NULL) { in ares_dns_record_query_add() 262 dnsrec->qd = temp; in ares_dns_record_query_add() 327 ares_dns_rr_t *temp = NULL; in ares_dns_record_rr_prealloc() local 356 temp = ares_realloc_zero(*rr_ptr, sizeof(*temp) * (*rr_alloc), in ares_dns_record_rr_prealloc() 357 sizeof(*temp) * cn in ares_dns_record_rr_prealloc() 1073 unsigned char *temp = ares_malloc(alloclen); ares_dns_rr_set_bin() local 1121 char *temp = NULL; ares_dns_rr_set_str() local 1177 void *temp; ares_dns_rr_set_opt_own() local 1211 unsigned char *temp = NULL; ares_dns_rr_set_opt() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
H A D | dm355_ccdc.c | 121 unsigned int temp; in ccdc_enable() local 122 temp = regr(SYNCEN); in ccdc_enable() 123 temp &= (~CCDC_SYNCEN_VDHDEN_MASK); in ccdc_enable() 124 temp |= (en & CCDC_SYNCEN_VDHDEN_MASK); in ccdc_enable() 125 regw(temp, SYNCEN); in ccdc_enable() 130 unsigned int temp; in ccdc_enable_output_to_sdram() local 131 temp = regr(SYNCEN); in ccdc_enable_output_to_sdram() 132 temp &= (~(CCDC_SYNCEN_WEN_MASK)); in ccdc_enable_output_to_sdram() 133 temp |= ((en << CCDC_SYNCEN_WEN_SHIFT) & CCDC_SYNCEN_WEN_MASK); in ccdc_enable_output_to_sdram() 134 regw(temp, SYNCE in ccdc_enable_output_to_sdram() 253 u32 temp; ccdc_config_ycbcr() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_vif.c | 51 float **temp; member 98 float **temp; member 220 float *temp = td->temp[jobnr]; in vif_filter1d() local 251 temp[j] = sum; in vif_filter1d() 264 img_coeff = temp[jj]; in vif_filter1d() 275 img_coeff = temp[jj]; in vif_filter1d() 290 float *const data_buf[NUM_DATA_BUFS], float **temp, in compute_vif2() 333 td.temp = temp; in compute_vif2() 287 compute_vif2(AVFilterContext *ctx, const float *ref, const float *main, int w, int h, int ref_stride, int main_stride, float *score, float *const data_buf[NUM_DATA_BUFS], float **temp, int gnb_threads) compute_vif2() argument [all...] |
/third_party/gptfdisk/ |
H A D | gptcurses.cc | 230 char temp[40]; in ShowSpace() local 254 space->origPart->GetDescription().extract(0, 39, temp, 39); in ShowSpace() 255 printw(temp); in ShowSpace() 327 char temp[NAME_SIZE + 1]; in ShowInfo() local 344 partitions[partNum].GetDescription().extract(0, NAME_SIZE , temp, NAME_SIZE ); in ShowInfo() 345 printw("Partition name: '%s'\n", temp); in ShowInfo() 354 char temp[NAME_SIZE + 1]; in ChangeName() local 361 partitions[partNum].GetDescription().extract(0, NAME_SIZE , temp, NAME_SIZE ); in ChangeName() 362 printw("Current partition name is '%s'\n", temp); in ChangeName() 368 getnstr(temp, NAME_SIZ in ChangeName() 376 char temp[80] = "L\\0"; ChangeType() local [all...] |
/third_party/python/PC/layout/ |
H A D | main.py | 190 yield zip_name, ns.temp / zip_name 210 yield PYTHON_PTH_NAME, ns.temp / PYTHON_PTH_NAME 288 dest = (dest_dir or ns.temp) / (src.stem + ".pyc") 307 tmp = ns.temp / src.name 311 for f in ns.temp.glob(src.stem + "*.pickle"): 331 zip_path = ns.temp / zip_name 339 log_info("Generating {} in {}", zip_name, ns.temp) 340 ns.temp.mkdir(parents=True, exist_ok=True) 346 log_info("Generating {} in {}", PYTHON_PTH_NAME, ns.temp) 347 ns.temp [all...] |
/kernel/linux/linux-5.10/arch/parisc/math-emu/ |
H A D | fcnvfx.c | 51 register unsigned int src, temp; in sgl_to_sgl_fcnvfx() local 80 temp = src; in sgl_to_sgl_fcnvfx() 81 Sgl_clear_signexponent_set_hidden(temp); in sgl_to_sgl_fcnvfx() 82 Int_from_sgl_mantissa(temp,src_exponent); in sgl_to_sgl_fcnvfx() 83 if (Sgl_isone_sign(src)) result = -Sgl_all(temp); in sgl_to_sgl_fcnvfx() 84 else result = Sgl_all(temp); in sgl_to_sgl_fcnvfx() 100 || (Sgl_isone_lowmantissa(temp))) in sgl_to_sgl_fcnvfx() 149 register unsigned int src, temp, resultp2; in sgl_to_dbl_fcnvfx() local 185 temp = src; in sgl_to_dbl_fcnvfx() 186 Sgl_clear_signexponent_set_hidden(temp); in sgl_to_dbl_fcnvfx() [all...] |
/kernel/linux/linux-6.6/arch/parisc/math-emu/ |
H A D | fcnvfx.c | 51 register unsigned int src, temp; in sgl_to_sgl_fcnvfx() local 80 temp = src; in sgl_to_sgl_fcnvfx() 81 Sgl_clear_signexponent_set_hidden(temp); in sgl_to_sgl_fcnvfx() 82 Int_from_sgl_mantissa(temp,src_exponent); in sgl_to_sgl_fcnvfx() 83 if (Sgl_isone_sign(src)) result = -Sgl_all(temp); in sgl_to_sgl_fcnvfx() 84 else result = Sgl_all(temp); in sgl_to_sgl_fcnvfx() 100 || (Sgl_isone_lowmantissa(temp))) in sgl_to_sgl_fcnvfx() 149 register unsigned int src, temp, resultp2; in sgl_to_dbl_fcnvfx() local 185 temp = src; in sgl_to_dbl_fcnvfx() 186 Sgl_clear_signexponent_set_hidden(temp); in sgl_to_dbl_fcnvfx() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | ad7418.c | 51 s16 temp[3]; /* Register values */ member 89 data->temp[i] = val; in ad7418_update_device() 138 LM75_TEMP_FROM_REG(data->temp[attr->index])); in temp_show() 163 long temp; in temp_store() local 164 int ret = kstrtol(buf, 10, &temp); in temp_store() 170 data->temp[attr->index] = LM75_TEMP_TO_REG(temp); in temp_store() 173 data->temp[attr->index]); in temp_store() 178 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); 179 static SENSOR_DEVICE_ATTR_RW(temp1_max_hyst, temp, [all...] |
H A D | tmp421.c | 100 s16 temp[4]; member 106 int temp = reg & ~0xf; in temp_from_raw() local 109 temp = temp - 64 * 256; in temp_from_raw() 111 temp = (s16)temp; in temp_from_raw() 113 return DIV_ROUND_CLOSEST(temp * 1000, 256); in temp_from_raw() 135 data->temp[i] = ret << 8; in tmp421_update_device() 140 data->temp[i] |= ret; in tmp421_update_device() 169 *val = temp_from_raw(tmp421->temp[channe in tmp421_read() [all...] |