Home
last modified time | relevance | path

Searched refs:temp2 (Results 1 – 25 of 60) sorted by relevance

123

/linux/drivers/char/agp/
H A Dintel-agp.c118 u16 temp2; in intel_configure() local
137 pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp2); in intel_configure()
139 (temp2 & ~(1 << 10)) | (1 << 9)); in intel_configure()
148 u8 temp2; in intel_815_configure() local
178 pci_read_config_byte(agp_bridge->dev, INTEL_815_APCONT, &temp2); in intel_815_configure()
179 pci_write_config_byte(agp_bridge->dev, INTEL_815_APCONT, temp2 | (1 << 1)); in intel_815_configure()
207 u8 temp2; in intel_820_configure() local
228 pci_read_config_byte(agp_bridge->dev, INTEL_I820_RDCR, &temp2); in intel_820_configure()
229 pci_write_config_byte(agp_bridge->dev, INTEL_I820_RDCR, temp2 | (1 << 1)); in intel_820_configure()
237 u16 temp2; in intel_840_configure() local
[all …]
H A Dsworks-agp.c205 u32 temp2; in serverworks_fetch_size() local
212 pci_read_config_dword(agp_bridge->dev,serverworks_private.gart_addr_ofs,&temp2); in serverworks_fetch_size()
214 temp2 &= SVWRKS_SIZE_MASK; in serverworks_fetch_size()
217 if (temp2 == values[i].size_value) { in serverworks_fetch_size()
451 u32 temp, temp2; in agp_serverworks_probe() local
487 pci_read_config_dword(pdev, SVWRKS_APSIZE + 4, &temp2); in agp_serverworks_probe()
488 if (temp2 != 0) { in agp_serverworks_probe()
500 serverworks_private.mm_addr_ofs + 4, &temp2); in agp_serverworks_probe()
501 if (temp2 != 0) { in agp_serverworks_probe()
H A Defficeon-agp.c131 u16 temp2; in efficeon_configure() local
150 pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp2); in efficeon_configure()
152 (temp2 & ~(1 << 10)) | (1 << 9) | (1 << 11)); in efficeon_configure()
/linux/drivers/ras/amd/atl/
H A Dinternal.h304 u64 temp1, temp2; in expand_bits() local
318 temp2 = data & GENMASK_ULL(63, bit_num); in expand_bits()
319 temp2 <<= num_bits; in expand_bits()
321 return temp1 | temp2; in expand_bits()
333 u64 temp1, temp2; in remove_bits() local
343 temp2 = GENMASK_ULL(63, high_bit + 1) & data; in remove_bits()
344 temp2 >>= high_bit - low_bit + 1; in remove_bits()
346 return temp1 | temp2; in remove_bits()
/linux/drivers/acpi/acpica/
H A Ddbtest.c391 union acpi_object *temp2 = NULL; in acpi_db_test_integer_type() local
429 status = acpi_db_read_from_object(node, ACPI_TYPE_INTEGER, &temp2); in acpi_db_test_integer_type()
434 if (temp2->integer.value != value_to_write) { in acpi_db_test_integer_type()
436 ACPI_FORMAT_UINT64(temp2->integer.value), in acpi_db_test_integer_type()
465 if (temp2) { in acpi_db_test_integer_type()
466 acpi_os_free(temp2); in acpi_db_test_integer_type()
493 union acpi_object *temp2 = NULL; in acpi_db_test_buffer_type() local
556 status = acpi_db_read_from_object(node, ACPI_TYPE_BUFFER, &temp2); in acpi_db_test_buffer_type()
561 if (memcmp(temp2->buffer.pointer, buffer, byte_length)) { in acpi_db_test_buffer_type()
591 if (temp2) { in acpi_db_test_buffer_type()
[all …]
/linux/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c128 u8 temp, temp0, temp1, temp2; in af9005_get_post_vit_err_cw_count() local
173 &temp2); in af9005_get_post_vit_err_cw_count()
176 err_count = ((u32) temp2 << 16) + ((u32) temp1 << 8) + temp0; in af9005_get_post_vit_err_cw_count()
228 u8 temp, temp0, temp1, temp2; in af9005_get_pre_vit_err_bit_count() local
254 &temp2); in af9005_get_pre_vit_err_bit_count()
257 *pre_err_count = ((u32) temp2 << 16) + ((u32) temp1 << 8) + temp0; in af9005_get_pre_vit_err_bit_count()
532 u8 temp0, temp1, temp2, temp3, buf[4]; in af9005_fe_program_cfoe() local
579 temp2 = (u8) ((NS_coeff1_2048Nu & 0x00FF0000) >> 16); in af9005_fe_program_cfoe()
584 buf[1] = temp2; in af9005_fe_program_cfoe()
614 temp2 = (u8) ((NS_coeff2_2k & 0x003FC000) >> 14); in af9005_fe_program_cfoe()
[all …]
/linux/arch/arm64/kernel/
H A Darmv8_deprecated.c96 #define __user_swpX_asm(data, addr, res, temp, temp2, B) \ argument
113 : "=&r" (res), "+r" (data), "=&r" (temp), "=&r" (temp2) \
120 #define __user_swp_asm(data, addr, res, temp, temp2) \ argument
121 __user_swpX_asm(data, addr, res, temp, temp2, "")
122 #define __user_swpb_asm(data, addr, res, temp, temp2) \ argument
123 __user_swpX_asm(data, addr, res, temp, temp2, "b")
143 unsigned long temp, temp2; in emulate_swpX() local
146 __user_swpb_asm(*data, address, res, temp, temp2); in emulate_swpX()
148 __user_swp_asm(*data, address, res, temp, temp2); in emulate_swpX()
/linux/arch/arm/include/asm/
H A Dedac.h19 unsigned int temp, temp2; in edac_atomic_scrub() local
31 : "=&r"(temp), "=&r"(temp2) in edac_atomic_scrub()
/linux/drivers/media/dvb-frontends/
H A Dnxt200x.c807 u16 temp = 0, temp2; in nxt200x_read_snr() local
818 temp2 = 0x7FFF - temp; in nxt200x_read_snr()
821 if (temp2 > 0x7F00) in nxt200x_read_snr()
822 snrdb = 1000*24 + ( 1000*(30-24) * ( temp2 - 0x7F00 ) / ( 0x7FFF - 0x7F00 ) ); in nxt200x_read_snr()
823 else if (temp2 > 0x7EC0) in nxt200x_read_snr()
824 snrdb = 1000*18 + ( 1000*(24-18) * ( temp2 - 0x7EC0 ) / ( 0x7F00 - 0x7EC0 ) ); in nxt200x_read_snr()
825 else if (temp2 > 0x7C00) in nxt200x_read_snr()
826 snrdb = 1000*12 + ( 1000*(18-12) * ( temp2 - 0x7C00 ) / ( 0x7EC0 - 0x7C00 ) ); in nxt200x_read_snr()
828 snrdb = 1000*0 + ( 1000*(12-0) * ( temp2 - 0 ) / ( 0x7C00 - 0 ) ); in nxt200x_read_snr()
/linux/arch/loongarch/include/asm/
H A Dstackframe.h53 .macro JUMP_VIRT_ADDR temp1 temp2
55 pcaddi \temp2, 0
56 bstrins.d \temp1, \temp2, (DMW_PABITS - 1), 0
113 .macro set_saved_sp stackp temp temp2
/linux/drivers/video/fbdev/sis/
H A Dinit.c1014 unsigned char cr5f, temp1, temp2; in SiS_GetSysFlags() local
1035 temp2 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1036 if((!temp1) || (temp2)) { in SiS_GetSysFlags()
1689 unsigned short temp, temp1, temp2; in SiS_DoLowModeTest() local
1697 temp2 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); in SiS_DoLowModeTest()
1702 if(temp2 == 0x55) return false; in SiS_DoLowModeTest()
1705 if(temp2 != 0x55) return true; in SiS_DoLowModeTest()
1746 unsigned short temp1 = 0, temp2 = 0; in SiS_CloseCRTC()
1750 temp1 = 0xa0; temp2 = 0x08; in SiS_CloseCRTC()
1753 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x56,0xe7,temp2); in SiS_CloseCRTC()
[all …]
/linux/sound/pci/ice1712/
H A Dphase.c690 int temp, temp2; in phase28_deemp_put() local
692 temp2 = temp; in phase28_deemp_put()
697 if (temp != temp2) { in phase28_deemp_put()
727 int temp, temp2; in phase28_oversampling_put() local
731 temp2 = temp; in phase28_oversampling_put()
738 if (temp != temp2) { in phase28_oversampling_put()
/linux/Documentation/hwmon/
H A Dmax31760.rst74 …nels_temp Temperature source for auto fan control. 1: temp1, 2: temp2, 3: max(temp1, temp2)
H A Dw83795.rst58 7/ 8 VDSEN15/TR2/TD2 22h in18/temp2
114 4/ 5 VDSEN15/TR2/TD2 22h in18/temp2
H A Dvt1211.rst51 temp2), 1 dedicated voltage (in5) and 2 fans. Additionally, the chip
69 Reading 3 temp2 Internal thermal diode
125 All temperature channels except temp2 are external. Temp2 is the VT1211
126 internal thermal diode and the driver does all the scaling for temp2 and
H A Dw83l786ng.rst36 degC for temp1 and temp2.
H A Dw83627ehf.rst99 degC for temp1 and 0.5 degC for temp2 and temp3. For temp4 and higher,
103 Alarms are only supported for temp1, temp2, and temp3.
125 temp2 -> pwm2
H A Dasb100.rst53 - 0x0020 => temp2
H A Dw83791d.rst76 degC for temp1 and 0.5 degC for temp2 and temp3. An alarm is triggered when
168 temp2 0x000020 0x000020
H A Dw83792d.rst59 degC for temp1 and 0.5 degC for temp2 and temp3. An alarm is triggered when
81 3 temp2
/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c983 struct fixed31_32 temp2; in hermite_spline_eetf() local
1016 temp2 = dc_fixpt_mul(three, t2); in hermite_spline_eetf()
1020 dc_fixpt_sub(temp1, temp2))); in hermite_spline_eetf()
1024 dc_fixpt_sub(temp2, temp1))); in hermite_spline_eetf()
1027 temp2 = dc_fixpt_sub(dc_fixpt_one, ks); in hermite_spline_eetf()
1030 E2 = dc_fixpt_add(E2, dc_fixpt_mul(temp2, in hermite_spline_eetf()
1036 temp2 = dc_fixpt_mul(temp1, temp1); in hermite_spline_eetf()
1037 temp2 = dc_fixpt_mul(temp2, temp2); in hermite_spline_eetf()
1040 E3 = dc_fixpt_add(E2, dc_fixpt_mul(min_lum_pq, temp2)); in hermite_spline_eetf()
/linux/drivers/pci/hotplug/
H A Dcpqphp_nvram.c132 u8 temp1, temp2, temp3, temp4, temp5, temp6; in check_for_compaq_ROM() local
136 temp2 = readb(rom_start + 0xffea + 1); in check_for_compaq_ROM()
142 (temp2 == 'O') && in check_for_compaq_ROM()
/linux/drivers/thermal/ti-soc-thermal/
H A Dti-bandgap.c685 u32 temp1, temp2, reg1, reg2; in ti_bandgap_get_trend() local
711 temp2 = ti_bandgap_readl(bgp, reg2); in ti_bandgap_get_trend()
712 temp2 &= tsr->bgap_dtemp_mask; in ti_bandgap_get_trend()
719 ret = ti_bandgap_adc_to_mcelsius(bgp, temp2, &t2); in ti_bandgap_get_trend()
/linux/arch/mips/include/asm/
H A Dstackframe.h142 .macro set_saved_sp stackp temp temp2
189 .macro set_saved_sp stackp temp temp2
/linux/drivers/media/pci/ddbridge/
H A Dddbridge-core.c2801 int temp, temp2; in temp_show() local
2814 temp2 = (tmp[0] << 3) | (tmp[1] >> 5); in temp_show()
2815 temp2 *= 125; in temp_show()
2816 return sprintf(buf, "%d %d\n", temp, temp2); in temp_show()
3100 __ATTR_MRO(temp2, ctemp_show),
3239 u32 temp, temp2, pwm; in tempmon_setfan() local
3249 temp2 = (ddblreadl(link, TEMPMON_SENSOR1) >> 8) & 0xFF; in tempmon_setfan()
3250 if (temp2 & 0x80) in tempmon_setfan()
3251 temp2 = 0; in tempmon_setfan()
3252 if (temp2 > temp) in tempmon_setfan()
[all …]

123