Home
last modified time | relevance | path

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

12

/drivers/char/agp/
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
207 u8 temp2; in intel_820_configure() local
237 u16 temp2; in intel_840_configure() local
265 u8 temp2; in intel_845_configure() local
299 u16 temp2; in intel_850_configure() local
327 u16 temp2; in intel_860_configure() local
355 u16 temp2; in intel_830mp_configure() local
[all …]
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()
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()
/drivers/acpi/acpica/
A Ddbtest.c391 union acpi_object *temp2 = NULL; in acpi_db_test_integer_type() local
434 if (temp2->integer.value != value_to_write) { 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
591 if (temp2) { in acpi_db_test_buffer_type()
592 acpi_os_free(temp2); in acpi_db_test_buffer_type()
619 union acpi_object *temp2 = NULL; in acpi_db_test_string_type() local
656 temp2->string.pointer, value_to_write); in acpi_db_test_string_type()
685 if (temp2) { in acpi_db_test_string_type()
[all …]
/drivers/ras/amd/atl/
A Dinternal.h305 u64 temp1, temp2; in expand_bits() local
319 temp2 = data & GENMASK_ULL(63, bit_num); in expand_bits()
320 temp2 <<= num_bits; in expand_bits()
322 return temp1 | temp2; in expand_bits()
334 u64 temp1, temp2; in remove_bits() local
344 temp2 = GENMASK_ULL(63, high_bit + 1) & data; in remove_bits()
345 temp2 >>= high_bit - low_bit + 1; in remove_bits()
347 return temp1 | temp2; in remove_bits()
/drivers/media/usb/dvb-usb/
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()
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()
584 buf[1] = temp2; in af9005_fe_program_cfoe()
619 buf[1] = temp2; in af9005_fe_program_cfoe()
650 buf[1] = temp2; in af9005_fe_program_cfoe()
681 buf[1] = temp2; in af9005_fe_program_cfoe()
712 buf[1] = temp2; in af9005_fe_program_cfoe()
743 buf[1] = temp2; in af9005_fe_program_cfoe()
[all …]
/drivers/media/dvb-frontends/
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()
A Dmb86a16.c635 unsigned char temp1, temp2, temp3; in freqerr_chk() local
686 if (mb86a16_read(state, 0x23, &temp2) != 2) in freqerr_chk()
692 M = ((temp1 & 0x1f) << 12) + (temp2 << 4) + (temp3 >> 4); in freqerr_chk()
/drivers/video/fbdev/sis/
A Dinit.c1014 unsigned char cr5f, temp1, temp2; in SiS_GetSysFlags() local
1036 if((!temp1) || (temp2)) { in SiS_GetSysFlags()
1689 unsigned short temp, temp1, temp2; in SiS_DoLowModeTest() local
1705 if(temp2 != 0x55) return true; in SiS_DoLowModeTest()
1750 temp1 = 0xa0; temp2 = 0x08; in SiS_CloseCRTC()
2231 unsigned short temp1, temp2; in SiS_GetFIFOThresholdIndex300() local
2291 unsigned short temp1, temp2; in SiS_CalcDelay() local
2297 if(temp2 < temp1) temp2 = temp1; in SiS_CalcDelay()
2298 return temp2; in SiS_CalcDelay()
3148 temp2 = 0x03; in SiS_Handle760()
[all …]
A Dsis_main.c2528 u8 temp1, temp2; in SiS_SenseCh() local
2545 if(((temp2 & 0x07) == 0x01) || (temp2 & 0x04)) { in SiS_SenseCh()
2550 if(temp2 != temp1) temp1 = temp2; in SiS_SenseCh()
2610 temp2 = SiS_GetCH701x(&ivideo->SiS_Pr, 0x20); in SiS_SenseCh()
2611 temp2 |= 0x01; in SiS_SenseCh()
2612 SiS_SetCH701x(&ivideo->SiS_Pr, 0x20, temp2); in SiS_SenseCh()
2614 temp2 ^= 0x01; in SiS_SenseCh()
2615 SiS_SetCH701x(&ivideo->SiS_Pr, 0x20, temp2); in SiS_SenseCh()
2620 if(temp2 & 0x02) temp1 |= 0x01; in SiS_SenseCh()
2621 if(temp2 & 0x10) temp1 |= 0x01; in SiS_SenseCh()
[all …]
A Dinit301.c711 unsigned short temp1, temp2; in SiS_SaveCRT2Info() local
716 temp2 = ~(SetInSlaveMode >> 8); in SiS_SaveCRT2Info()
717 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x31,temp2,temp1); in SiS_SaveCRT2Info()
7571 unsigned short temp, temp1, temp2;
7574 temp2 = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x20);
7575 temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift);
7582 temp2 = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x42);
10662 unsigned short romptr, temp1, temp2; in SetPanelParms661() local
10679 temp2 = 0xfc; in SetPanelParms661()
10682 temp2 = 0xf3; in SetPanelParms661()
[all …]
/drivers/gpu/drm/amd/display/modules/color/
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()
/drivers/pci/hotplug/
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()
A Dcpqphp_core.c87 u8 temp1, temp2, temp3, temp4; in detect_SMBIOS_pointer() local
94 temp2 = readb(fp+1); in detect_SMBIOS_pointer()
98 temp2 == 'S' && in detect_SMBIOS_pointer()
A Dcpqphp_pci.c46 u8 temp1, temp2, temp3, temp4; in detect_HRT_floating_pointer() local
53 temp2 = readb(fp + SIG1); in detect_HRT_floating_pointer()
57 temp2 == 'H' && in detect_HRT_floating_pointer()
/drivers/thermal/ti-soc-thermal/
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()
/drivers/media/pci/ddbridge/
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 …]
/drivers/gpu/drm/bridge/
A Dlontium-lt9611.c275 unsigned int temp, temp2; in lt9611_read_video_check() local
282 ret = regmap_read(lt9611->regmap, reg + 1, &temp2); in lt9611_read_video_check()
286 return (temp + temp2); in lt9611_read_video_check()
/drivers/media/i2c/
A Dov5640.c1865 u8 temp1, temp2; in ov5640_get_sysclk() local
1871 temp2 = temp1 & 0x0f; in ov5640_get_sysclk()
1872 if (temp2 == 8 || temp2 == 10) in ov5640_get_sysclk()
1873 bit_div2x = temp2 / 2; in ov5640_get_sysclk()
1896 temp2 = temp1 & 0x03; in ov5640_get_sysclk()
1897 sclk_rdiv = sclk_rdiv_map[temp2]; in ov5640_get_sysclk()
/drivers/video/fbdev/
A Dpm3fb.c1231 unsigned long tempBypass, i, temp1, temp2; in pm3fb_size_memory() local
1290 temp2 = in pm3fb_size_memory()
1293 if ((temp1 == (i * 0x00345678)) && (temp2 == 0)) in pm3fb_size_memory()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
A Dphy_lcn.c4194 int temp1, temp2, temp_diff; in wlc_lcnphy_calib_modes() local
4210 temp2 = LCNPHY_TEMPSENSE(pi_lcn->lcnphy_cal_temper); in wlc_lcnphy_calib_modes()
4211 temp_diff = temp1 - temp2; in wlc_lcnphy_calib_modes()
4319 s16 temp, temp1, temp2, qQ, qQ1, qQ2, shift; in wlc_lcnphy_load_rfpower() local
4336 qm_log10((s32) (1 << 6), 0, &temp2, &qQ2); in wlc_lcnphy_load_rfpower()
4339 temp2 = qm_shr16(temp2, qQ2 - qQ1); in wlc_lcnphy_load_rfpower()
4345 temp = qm_sub16(temp1, temp2); in wlc_lcnphy_load_rfpower()
/drivers/scsi/
A DFlashPoint.c915 unsigned short temp, temp2, temp3, temp4, temp5, temp6; in FlashPoint_ProbeHostAdapter() local
982 temp2 = 0x0000; in FlashPoint_ProbeHostAdapter()
1002 temp2 >>= 1; in FlashPoint_ProbeHostAdapter()
1015 temp2 |= 0x8000; in FlashPoint_ProbeHostAdapter()
1030 pCardInfo->si_per_targ_init_sync = temp2; in FlashPoint_ProbeHostAdapter()
1127 temp2 = RD_HARPOON(ioport + hp_xfer_pad); in FlashPoint_ProbeHostAdapter()
1129 WR_HARPOON(ioport + hp_xfer_pad, (temp2 | BIT(4))); in FlashPoint_ProbeHostAdapter()
1135 WR_HARPOON(ioport + hp_xfer_pad, (temp2 & ~BIT(4))); in FlashPoint_ProbeHostAdapter()
1136 WR_HARPOON(ioport + hp_xfer_pad, (temp2 | BIT(4))); in FlashPoint_ProbeHostAdapter()
1139 WR_HARPOON(ioport + hp_xfer_pad, temp2); in FlashPoint_ProbeHostAdapter()
/drivers/platform/x86/
A Dhdaps.c447 static DEVICE_ATTR(temp2, 0444, hdaps_temp2_show, NULL);
/drivers/gpu/drm/msm/dp/
A Ddp_ctrl.c693 s64 temp1_fp, temp2_fp, temp, temp1, temp2; in _tu_valid_boundary_calc() local
816 temp2 = drm_fixp2int_ceil(temp2_fp); in _tu_valid_boundary_calc()
818 temp2 = 0; in _tu_valid_boundary_calc()
819 tu->extra_required_bytes_new_tmp = (int)(temp1 + temp2); in _tu_valid_boundary_calc()
/drivers/net/wireless/ath/ath6kl/
A Dhtc_mbox.c906 int temp1 = 0, temp2 = 0; in ath6kl_htc_tx_from_queue() local
911 &temp1, &temp2); in ath6kl_htc_tx_from_queue()
913 n_pkts_bundle += temp2; in ath6kl_htc_tx_from_queue()

Completed in 141 milliseconds

12