Home
last modified time | relevance | path

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

12

/drivers/char/agp/
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 …]
Dsworks-agp.c204 u32 temp2; in serverworks_fetch_size() local
211 pci_read_config_dword(agp_bridge->dev,serverworks_private.gart_addr_ofs,&temp2); in serverworks_fetch_size()
213 temp2 &= SVWRKS_SIZE_MASK; in serverworks_fetch_size()
216 if (temp2 == values[i].size_value) { in serverworks_fetch_size()
453 u32 temp, temp2; in agp_serverworks_probe() local
488 pci_read_config_dword(pdev, SVWRKS_APSIZE + 4, &temp2); in agp_serverworks_probe()
489 if (temp2 != 0) { in agp_serverworks_probe()
501 serverworks_private.mm_addr_ofs + 4, &temp2); in agp_serverworks_probe()
502 if (temp2 != 0) { in agp_serverworks_probe()
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/
Ddbtest.c443 union acpi_object *temp2 = NULL; in acpi_db_test_integer_type() local
482 status = acpi_db_read_from_object(node, ACPI_TYPE_INTEGER, &temp2); in acpi_db_test_integer_type()
487 if (temp2->integer.value != value_to_write) { in acpi_db_test_integer_type()
489 ACPI_FORMAT_UINT64(temp2->integer.value), in acpi_db_test_integer_type()
518 if (temp2) { in acpi_db_test_integer_type()
519 acpi_os_free(temp2); in acpi_db_test_integer_type()
546 union acpi_object *temp2 = NULL; in acpi_db_test_buffer_type() local
608 status = acpi_db_read_from_object(node, ACPI_TYPE_BUFFER, &temp2); in acpi_db_test_buffer_type()
613 if (memcmp(temp2->buffer.pointer, buffer, byte_length)) { in acpi_db_test_buffer_type()
643 if (temp2) { in acpi_db_test_buffer_type()
[all …]
/drivers/media/usb/dvb-usb/
Daf9005-fe.c141 u8 temp, temp0, temp1, temp2; in af9005_get_post_vit_err_cw_count() local
186 &temp2); in af9005_get_post_vit_err_cw_count()
189 err_count = ((u32) temp2 << 16) + ((u32) temp1 << 8) + temp0; in af9005_get_post_vit_err_cw_count()
241 u8 temp, temp0, temp1, temp2; in af9005_get_pre_vit_err_bit_count() local
267 &temp2); in af9005_get_pre_vit_err_bit_count()
270 *pre_err_count = ((u32) temp2 << 16) + ((u32) temp1 << 8) + temp0; in af9005_get_pre_vit_err_bit_count()
545 u8 temp0, temp1, temp2, temp3, buf[4]; in af9005_fe_program_cfoe() local
592 temp2 = (u8) ((NS_coeff1_2048Nu & 0x00FF0000) >> 16); in af9005_fe_program_cfoe()
597 buf[1] = temp2; in af9005_fe_program_cfoe()
627 temp2 = (u8) ((NS_coeff2_2k & 0x003FC000) >> 14); in af9005_fe_program_cfoe()
[all …]
/drivers/staging/xgifb/
Dvb_init.c387 static void XGI_SetDRAM_Helper(unsigned long P3d4, u8 seed, u8 temp2, u8 reg, in XGI_SetDRAM_Helper() argument
393 temp2 |= (((seed >> (2 * j)) & 0x03) << shift_factor); in XGI_SetDRAM_Helper()
394 xgifb_reg_set(P3d4, reg, temp2); in XGI_SetDRAM_Helper()
396 temp2 &= mask1; in XGI_SetDRAM_Helper()
397 temp2 += mask2; in XGI_SetDRAM_Helper()
405 unsigned char temp, temp1, temp2, temp3, j, k; in XGINew_SetDRAMDefaultRegister340() local
436 temp2 = 0x80; in XGINew_SetDRAMDefaultRegister340()
438 XGI_SetDRAM_Helper(P3d4, 0, temp2, 0x89, 0, 0xF0, 0x10); in XGINew_SetDRAMDefaultRegister340()
442 temp2 |= temp1; in XGINew_SetDRAMDefaultRegister340()
443 xgifb_reg_set(P3d4, 0x89, temp2); in XGINew_SetDRAMDefaultRegister340()
[all …]
Dvb_setmode.c749 unsigned short temp, ah, al, temp2, i, DisplayUnit; in XGI_SetCRT1Offset() local
756 temp2 = XGI330_RefIndex[RefreshRateTableIndex].Ext_InfoFlag; in XGI_SetCRT1Offset()
757 temp2 &= InterlaceMode; in XGI_SetCRT1Offset()
759 if (temp2) in XGI_SetCRT1Offset()
762 temp2 = pVBInfo->ModeType - ModeEGA; in XGI_SetCRT1Offset()
764 switch (temp2) { in XGI_SetCRT1Offset()
766 temp2 = 1; in XGI_SetCRT1Offset()
769 temp2 = 2; in XGI_SetCRT1Offset()
772 temp2 = 4; in XGI_SetCRT1Offset()
775 temp2 = 4; in XGI_SetCRT1Offset()
[all …]
/drivers/media/dvb-frontends/
Dnxt200x.c837 u16 temp = 0, temp2; in nxt200x_read_snr() local
848 temp2 = 0x7FFF - temp; in nxt200x_read_snr()
851 if (temp2 > 0x7F00) in nxt200x_read_snr()
852 snrdb = 1000*24 + ( 1000*(30-24) * ( temp2 - 0x7F00 ) / ( 0x7FFF - 0x7F00 ) ); in nxt200x_read_snr()
853 else if (temp2 > 0x7EC0) in nxt200x_read_snr()
854 snrdb = 1000*18 + ( 1000*(24-18) * ( temp2 - 0x7EC0 ) / ( 0x7F00 - 0x7EC0 ) ); in nxt200x_read_snr()
855 else if (temp2 > 0x7C00) in nxt200x_read_snr()
856 snrdb = 1000*12 + ( 1000*(18-12) * ( temp2 - 0x7C00 ) / ( 0x7EC0 - 0x7C00 ) ); in nxt200x_read_snr()
858 snrdb = 1000*0 + ( 1000*(12-0) * ( temp2 - 0 ) / ( 0x7C00 - 0 ) ); in nxt200x_read_snr()
Dmb86a16.c659 unsigned char temp1, temp2, temp3; in freqerr_chk() local
710 if (mb86a16_read(state, 0x23, &temp2) != 2) in freqerr_chk()
716 M = ((temp1 & 0x1f) << 12) + (temp2 << 4) + (temp3 >> 4); in freqerr_chk()
/drivers/video/fbdev/sis/
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 …]
Dsis_main.c2504 u8 temp1, temp2; in SiS_SenseCh() local
2520 temp2 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e); in SiS_SenseCh()
2521 if(((temp2 & 0x07) == 0x01) || (temp2 & 0x04)) { in SiS_SenseCh()
2525 temp2 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25); in SiS_SenseCh()
2526 if(temp2 != temp1) temp1 = temp2; in SiS_SenseCh()
2586 temp2 = SiS_GetCH701x(&ivideo->SiS_Pr, 0x20); in SiS_SenseCh()
2587 temp2 |= 0x01; in SiS_SenseCh()
2588 SiS_SetCH701x(&ivideo->SiS_Pr, 0x20, temp2); in SiS_SenseCh()
2590 temp2 ^= 0x01; in SiS_SenseCh()
2591 SiS_SetCH701x(&ivideo->SiS_Pr, 0x20, temp2); in SiS_SenseCh()
[all …]
Dinit301.c386 unsigned short temp1, temp2; in SiS_SaveCRT2Info() local
391 temp2 = ~(SetInSlaveMode >> 8); in SiS_SaveCRT2Info()
392 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x31,temp2,temp1); in SiS_SaveCRT2Info()
7248 unsigned short temp, temp1, temp2;
7251 temp2 = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x20);
7252 temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift);
7259 temp2 = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x42);
7260 temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift);
10346 unsigned short romptr, temp1, temp2; in SetPanelParms661() local
10363 temp2 = 0xfc; in SetPanelParms661()
[all …]
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c448 u16 temp1, temp2; in cmpk_handle_tx_rate_history() local
451 temp2 = ptemp[i] >> 16; in cmpk_handle_tx_rate_history()
452 ptemp[i] = (temp1 << 16) | temp2; in cmpk_handle_tx_rate_history()
/drivers/net/irda/
Dvia-ircc.h785 __u8 temp, temp1, temp2; in SetPulseWidth() local
789 temp2 = (width & 0x07) << 5; in SetPulseWidth()
790 temp |= temp2; in SetPulseWidth()
791 temp2 = (width & 0x18) >> 3; in SetPulseWidth()
792 temp1 |= temp2; in SetPulseWidth()
/drivers/pci/hotplug/
Dcpqphp_nvram.c146 u8 temp1, temp2, temp3, temp4, temp5, temp6; in check_for_compaq_ROM() local
150 temp2 = readb(rom_start + 0xffea + 1); in check_for_compaq_ROM()
156 (temp2 == 'O') && in check_for_compaq_ROM()
Dcpqphp_core.c101 u8 temp1, temp2, temp3, temp4; in detect_SMBIOS_pointer() local
108 temp2 = readb(fp+1); in detect_SMBIOS_pointer()
112 temp2 == 'S' && in detect_SMBIOS_pointer()
Dcpqphp_pci.c57 u8 temp1, temp2, temp3, temp4; in detect_HRT_floating_pointer() local
64 temp2 = readb(fp + SIG1); in detect_HRT_floating_pointer()
68 temp2 == 'H' && in detect_HRT_floating_pointer()
/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c1054 u32 temp1, temp2, reg1, reg2; in ti_bandgap_get_trend() local
1080 temp2 = ti_bandgap_readl(bgp, reg2); in ti_bandgap_get_trend()
1081 temp2 &= tsr->bgap_dtemp_mask; in ti_bandgap_get_trend()
1088 ret = ti_bandgap_adc_to_mcelsius(bgp, temp2, &t2); in ti_bandgap_get_trend()
/drivers/video/fbdev/
Dpm3fb.c1228 unsigned long tempBypass, i, temp1, temp2; in pm3fb_size_memory() local
1287 temp2 = in pm3fb_size_memory()
1290 if ((temp1 == (i * 0x00345678)) && (temp2 == 0)) in pm3fb_size_memory()
/drivers/platform/x86/
Dhdaps.c460 static DEVICE_ATTR(temp2, 0444, hdaps_temp2_show, NULL);
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c4283 int temp1, temp2, temp_diff; in wlc_lcnphy_calib_modes() local
4299 temp2 = LCNPHY_TEMPSENSE(pi_lcn->lcnphy_cal_temper); in wlc_lcnphy_calib_modes()
4300 temp_diff = temp1 - temp2; in wlc_lcnphy_calib_modes()
4408 s16 temp, temp1, temp2, qQ, qQ1, qQ2, shift; in wlc_lcnphy_load_rfpower() local
4425 qm_log10((s32) (1 << 6), 0, &temp2, &qQ2); in wlc_lcnphy_load_rfpower()
4428 temp2 = qm_shr16(temp2, qQ2 - qQ1); in wlc_lcnphy_load_rfpower()
4434 temp = qm_sub16(temp1, temp2); in wlc_lcnphy_load_rfpower()
/drivers/scsi/
DFlashPoint.c943 unsigned short temp, temp2, temp3, temp4, temp5, temp6; in FlashPoint_ProbeHostAdapter() local
1010 temp2 = 0x0000; in FlashPoint_ProbeHostAdapter()
1030 temp2 >>= 1; in FlashPoint_ProbeHostAdapter()
1041 temp2 |= 0x8000; /* Fall through */ in FlashPoint_ProbeHostAdapter()
1055 pCardInfo->si_per_targ_init_sync = temp2; in FlashPoint_ProbeHostAdapter()
1152 temp2 = RD_HARPOON(ioport + hp_xfer_pad); in FlashPoint_ProbeHostAdapter()
1154 WR_HARPOON(ioport + hp_xfer_pad, (temp2 | BIT(4))); in FlashPoint_ProbeHostAdapter()
1160 WR_HARPOON(ioport + hp_xfer_pad, (temp2 & ~BIT(4))); in FlashPoint_ProbeHostAdapter()
1161 WR_HARPOON(ioport + hp_xfer_pad, (temp2 | BIT(4))); in FlashPoint_ProbeHostAdapter()
1164 WR_HARPOON(ioport + hp_xfer_pad, temp2); in FlashPoint_ProbeHostAdapter()
/drivers/net/wireless/ath/ath6kl/
Dhtc_mbox.c907 int temp1 = 0, temp2 = 0; in ath6kl_htc_tx_from_queue() local
912 &temp1, &temp2); in ath6kl_htc_tx_from_queue()
914 n_pkts_bundle += temp2; in ath6kl_htc_tx_from_queue()
/drivers/input/touchscreen/
Dad7877.c470 SHOW(temp2) in SHOW()
/drivers/isdn/hardware/mISDN/
Dhfcmulti.c2704 u_char e1_syncsta, temp, temp2; in hfcmulti_interrupt() local
2790 while (temp != (temp2 = in hfcmulti_interrupt()
2795 __func__, temp, temp2); in hfcmulti_interrupt()
2796 temp = temp2; /* repeat */ in hfcmulti_interrupt()

12