/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
H A D | ni_at_a2150.c | 250 int lub, glb, temp; in a2150_get_timing() local 272 /* temp is the period in nanosec we are evaluating */ in a2150_get_timing() 273 temp = board->clock[j] * (1 << i); in a2150_get_timing() 275 if (temp < lub && temp >= *period) { in a2150_get_timing() 278 lub = temp; in a2150_get_timing() 280 if (temp > glb && temp <= *period) { in a2150_get_timing() 283 glb = temp; in a2150_get_timing()
|
/kernel/linux/linux-6.6/drivers/comedi/drivers/ |
H A D | ni_at_a2150.c | 248 int lub, glb, temp; in a2150_get_timing() local 270 /* temp is the period in nanosec we are evaluating */ in a2150_get_timing() 271 temp = board->clock[j] * (1 << i); in a2150_get_timing() 273 if (temp < lub && temp >= *period) { in a2150_get_timing() 276 lub = temp; in a2150_get_timing() 278 if (temp > glb && temp <= *period) { in a2150_get_timing() 281 glb = temp; in a2150_get_timing()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | abituguru3.c | 38 #define ABIT_UGURU3_TEMP_HIGH_ALARM_ENABLE 0x01 /* temp over warn */ 41 #define ABIT_UGURU3_TEMP_HIGH_ALARM_FLAG 0x10 /* temp is over warn */ 81 * sum of strlen +1 of: temp??_input\0, temp??_max\0, temp??_crit\0, 82 * temp??_alarm\0, temp??_alarm_enable\0, temp??_beep\0, temp??_shutdown\0, 83 * temp [all...] |
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_hid.c | 546 uint32_t temp; in hid_report_size() local 567 temp = h.loc.pos + (h.loc.size * h.loc.count); in hid_report_size() 569 if (hpos < temp) in hid_report_size() 570 hpos = temp; in hid_report_size() 577 temp = 0; in hid_report_size() 579 temp = hpos - lpos; in hid_report_size() 583 temp += 8; in hid_report_size() 588 return ((temp + 7) / 8); in hid_report_size()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
H A D | UnicodeMapTest.java | 183 Set temp = new HashSet(); field in UnicodeMapTest 189 temp.clear(); in checkEquals() 191 temp.add(e); in checkEquals() 194 if (!entrySet.equals(temp)) { in checkEquals() 197 assertEquals("are in parallel", entrySet, temp); in checkEquals() 200 temp.clear(); in checkEquals() 273 int temp = start; in TestModify() 275 end = temp; in TestModify()
|
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
H A D | UnicodeMapTest.java | 180 Set temp = new HashSet(); field in UnicodeMapTest 186 temp.clear(); in checkEquals() 188 temp.add(e); in checkEquals() 191 if (!entrySet.equals(temp)) { in checkEquals() 194 assertEquals("are in parallel", entrySet, temp); in checkEquals() 197 temp.clear(); in checkEquals() 270 int temp = start; in TestModify() 272 end = temp; in TestModify()
|
/third_party/lzma/CPP/7zip/UI/Client7z/ |
H A D | Client7z.cpp | 85 static void Convert_UString_to_AString(const UString &s, AString &temp)
in Convert_UString_to_AString() argument 94 ConvertUnicodeToUTF8(s, temp);
in Convert_UString_to_AString() 97 UnicodeStringToMultiByte2(temp, s, (UINT)codePage);
in Convert_UString_to_AString() 547 char temp[16];
in SetOperationResult() local 548 ConvertUInt32ToString((UInt32)operationResult, temp);
in SetOperationResult() 550 Print(temp);
in SetOperationResult() 765 wchar_t temp[16];
in GetVolumeStream() local 766 ConvertUInt32ToString(index + 1, temp);
in GetVolumeStream() 767 UString res = temp;
in GetVolumeStream()
|
/third_party/mesa3d/src/asahi/lib/ |
H A D | decode.c | 248 agx_unpack(agxdecode_dump_stream, cl, T, temp); \ 249 DUMP_UNPACKED(T, temp, str "\n"); \ 359 agx_unpack(agxdecode_dump_stream, map, BIND_TEXTURE, temp); in agxdecode_pipeline() 360 DUMP_UNPACKED(BIND_TEXTURE, temp, "Bind texture\n"); in agxdecode_pipeline() 362 uint8_t *tex = agxdecode_fetch_gpu_mem(temp.buffer, 64); in agxdecode_pipeline() 371 agx_unpack(agxdecode_dump_stream, map, BIND_SAMPLER, temp); in agxdecode_pipeline() 372 DUMP_UNPACKED(BIND_SAMPLER, temp, "Bind sampler\n"); in agxdecode_pipeline() 374 uint8_t *samp = agxdecode_fetch_gpu_mem(temp.buffer, 64); in agxdecode_pipeline()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_camera_profile.cpp | 1184 real64 temp = temperature1; in HueSatMapForWhite() local 1186 temperature2 = temp; in HueSatMapForWhite() 1282 dng_string temp = name; in SplitCameraProfileName() local 1284 temp.Truncate (len - 1); in SplitCameraProfileName() 1286 if (temp.EndsWith (" beta ")) in SplitCameraProfileName() 1309 dng_string temp = name; in SplitCameraProfileName() local 1311 temp.Truncate (len - 1); in SplitCameraProfileName() 1313 if (temp.EndsWith (" v")) in SplitCameraProfileName()
|
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
H A D | cx231xx-avcore.c | 55 u32 temp = 0; in verve_read_byte() local 58 saddr, 1, &temp, 1); in verve_read_byte() 59 *data = (u8) temp; in verve_read_byte() 107 u32 temp = 0; in afe_read_byte() local 110 saddr, 2, &temp, 1); in afe_read_byte() 111 *data = (u8) temp; in afe_read_byte() 118 u8 temp = 0; in cx231xx_afe_init_super_block() local 123 temp = (u8) (ref_count & 0xff); in cx231xx_afe_init_super_block() 124 status = afe_write_byte(dev, SUP_BLK_TUNE2, temp); in cx231xx_afe_init_super_block() 132 temp in cx231xx_afe_init_super_block() 522 u32 temp = 0; vid_blk_read_byte() local 543 u8 temp = 0; cx231xx_check_fw() local 940 u8 temp = 0; cx231xx_enable656() local 956 u8 temp = 0; cx231xx_disable656() local [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/cx231xx/ |
H A D | cx231xx-avcore.c | 55 u32 temp = 0; in verve_read_byte() local 58 saddr, 1, &temp, 1); in verve_read_byte() 59 *data = (u8) temp; in verve_read_byte() 107 u32 temp = 0; in afe_read_byte() local 110 saddr, 2, &temp, 1); in afe_read_byte() 111 *data = (u8) temp; in afe_read_byte() 118 u8 temp = 0; in cx231xx_afe_init_super_block() local 123 temp = (u8) (ref_count & 0xff); in cx231xx_afe_init_super_block() 124 status = afe_write_byte(dev, SUP_BLK_TUNE2, temp); in cx231xx_afe_init_super_block() 132 temp in cx231xx_afe_init_super_block() 522 u32 temp = 0; vid_blk_read_byte() local 543 u8 temp = 0; cx231xx_check_fw() local 940 u8 temp = 0; cx231xx_enable656() local 956 u8 temp = 0; cx231xx_disable656() local [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | transport.c | 56 struct mid_q_entry *temp; in AllocMidQEntry() local 63 temp = mempool_alloc(cifs_mid_poolp, GFP_NOFS); in AllocMidQEntry() 64 memset(temp, 0, sizeof(struct mid_q_entry)); in AllocMidQEntry() 65 kref_init(&temp->refcount); in AllocMidQEntry() 66 temp->mid = get_mid(smb_buffer); in AllocMidQEntry() 67 temp->pid = current->pid; in AllocMidQEntry() 68 temp->command = cpu_to_le16(smb_buffer->Command); in AllocMidQEntry() 70 /* do_gettimeofday(&temp->when_sent);*/ /* easier to use jiffies */ in AllocMidQEntry() 72 temp->when_alloc = jiffies; in AllocMidQEntry() 73 temp in AllocMidQEntry() [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | power_supply_core.c | 721 list = of_get_property(battery_np, "resistance-temp-table", &len); in power_supply_get_battery_info() 737 resist_table[index].temp = be32_to_cpu(*list++); in power_supply_get_battery_info() 767 * @temp: Current temperature 777 int table_len, int temp) in power_supply_temp2resist_simple() 782 if (temp > table[i].temp) in power_supply_temp2resist_simple() 789 (temp - table[i].temp); in power_supply_temp2resist_simple() 790 tmp /= table[i - 1].temp - table[i].temp; in power_supply_temp2resist_simple() 776 power_supply_temp2resist_simple(struct power_supply_resistance_temp_table *table, int table_len, int temp) power_supply_temp2resist_simple() argument 839 power_supply_find_ocv2cap_table(struct power_supply_battery_info *info, int temp, int *table_len) power_supply_find_ocv2cap_table() argument 866 power_supply_batinfo_ocv2cap(struct power_supply_battery_info *info, int ocv, int temp) power_supply_batinfo_ocv2cap() argument 952 power_supply_read_temp(struct thermal_zone_device *tzd, int *temp) power_supply_read_temp() argument [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | transapi.cpp | 288 UnicodeString temp; in TestTransliterate1() local 309 temp=Data[i+1]; in TestTransliterate1() 310 t->transliterate(temp); in TestTransliterate1() 315 doTest(message, temp, Data[i+2]); in TestTransliterate1() 337 UnicodeString temp; in TestTransliterate2() local 355 temp=Data2[i+1]; in TestTransliterate2() 356 t->transliterate(temp, start, limit); in TestTransliterate2() 357 doTest(t->getID() + ".transliterate(Replaceable, int32_t, int32_t, ):(" + start + "," + limit + ") for \n\t source: " + prettify(Data2[i+1]), temp, Data2[i+5]); in TestTransliterate2() 372 gotResBuf = temp = "try start greater than limit"; in TestTransliterate2() 374 if(gotResBuf == temp) { in TestTransliterate2() 797 UnicodeString got, temp, message; TestGetAdoptFilter() local [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_vec4_visitor.cpp | 319 * operand to a temp GRF for gfx6. in fix_math_operand() 1109 * from scratch space at @base_offset to @temp. 1115 dst_reg temp, src_reg orig_src, in emit_scratch_read() 1124 emit_before(block, inst, SCRATCH_READ(temp, index)); in emit_scratch_read() 1133 shuffle_64bit_data(temp, src_reg(shuffled), false, true, block, last_read); in emit_scratch_read() 1139 * to @orig_dst to scratch space at @base_offset, from @temp. 1162 const src_reg temp = swizzle(retype(src_reg(this, alloc_type), in emit_scratch_write() local 1169 vec4_instruction *write = SCRATCH_WRITE(dst, temp, index); in emit_scratch_write() 1178 shuffle_64bit_data(shuffled, temp, true, true, block, inst); in emit_scratch_write() 1217 inst->dst.file = temp in emit_scratch_write() 1114 emit_scratch_read(bblock_t *block, vec4_instruction *inst, dst_reg temp, src_reg orig_src, int base_offset) emit_scratch_read() argument 1246 dst_reg temp = dst_reg(this, type_sz(src.type) == 8 ? emit_resolve_reladdr() local [all...] |
/third_party/lzma/C/ |
H A D | LzFind.c | 45 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
46 h2 = temp & (kHash2Size - 1); \
47 hv = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
50 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
51 h2 = temp & (kHash2Size - 1); \
52 temp ^= ((UInt32)cur[2] << 8); \
53 h3 = temp & (kHash3Size - 1); \
54 hv = (temp ^ (p->crc[cur[3]] << kLzHash_CrcShift_1)) & p->hashMask; }
57 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
58 h2 = temp [all...] |
/drivers/hdf_core/framework/model/audio/usb/src/ |
H A D | audio_usb_mixer.c | 431 int32_t temp = 0; in AudioUsbConvertBytesValue() local 435 temp = value != 0 ? 1 : 0; /* 1 is reached; 0 is not reached */ in AudioUsbConvertBytesValue() 438 temp = value != 0 ? 0 : 1; /* 1 is reached; 0 is not reached */ in AudioUsbConvertBytesValue() 442 temp = value & 0xffff; in AudioUsbConvertBytesValue() 446 temp = value & ZERO_BASED_INTEGER; in AudioUsbConvertBytesValue() 450 temp = 0; /* 1 is reached; 0 is not reached */ in AudioUsbConvertBytesValue() 453 return temp; in AudioUsbConvertBytesValue() 872 uint32_t temp; in AudioUsbMixerUnitGetChannels() local 877 temp = sizeof(*desc) + desc->bNrInPins + 1; in AudioUsbMixerUnitGetChannels() 878 if (desc->bLength < temp) { in AudioUsbMixerUnitGetChannels() 1060 int32_t saved, temp, check; AudioUsbCtlGetMaxVal() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | sdma_v5_2.c | 588 u32 temp; in sdma_v5_2_gfx_resume() local 675 temp = RREG32(sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_CNTL)); in sdma_v5_2_gfx_resume() 676 temp = REG_SET_FIELD(temp, SDMA0_CNTL, UTC_L1_ENABLE, 1); in sdma_v5_2_gfx_resume() 679 temp = REG_SET_FIELD(temp, SDMA0_CNTL, MIDCMD_PREEMPT_ENABLE, 1); in sdma_v5_2_gfx_resume() 680 WREG32(sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_CNTL), temp); in sdma_v5_2_gfx_resume() local 683 temp = RREG32(sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_UTCL1_CNTL)); in sdma_v5_2_gfx_resume() 684 temp = REG_SET_FIELD(temp, SDMA0_UTCL1_CNT in sdma_v5_2_gfx_resume() 686 WREG32(sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_UTCL1_CNTL), temp); sdma_v5_2_gfx_resume() local 695 WREG32(sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_UTCL1_PAGE), temp); sdma_v5_2_gfx_resume() local 701 WREG32(sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_F32_CNTL), temp); sdma_v5_2_gfx_resume() local [all...] |
H A D | sdma_v5_0.c | 657 u32 temp; in sdma_v5_0_gfx_resume() local 745 temp = RREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_CNTL)); in sdma_v5_0_gfx_resume() 746 temp = REG_SET_FIELD(temp, SDMA0_CNTL, UTC_L1_ENABLE, 1); in sdma_v5_0_gfx_resume() 749 temp = REG_SET_FIELD(temp, SDMA0_CNTL, MIDCMD_PREEMPT_ENABLE, 1); in sdma_v5_0_gfx_resume() 750 WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_CNTL), temp); in sdma_v5_0_gfx_resume() local 753 temp = RREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UTCL1_CNTL)); in sdma_v5_0_gfx_resume() 754 temp = REG_SET_FIELD(temp, SDMA0_UTCL1_CNT in sdma_v5_0_gfx_resume() 756 WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UTCL1_CNTL), temp); sdma_v5_0_gfx_resume() local 763 WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UTCL1_PAGE), temp); sdma_v5_0_gfx_resume() local 770 WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_F32_CNTL), temp); sdma_v5_0_gfx_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
H A D | efuse.c | 50 u8 temp; in efuse_initialize() local 53 temp = bytetemp | 0x20; in efuse_initialize() 54 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1, temp); in efuse_initialize() 57 temp = bytetemp & 0xFE; in efuse_initialize() 58 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1, temp); in efuse_initialize() 61 temp = bytetemp | 0x80; in efuse_initialize() 62 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3, temp); in efuse_initialize() 75 u8 temp; in efuse_read_1byte() local 81 temp = address & 0xFF; in efuse_read_1byte() 83 temp); in efuse_read_1byte() 118 u8 temp; efuse_write_1byte() local [all...] |
/kernel/linux/linux-6.6/drivers/thermal/tegra/ |
H A D | soctherm.c | 449 int temp; in enforce_temp_range() local 451 temp = clamp_val(trip_temp, min_low_temp, max_high_temp); in enforce_temp_range() 452 if (temp != trip_temp) in enforce_temp_range() 454 trip_temp, temp); in enforce_temp_range() 455 return temp; in enforce_temp_range() 479 int temp; in thermtrip_program() local 485 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in thermtrip_program() 488 r = REG_SET_MASK(r, sg->thermtrip_threshold_mask, temp); in thermtrip_program() 519 int temp, cpu_throt, gpu_throt; in throttrip_program() local 526 temp in throttrip_program() 569 int i, temp = min_low_temp; tsensor_group_thermtrip_get() local 585 tegra_thermctl_set_trip_temp(struct thermal_zone_device *tz, int trip_id, int temp) tegra_thermctl_set_trip_temp() argument 690 get_hot_temp(struct thermal_zone_device *tz, int *trip_id, int *temp) get_hot_temp() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | sdma_v5_0.c | 687 u32 temp; in sdma_v5_0_gfx_resume() local 780 temp = RREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_CNTL)); in sdma_v5_0_gfx_resume() 781 temp = REG_SET_FIELD(temp, SDMA0_CNTL, UTC_L1_ENABLE, 1); in sdma_v5_0_gfx_resume() 784 temp = REG_SET_FIELD(temp, SDMA0_CNTL, MIDCMD_PREEMPT_ENABLE, 1); in sdma_v5_0_gfx_resume() 785 WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_CNTL), temp); in sdma_v5_0_gfx_resume() local 788 temp = RREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UTCL1_CNTL)); in sdma_v5_0_gfx_resume() 789 temp = REG_SET_FIELD(temp, SDMA0_UTCL1_CNT in sdma_v5_0_gfx_resume() 791 WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UTCL1_CNTL), temp); sdma_v5_0_gfx_resume() local 798 WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UTCL1_PAGE), temp); sdma_v5_0_gfx_resume() local 805 WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_F32_CNTL), temp); sdma_v5_0_gfx_resume() local [all...] |
H A D | sdma_v5_2.c | 490 u32 temp; in sdma_v5_2_gfx_resume() local 580 temp = RREG32(sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_CNTL)); in sdma_v5_2_gfx_resume() 581 temp = REG_SET_FIELD(temp, SDMA0_CNTL, UTC_L1_ENABLE, 1); in sdma_v5_2_gfx_resume() 584 temp = REG_SET_FIELD(temp, SDMA0_CNTL, MIDCMD_PREEMPT_ENABLE, 1); in sdma_v5_2_gfx_resume() 585 WREG32(sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_CNTL), temp); in sdma_v5_2_gfx_resume() local 588 temp = RREG32_SOC15_IP(GC, sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_UTCL1_CNTL)); in sdma_v5_2_gfx_resume() 589 temp = REG_SET_FIELD(temp, SDMA0_UTCL1_CNT in sdma_v5_2_gfx_resume() 605 WREG32(sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_F32_CNTL), temp); sdma_v5_2_gfx_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/ |
H A D | efuse.c | 50 u8 temp; in efuse_initialize() local 53 temp = bytetemp | 0x20; in efuse_initialize() 54 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1, temp); in efuse_initialize() 57 temp = bytetemp & 0xFE; in efuse_initialize() 58 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1, temp); in efuse_initialize() 61 temp = bytetemp | 0x80; in efuse_initialize() 62 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3, temp); in efuse_initialize() 75 u8 temp; in efuse_read_1byte() local 81 temp = address & 0xFF; in efuse_read_1byte() 83 temp); in efuse_read_1byte() 118 u8 temp; efuse_write_1byte() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb.sh | 188 cfg_test_host_common "IPv4" "239.1.1.1" "192.0.2.1" "temp" "permanent" 189 cfg_test_host_common "IPv6" "ff0e::1" "2001:db8:1::1" "temp" "permanent" 191 "permanent" "temp" 246 bridge mdb add dev br0 port $swp1 $grp_key temp vid 10 &> /dev/null 318 ## State (permanent / temp) tests. 339 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ 342 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp" 343 check_err $? "(*, G) EXCLUDE entry not added as \"temp\" when should" 344 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp" 345 check_err $? "(S, G) \"blocked\" entry not added as \"temp\" whe [all...] |