Home
last modified time | relevance | path

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

/linux-4.4.14/arch/ia64/include/asm/
Dmca_asm.h82 #define PHYSICAL_MODE_ENTER(temp1, temp2, start_addr, old_psr) \ argument
90 mov temp2 = ar.bspstore; \
92 DATA_VA_TO_PA(temp2); \
96 mov ar.bspstore = temp2; \
100 mov temp2 = psr; \
103 dep temp2 = 0, temp2, PSR_IC, 2; \
105 mov psr.l = temp2; \
124 LOAD_PHYSICAL(p0, temp2, start_addr); \
126 mov cr.iip = temp2; \
162 #define VIRTUAL_MODE_ENTER(temp1, temp2, start_addr, old_psr) \ argument
[all …]
/linux-4.4.14/arch/ia64/kernel/
Dmca_asm.S412 #define temp2 r3 /* careful, it overlaps with input registers */ macro
461 GET_IA64_MCA_DATA(temp2)
463 add temp1=temp2, regs // struct ia64_sal_os_state on MCA or INIT stack
464 add temp2=temp2, ms // struct ia64_sal_os_state+8 on MCA or INIT stack
468 st8 [temp2]=r8,16 // pal_proc
471 st8 [temp2]=r11,16 // rv_rc
475 st8 [temp2]=r19 // monarch
478 add temp2=SOS(SAL_GP), regs
481 st8 [temp2]=r10,16 // sal_gp
485 st8 [temp2]=r6,16 // prev_IA64_KR_CURRENT
[all …]
/linux-4.4.14/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()
/linux-4.4.14/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 …]
/linux-4.4.14/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 …]
/linux-4.4.14/arch/arm/include/asm/
Dedac.h30 unsigned int temp, temp2; in edac_atomic_scrub() local
42 : "=&r"(temp), "=&r"(temp2) in edac_atomic_scrub()
/linux-4.4.14/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 …]
/linux-4.4.14/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()
/linux-4.4.14/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()
7252 unsigned short temp, temp1, temp2;
7255 temp2 = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x20);
7256 temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift);
7263 temp2 = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x42);
7264 temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift);
10354 unsigned short romptr, temp1, temp2; in SetPanelParms661() local
10371 temp2 = 0xfc; in SetPanelParms661()
[all …]
/linux-4.4.14/sound/pci/ice1712/
Dphase.c704 int temp, temp2; in phase28_deemp_put() local
706 temp2 = temp; in phase28_deemp_put()
711 if (temp != temp2) { in phase28_deemp_put()
741 int temp, temp2; in phase28_oversampling_put() local
745 temp2 = temp; in phase28_oversampling_put()
752 if (temp != temp2) { in phase28_oversampling_put()
Daureon.c1353 int temp, temp2; in aureon_deemp_put() local
1354 temp2 = temp = wm_get(ice, WM_DAC_CTRL2); in aureon_deemp_put()
1359 if (temp != temp2) { in aureon_deemp_put()
1385 int temp, temp2; in aureon_oversampling_put() local
1388 temp2 = temp = wm_get(ice, WM_MASTER); in aureon_oversampling_put()
1395 if (temp != temp2) { in aureon_oversampling_put()
/linux-4.4.14/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()
/linux-4.4.14/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()
/linux-4.4.14/Documentation/hwmon/
Dvt121144 temp2), 1 dedicated voltage (in5) and 2 fans. Additionally, the chip
61 Reading 3 temp2 Internal thermal diode
113 All temperature channels except temp2 are external. Temp2 is the VT1211
114 internal thermal diode and the driver does all the scaling for temp2 and
Dw8379547 7/ 8 | VDSEN15/TR2/TD2 | 22h | in18/temp2
100 4/ 5 | VDSEN15/TR2/TD2 | 22h | in18/temp2
Dw83l786ng31 degC for temp1 and temp2.
Dw83627ehf65 degC for temp1 and and 0.5 degC for temp2 and temp3. For temp4 and higher,
69 Alarms are only supported for temp1, temp2, and temp3.
91 temp2 -> pwm2
Dasb10049 0x0020 => temp2
Dltc2978149 temp1 and temp2 report external temperatures, and temp3
152 and temp2 reports the chip temperature.
Dw83791d65 degC for temp1 and 0.5 degC for temp2 and temp3. An alarm is triggered when
150 temp2 : alarms: 0x000020 beep_mask: 0x000020
Dw83792d54 degC for temp1 and 0.5 degC for temp2 and temp3. An alarm is triggered when
74 3 - temp2
Dthmc5063 temp2 -- remote
Dsmsc47m19283 Note that temp1 and temp2 offsets share the same register,
Dmax34440111 temp1 is the chip's internal temperature. temp2..temp5
Dadm1021107 only temp2 will be correct and temp1 will have to be ignored.
Dw83781d132 0x000020: temp2 (+temp3 on W83781D)
295 would control temp1, bit 3 temp2 and bit 5 temp3.
367 Looks like bits 1-0 are for temp1, bits 3-2 for temp2 and bits 5-4 for
Ddme1737125 temp2: DME1737 internal temperature -127C - +127C
246 2: temp2
Dsysfs-interface270 auto mode. Bitfield, 1 is temp1, 2 is temp2, 4 is temp3 etc...
/linux-4.4.14/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()
/linux-4.4.14/arch/frv/kernel/
Dgdb-stub.c1395 unsigned long addr, length, loop, dbar, temp, temp2, temp3; in gdbstub() local
1429 temp2 = (unsigned long) __entry_usertrap_table; in gdbstub()
1433 temp3 == temp2 + TBR_TT_INTERRUPT_15 in gdbstub()
1447 temp3 == temp2 + TBR_TT_DECREMENT_TIMER in gdbstub()
1809 temp2 = 1; in gdbstub()
1862 temp2 = 0; in gdbstub()
1866 if (temp2) { in gdbstub()
/linux-4.4.14/arch/mips/include/asm/
Dstackframe.h103 .macro set_saved_sp stackp temp temp2
141 .macro set_saved_sp stackp temp temp2
/linux-4.4.14/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()
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_bmap.c1724 xfs_filblks_t temp2=0;/* value for da_new calculations */ in xfs_bmap_add_extent_delay_real() local
2143 temp2 = PREV.br_startoff + PREV.br_blockcount - new_endoff; in xfs_bmap_add_extent_delay_real()
2149 (int)xfs_bmap_worst_indlen(bma->ip, temp2)); in xfs_bmap_add_extent_delay_real()
2151 RIGHT.br_blockcount = temp2; in xfs_bmap_add_extent_delay_real()
2181 temp2 = xfs_bmap_worst_indlen(bma->ip, temp2); in xfs_bmap_add_extent_delay_real()
2182 diff = (int)(temp + temp2 - startblockval(PREV.br_startblock) - in xfs_bmap_add_extent_delay_real()
2197 nullstartblock((int)temp2)); in xfs_bmap_add_extent_delay_real()
2201 da_new = temp + temp2; in xfs_bmap_add_extent_delay_real()
4751 xfs_filblks_t temp2; /* for indirect length calculations */ in xfs_bmap_del_extent() local
4919 temp2 = got_endoff - del_endoff; in xfs_bmap_del_extent()
[all …]
/linux-4.4.14/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()
/linux-4.4.14/drivers/platform/x86/
Dhdaps.c460 static DEVICE_ATTR(temp2, 0444, hdaps_temp2_show, NULL);
/linux-4.4.14/sound/pci/asihpi/
Dhpi6205.c2008 u32 temp2; in hpi6205_transfer_data() local
2036 temp2 = wait_dsp_ack(phw, operation, HPI6205_TIMEOUT); in hpi6205_transfer_data()
2038 HPI6205_TIMEOUT - temp2, this_copy); in hpi6205_transfer_data()
2040 if (!temp2) { in hpi6205_transfer_data()
/linux-4.4.14/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()
/linux-4.4.14/arch/arm/boot/dts/
Dimx6q-dmo-edmqmx6.dts279 temp2: ad7414@4d { label
/linux-4.4.14/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()
/linux-4.4.14/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()
/linux-4.4.14/drivers/input/touchscreen/
Dad7877.c470 SHOW(temp2) in SHOW()
/linux-4.4.14/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()
/linux-4.4.14/drivers/net/ethernet/nvidia/
Dforcedeth.c1634 u32 temp1, temp2, temp3; in nv_mac_reset() local
1641 temp2 = readl(base + NvRegMacAddrB); in nv_mac_reset()
1653 writel(temp2, base + NvRegMacAddrB); in nv_mac_reset()
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c6800 u64 *temp2, int size) in set_rxd_buffer_pointer() argument
6842 rxdp3->Buffer2_ptr = *temp2; in set_rxd_buffer_pointer()
6856 rxdp3->Buffer2_ptr = *temp2 = in set_rxd_buffer_pointer()