/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | sysfs.c | 601 #define temp2str(temp, buf, size, idx) \ 603 ((temp) >> 2), ((temp) & 0x3) * 25) 614 struct hfi1_temp temp; in tempsense_show() local 617 ret = hfi1_tempsense_rd(dd, &temp); in tempsense_show() 621 idx += temp2str(temp.curr, buf, PAGE_SIZE, idx); in tempsense_show() 622 idx += temp2str(temp.lo_lim, buf, PAGE_SIZE, idx); in tempsense_show() 623 idx += temp2str(temp.hi_lim, buf, PAGE_SIZE, idx); in tempsense_show() 624 idx += temp2str(temp.crit_lim, buf, PAGE_SIZE, idx); in tempsense_show() 626 "%u %u %u\n", temp in tempsense_show() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_mem_input_v.c | 65 uint32_t temp = 0; in program_pri_addr_c() local 67 temp = address.high_part & in program_pri_addr_c() 70 set_reg_field_value(value, temp, in program_pri_addr_c() 79 temp = 0; in program_pri_addr_c() 81 temp = address.low_part >> in program_pri_addr_c() 84 set_reg_field_value(value, temp, in program_pri_addr_c() 100 uint32_t temp = 0; in program_pri_addr_l() local 103 temp = address.high_part & in program_pri_addr_l() 106 set_reg_field_value(value, temp, in program_pri_addr_l() 115 temp in program_pri_addr_l() [all...] |
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | gl_XML.py | 360 temp = element.get( "count" ) 361 if not temp or temp == "?": 365 c = int(temp) 367 raise RuntimeError('Invalid count value "%s" for enum "%s" in function "%s" when an integer was expected.' % (temp, self.name, n)) 411 temp = element.get( "variable_param" ) 412 if temp: 413 self.count_parameter_list = temp.split( ' ' ) 974 temp = [None for i in range(0, max_offset + 1)] 977 temp[ fun [all...] |
/third_party/node/deps/v8/src/baseline/arm64/ |
H A D | baseline-assembler-arm64-inl.h | 136 Register temp = temps.AcquireScratch(); in CallBuiltin() local 137 __ LoadEntryFromBuiltin(builtin, temp); in CallBuiltin() 138 __ Call(temp); in CallBuiltin() 156 Register temp = x17; in TailCallBuiltin() local 160 temps.Exclude(temp); in TailCallBuiltin() 162 __ LoadEntryFromBuiltin(builtin, temp); in TailCallBuiltin() 163 __ Jump(temp); in TailCallBuiltin() 547 Register temp = scope.AcquireScratch(); in Switch() local 550 __ Adr(temp, &table); in Switch() 555 __ Add(temp, tem in Switch() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | smscufx.c | 661 u32 temp; in ufx_set_vid_mode() local 692 temp = ((h_total - 1) << 16) | (h_active - 1); in ufx_set_vid_mode() 693 status = ufx_reg_write(dev, 0x2008, temp); in ufx_set_vid_mode() 696 temp = ((h_blank_start - 1) << 16) | (h_blank_end - 1); in ufx_set_vid_mode() 697 status = ufx_reg_write(dev, 0x200C, temp); in ufx_set_vid_mode() 700 temp = ((h_sync_start - 1) << 16) | (h_sync_end - 1); in ufx_set_vid_mode() 701 status = ufx_reg_write(dev, 0x2010, temp); in ufx_set_vid_mode() 712 temp = ((v_total - 1) << 16) | (v_active - 1); in ufx_set_vid_mode() 713 status = ufx_reg_write(dev, 0x2014, temp); in ufx_set_vid_mode() 716 temp in ufx_set_vid_mode() 1449 u32 temp = 0x28070000 | (63 << 20) | (((u32)(i * 64)) << 8); ufx_read_edid() local [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | smscufx.c | 661 u32 temp; in ufx_set_vid_mode() local 692 temp = ((h_total - 1) << 16) | (h_active - 1); in ufx_set_vid_mode() 693 status = ufx_reg_write(dev, 0x2008, temp); in ufx_set_vid_mode() 696 temp = ((h_blank_start - 1) << 16) | (h_blank_end - 1); in ufx_set_vid_mode() 697 status = ufx_reg_write(dev, 0x200C, temp); in ufx_set_vid_mode() 700 temp = ((h_sync_start - 1) << 16) | (h_sync_end - 1); in ufx_set_vid_mode() 701 status = ufx_reg_write(dev, 0x2010, temp); in ufx_set_vid_mode() 712 temp = ((v_total - 1) << 16) | (v_active - 1); in ufx_set_vid_mode() 713 status = ufx_reg_write(dev, 0x2014, temp); in ufx_set_vid_mode() 716 temp in ufx_set_vid_mode() 1450 u32 temp = 0x28070000 | (63 << 20) | (((u32)(i * 64)) << 8); ufx_read_edid() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_display.c | 5078 u32 temp; in intel_fdi_normal_train() local 5082 temp = intel_de_read(dev_priv, reg); in intel_fdi_normal_train() 5084 temp &= ~FDI_LINK_TRAIN_NONE_IVB; in intel_fdi_normal_train() 5085 temp |= FDI_LINK_TRAIN_NONE_IVB | FDI_TX_ENHANCE_FRAME_ENABLE; in intel_fdi_normal_train() 5087 temp &= ~FDI_LINK_TRAIN_NONE; in intel_fdi_normal_train() 5088 temp |= FDI_LINK_TRAIN_NONE | FDI_TX_ENHANCE_FRAME_ENABLE; in intel_fdi_normal_train() 5090 intel_de_write(dev_priv, reg, temp); in intel_fdi_normal_train() 5093 temp = intel_de_read(dev_priv, reg); in intel_fdi_normal_train() 5095 temp &= ~FDI_LINK_TRAIN_PATTERN_MASK_CPT; in intel_fdi_normal_train() 5096 temp | in intel_fdi_normal_train() 5121 u32 temp, tries; ilk_fdi_link_train() local 5224 u32 temp, i, retry; gen6_fdi_link_train() local 5361 u32 temp, i, j; ivb_manual_fdi_link_train() local 5485 u32 temp; ilk_fdi_pll_enable() local 5522 u32 temp; ilk_fdi_pll_disable() local 5551 u32 temp; ilk_fdi_disable() local 5625 u32 temp; lpt_disable_iclkip() local 5645 u32 temp; lpt_program_iclkip() local 5720 u32 temp; lpt_get_iclkip() local 5777 u32 temp; cpt_set_fdi_bc_bifurcation() local 5869 u32 temp; ilk_pch_enable() local 5966 u32 temp; cpt_verify_modeset() local 7212 u32 temp; ilk_crtc_disable() local 9621 u32 temp = intel_de_read(dev_priv, PCH_DPLL(i)); ilk_init_pch_refclk() local 10843 u32 temp; cnl_get_ddi_pll() local 10860 u32 temp; icl_get_ddi_pll() local 10928 u32 temp; skl_get_ddi_pll() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/ |
H A D | ast_post.c | 277 u32 data, temp, i; in ast_init_dram_reg() local 322 temp = ast_read32(ast, 0x12070); in ast_init_dram_reg() 323 temp &= 0xc; in ast_init_dram_reg() 324 temp <<= 2; in ast_init_dram_reg() 325 ast_write32(ast, 0x10000 + dram_reg_info->index, data | temp); in ast_init_dram_reg() 343 temp = ast_read32(ast, 0x10140); in ast_init_dram_reg() 344 ast_write32(ast, 0x10140, temp | 0x40); in ast_init_dram_reg() 350 temp = ast_read32(ast, 0x1200c); in ast_init_dram_reg() 351 ast_write32(ast, 0x1200c, temp & 0xfffffffd); in ast_init_dram_reg() 352 temp in ast_init_dram_reg() 1601 u32 temp; ast_post_chip_2300() local 2032 u32 temp; ast_post_chip_2500() local [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | png.c | 2018 png_uint_32 temp; in png_icc_check_header() local 2025 temp = png_get_uint_32(profile); in png_icc_check_header() 2026 if (temp != profile_length) in png_icc_check_header() 2027 return png_icc_profile_error(png_ptr, colorspace, name, temp, in png_icc_check_header() 2030 temp = (png_uint_32) (*(profile+8)); in png_icc_check_header() 2031 if (temp > 3 && (profile_length & 3)) in png_icc_check_header() 2035 temp = png_get_uint_32(profile+128); /* tag count: 12 bytes/tag */ in png_icc_check_header() 2036 if (temp > 357913930 || /* (2^32-4-132)/12: maximum possible tag count */ in png_icc_check_header() 2037 profile_length < 132+12*temp) /* truncated tag table */ in png_icc_check_header() 2038 return png_icc_profile_error(png_ptr, colorspace, name, temp, in png_icc_check_header() [all...] |
/third_party/python/Objects/ |
H A D | longobject.c | 3201 { PyLongObject *temp = a; a = b; b = temp; } in x_add() local 3237 { PyLongObject *temp = a; a = b; b = temp; } in x_sub() local 3251 { PyLongObject *temp = a; a = b; b = temp; } in x_sub() local 3900 PyLongObject *temp; in l_divmod() local 3901 temp = (PyLongObject *) long_add(mod, w); in l_divmod() 3903 mod = temp; in l_divmod() 3908 temp in l_divmod() 3949 PyLongObject *temp; l_mod() local 4376 PyLongObject *temp = NULL; long_pow() local 5495 PyObject *twice_rem, *result, *temp; _PyLong_DivmodNear() local 5594 PyObject *temp, *result, *ndigits; int___round___impl() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | nftlcore.c | 38 unsigned long temp; in nftl_add_mtd() local 70 temp = nftl->cylinders * nftl->heads; in nftl_add_mtd() 71 nftl->sectors = nftl->mbd.size / temp; in nftl_add_mtd() 72 if (nftl->mbd.size % temp) { in nftl_add_mtd() 74 temp = nftl->cylinders * nftl->sectors; in nftl_add_mtd() 75 nftl->heads = nftl->mbd.size / temp; in nftl_add_mtd() 77 if (nftl->mbd.size % temp) { in nftl_add_mtd() 79 temp = nftl->heads * nftl->sectors; in nftl_add_mtd() 80 nftl->cylinders = nftl->mbd.size / temp; in nftl_add_mtd()
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | windfarm_pm121.c | 95 * sensor : hard-drive-temp 105 * sensor : hard-drive-temp 117 * sensor : optical-drive-temp 127 * sensor : optical-drive-temp 139 * sensor : gpu-temp 149 * sensor : gpu-temp 161 * sensor : north-bridge-temp 171 * sensor : north-bridge-temp 182 * sensors : cpu-temp, cpu-power 188 * sensor : cpu-temp 586 s32 temp, new_setpoint; pm121_sys_fans_tick() local 720 s32 new_setpoint, temp, power; pm121_cpu_fans_tick() local [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | lm75.c | 299 static inline long lm75_reg_to_mc(s16 temp, u8 resolution) in lm75_reg_to_mc() argument 301 return ((temp >> (16 - resolution)) * 1000) >> (resolution - 8); in lm75_reg_to_mc() 368 static int lm75_write_temp(struct device *dev, u32 attr, long temp) in lm75_write_temp() argument 394 temp = clamp_val(temp, LM75_TEMP_MIN, LM75_TEMP_MAX); in lm75_write_temp() 395 temp = DIV_ROUND_CLOSEST(temp << (resolution - 8), in lm75_write_temp() 398 return regmap_write(data->regmap, reg, (u16)temp); in lm75_write_temp() 501 HWMON_CHANNEL_INFO(temp,
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00debug.c | 308 char *temp; in rt2x00debug_read_queue_stats() local 317 temp = data + in rt2x00debug_read_queue_stats() 323 temp += sprintf(temp, "%d\t0x%.8x\t%d\t%d\t%d\t%d\t%d\t\t%d\n", in rt2x00debug_read_queue_stats() 364 char *temp; in rt2x00debug_read_crypto_stats() local 375 temp = data; in rt2x00debug_read_crypto_stats() 376 temp += sprintf(data, "cipher\tsuccess\ticv err\tmic err\tkey err\n"); in rt2x00debug_read_crypto_stats() 379 temp += sprintf(temp, "%s\t%lu\t%lu\t%lu\t%lu\n", name[i], in rt2x00debug_read_crypto_stats()
|
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/ |
H A D | processor_thermal_device.c | 238 static int read_temp_msr(int *temp) in read_temp_msr() argument 245 *temp = 0; in read_temp_msr() 255 if (!*temp || curr_temp_off < *temp) in read_temp_msr() 256 *temp = curr_temp_off; in read_temp_msr() 270 int *temp) in proc_thermal_get_zone_temp() 274 ret = read_temp_msr(temp); in proc_thermal_get_zone_temp() 276 *temp = (stored_tjmax - *temp) * 1000; in proc_thermal_get_zone_temp() 269 proc_thermal_get_zone_temp(struct thermal_zone_device *zone, int *temp) proc_thermal_get_zone_temp() argument
|
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | nftlcore.c | 38 unsigned long temp; in nftl_add_mtd() local 70 temp = nftl->cylinders * nftl->heads; in nftl_add_mtd() 71 nftl->sectors = nftl->mbd.size / temp; in nftl_add_mtd() 72 if (nftl->mbd.size % temp) { in nftl_add_mtd() 74 temp = nftl->cylinders * nftl->sectors; in nftl_add_mtd() 75 nftl->heads = nftl->mbd.size / temp; in nftl_add_mtd() 77 if (nftl->mbd.size % temp) { in nftl_add_mtd() 79 temp = nftl->heads * nftl->sectors; in nftl_add_mtd() 80 nftl->cylinders = nftl->mbd.size / temp; in nftl_add_mtd()
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | xfarray.c | 149 void *temp = xfarray_scratch(array); in xfarray_is_unset() local 155 error = xfile_obj_load(array->xfile, temp, array->obj_size, pos); in xfarray_is_unset() 156 if (!error && xfarray_element_is_null(array, temp)) in xfarray_is_unset() 171 void *temp = xfarray_scratch(array); in xfarray_unset() local 186 memset(temp, 0, array->obj_size); in xfarray_unset() 187 error = xfile_obj_store(array->xfile, temp, array->obj_size, pos); in xfarray_unset() 239 void *temp = xfarray_scratch(array); in xfarray_store_anywhere() local 248 error = xfile_obj_load(array->xfile, temp, array->obj_size, in xfarray_store_anywhere() 250 if (error || !xfarray_element_is_null(array, temp)) in xfarray_store_anywhere()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00debug.c | 308 char *temp; in rt2x00debug_read_queue_stats() local 317 temp = data + in rt2x00debug_read_queue_stats() 323 temp += sprintf(temp, "%d\t0x%.8x\t%d\t%d\t%d\t%d\t%d\t\t%d\n", in rt2x00debug_read_queue_stats() 364 char *temp; in rt2x00debug_read_crypto_stats() local 375 temp = data; in rt2x00debug_read_crypto_stats() 376 temp += sprintf(data, "cipher\tsuccess\ticv err\tmic err\tkey err\n"); in rt2x00debug_read_crypto_stats() 379 temp += sprintf(temp, "%s\t%lu\t%lu\t%lu\t%lu\n", name[i], in rt2x00debug_read_crypto_stats()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | lm75.c | 315 static inline long lm75_reg_to_mc(s16 temp, u8 resolution) in lm75_reg_to_mc() argument 317 return ((temp >> (16 - resolution)) * 1000) >> (resolution - 8); in lm75_reg_to_mc() 384 static int lm75_write_temp(struct device *dev, u32 attr, long temp) in lm75_write_temp() argument 410 temp = clamp_val(temp, LM75_TEMP_MIN, LM75_TEMP_MAX); in lm75_write_temp() 411 temp = DIV_ROUND_CLOSEST(temp << (resolution - 8), in lm75_write_temp() 414 return regmap_write(data->regmap, reg, (u16)temp); in lm75_write_temp() 517 HWMON_CHANNEL_INFO(temp,
|
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | windfarm_pm121.c | 95 * sensor : hard-drive-temp 105 * sensor : hard-drive-temp 117 * sensor : optical-drive-temp 127 * sensor : optical-drive-temp 139 * sensor : gpu-temp 149 * sensor : gpu-temp 161 * sensor : north-bridge-temp 171 * sensor : north-bridge-temp 182 * sensors : cpu-temp, cpu-power 188 * sensor : cpu-temp 587 s32 temp, new_setpoint; pm121_sys_fans_tick() local 721 s32 new_setpoint, temp, power; pm121_cpu_fans_tick() local [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | DecimalQuantity_AbstractBCD.java | 183 BigDecimal temp = toBigDecimal(); in roundToIncrement() 184 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement() 187 if (temp.signum() == 0) { in roundToIncrement() 190 setToBigDecimal(temp); in roundToIncrement() 199 BigDecimal temp = toBigDecimal(); in multiplyBy() 200 temp = temp.multiply(multiplicand); in multiplyBy() 201 setToBigDecimal(temp); in multiplyBy()
|
/third_party/lzma/CPP/7zip/UI/Console/ |
H A D | ExtractCallbackConsole.cpp | 82 char temp[32];
in Print_UInt64_and_String() local 83 ConvertUInt64ToString(val, temp);
in Print_UInt64_and_String() 84 s += temp;
in Print_UInt64_and_String() 99 char temp[4] = { 'K', 'i', 'B', 0 };
in PrintSize_bytes_Smart() local 102 temp[0] = c;
in PrintSize_bytes_Smart() 104 Print_UInt64_and_String(s, ((val + ((UInt64)1 << numBits) - 1) >> numBits), temp);
in PrintSize_bytes_Smart() 278 char temp[64];
in PrintFileInfo() local 279 if (ConvertUtcFileTimeToString(*ft, temp, kTimestampPrintLevel_SEC))
in PrintFileInfo() 280 *_so << kTab << "Modified: " << temp << endl;
in PrintFileInfo()
|
/third_party/lzma/CPP/Windows/ |
H A D | SystemInfo.cpp | 97 char temp[32];
in PrintHex() local 98 ConvertUInt64ToHex(v, temp);
in PrintHex() 99 s += temp;
in PrintHex() 119 char temp[16];
in PrintCpuChars() local 120 ConvertUInt32ToHex(b, temp);
in PrintCpuChars() 121 s += temp;
in PrintCpuChars() 173 char temp[32];
174 ConvertUInt32ToString(j, temp);
175 unsigned len = (unsigned)strlen(temp);
181 s += temp;
520 char temp[16]; Fill() local [all...] |
/third_party/libwebsockets/lib/roles/http/server/ |
H A D | lws-spa.c | 64 char temp[LWS_MAX_ELEM_NAME]; member 340 s->temp[0] = '\0'; in lws_urldecode_s_process() 363 s->temp[0] = '\0'; in lws_urldecode_s_process() 375 s->temp[s->mp] = '\0'; in lws_urldecode_s_process() 380 if (s->mp < (int)sizeof(s->temp) - 1 && in lws_urldecode_s_process() 382 s->temp[s->mp++] = *in; in lws_urldecode_s_process() 386 if (!s->temp[0]) { in lws_urldecode_s_process() 394 if (!strcmp(s->temp, "name")) { in lws_urldecode_s_process() 403 if (!strcmp(s->temp, "filename")) { in lws_urldecode_s_process()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_copyimage.c | 422 struct pipe_resource *temp = NULL; in handle_complex_copy() local 458 temp = create_texture(pipe->screen, canon_format, src->nr_samples, in handle_complex_copy() 465 blit(pipe, temp, canon_format, 0, 0, 0, 0, src, noncanon_format, in handle_complex_copy() 467 swizzled_copy(pipe, dst, dst_level, dstx, dsty, dstz, temp, 0, in handle_complex_copy() 469 pipe_resource_reference(&temp, NULL); in handle_complex_copy() 483 temp = create_texture(pipe->screen, canon_format, dst->nr_samples, in handle_complex_copy() 490 swizzled_copy(pipe, temp, 0, 0, 0, 0, src, src_level, src_box); in handle_complex_copy() 491 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, temp, in handle_complex_copy() 493 pipe_resource_reference(&temp, NULL); in handle_complex_copy()
|