Home
last modified time | relevance | path

Searched refs:temp1 (Results 1 – 25 of 62) sorted by relevance

123

/linux-3.4.99/arch/ia64/include/asm/
Dmca_asm.h82 #define PHYSICAL_MODE_ENTER(temp1, temp2, start_addr, old_psr) \ argument
94 mov temp1 = ar.rnat; \
98 mov ar.rnat = temp1; \
99 mov temp1 = psr; \
108 dep temp1 = 0, temp1, 32, 32; \
110 dep temp1 = 0, temp1, PSR_IT, 1; \
112 dep temp1 = 0, temp1, PSR_DT, 1; \
114 dep temp1 = 0, temp1, PSR_RT, 1; \
116 dep temp1 = 0, temp1, PSR_I, 1; \
118 dep temp1 = 0, temp1, PSR_IC, 1; \
[all …]
/linux-3.4.99/arch/ia64/kernel/
Dmca_asm.S411 #define temp1 r2 /* careful, it overlaps with input registers */ macro
463 add temp1=temp2, regs // struct ia64_sal_os_state on MCA or INIT stack
466 mov regs=temp1 // save the start of sos
467 st8 [temp1]=r1,16 // os_gp
470 st8 [temp1]=r9,16 // sal_proc
474 st8 [temp1]=r18 // proc_state_param
477 add temp1=SOS(SAL_RA), regs
480 st8 [temp1]=r12,16 // sal_ra
484 st8 [temp1]=r17,16 // pal_min_state
488 st8 [temp1]=r6,16 // prev_IA64_KR_CURRENT_STACK
[all …]
/linux-3.4.99/drivers/media/dvb/dvb-usb/
Daf9005-fe.c77 u8 temp0, temp1; in af9005_read_word_agc() local
81 if ((ret = af9005_read_ofdm_register(d, reghi, &temp1))) in af9005_read_word_agc()
85 *value = ((u16) (temp1 & 0x03) << 8) + (u16) temp0; in af9005_read_word_agc()
88 *value = ((u16) (temp1 & 0x0C) << 6) + (u16) temp0; in af9005_read_word_agc()
91 *value = ((u16) (temp1 & 0x30) << 4) + (u16) temp0; in af9005_read_word_agc()
94 *value = ((u16) (temp1 & 0xC0) << 2) + (u16) temp0; in af9005_read_word_agc()
141 u8 temp, temp0, temp1, temp2; in af9005_get_post_vit_err_cw_count() local
168 &temp1); in af9005_get_post_vit_err_cw_count()
171 loc_abort_count = ((u16) temp1 << 8) + temp0; in af9005_get_post_vit_err_cw_count()
181 &temp1); in af9005_get_post_vit_err_cw_count()
[all …]
/linux-3.4.99/drivers/staging/cxt1e1/
Dsbecrc.c94 u_int32_t temp1, temp2, crc; in sbeCrc() local
122 temp1 = (crc >> 8) & 0x00FFFFFFL; in sbeCrc()
124 crc = temp1 ^ temp2; in sbeCrc()
/linux-3.4.99/sound/oss/
Dswarm_cs4297a.c1173 unsigned temp1; in mixer_ioctl() local
1227 temp1 = (val & 0x3f) >> 2; in mixer_ioctl()
1228 cs4297a_write_ac97(s, AC97_3D_CONTROL, temp1); in mixer_ioctl()
1230 &temp1); in mixer_ioctl()
1232 temp1 | 0x2000); in mixer_ioctl()
1234 cs4297a_read_ac97(s, AC97_3D_CONTROL, &temp1); in mixer_ioctl()
1235 return put_user((temp1 << 2) | 3, (int *) arg); in mixer_ioctl()
1268 &temp1); in mixer_ioctl()
1269 return put_user(mixer_src[temp1 & 7], (int *) arg); in mixer_ioctl()
1315 temp1 = (i << 8) | i; in mixer_ioctl()
[all …]
/linux-3.4.99/arch/m68k/lib/
Dmemset.c39 size_t temp1; in memset() local
58 : "=a" (ls), "=d" (temp), "=&d" (temp1) in memset()
Dmemcpy.c13 size_t temp, temp1; in memcpy() local
68 : "=a" (lfrom), "=a" (lto), "=d" (temp), "=&d" (temp1) in memcpy()
/linux-3.4.99/sound/pci/emu10k1/
Dmemory.c520 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_bzero() local
530 temp1 = end_offset - offset; in snd_emu10k1_synth_bzero()
531 if (temp1 < temp) in snd_emu10k1_synth_bzero()
532 temp = temp1; in snd_emu10k1_synth_bzero()
550 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_copy_from_user() local
560 temp1 = end_offset - offset; in snd_emu10k1_synth_copy_from_user()
561 if (temp1 < temp) in snd_emu10k1_synth_copy_from_user()
562 temp = temp1; in snd_emu10k1_synth_copy_from_user()
/linux-3.4.99/drivers/staging/xgifb/
Dvb_init.c449 unsigned char temp, temp1, temp2, temp3, i, j, k; in XGINew_SetDRAMDefaultRegister340() local
463 temp1 = ((temp >> (2 * j)) & 0x03) << 2; in XGINew_SetDRAMDefaultRegister340()
464 temp2 |= temp1; in XGINew_SetDRAMDefaultRegister340()
478 temp1 = ((temp >> (2 * j)) & 0x03) << 2; in XGINew_SetDRAMDefaultRegister340()
479 temp2 |= temp1; in XGINew_SetDRAMDefaultRegister340()
497 temp1 = (temp >> (2 * j)) & 0x03; in XGINew_SetDRAMDefaultRegister340()
498 temp2 |= temp1; in XGINew_SetDRAMDefaultRegister340()
520 temp1 = (temp >> (2 * j)) & 0x03; in XGINew_SetDRAMDefaultRegister340()
521 temp2 |= temp1; in XGINew_SetDRAMDefaultRegister340()
529 temp1 = temp & 0x03; in XGINew_SetDRAMDefaultRegister340()
[all …]
/linux-3.4.99/drivers/w1/masters/
Dds2482.c416 int temp1; in ds2482_probe() local
442 temp1 = i2c_smbus_read_byte(client); in ds2482_probe()
443 if (temp1 != (DS2482_REG_STS_LL | DS2482_REG_STS_RST)) { in ds2482_probe()
445 "0x%02X - not a DS2482\n", temp1); in ds2482_probe()
/linux-3.4.99/drivers/usb/host/
Dehci-hub.c674 u32 temp, temp1, status; in ehci_hub_control() local
741 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
742 ehci_writel(ehci, temp1 & ~HOSTPC_PHCD, in ehci_hub_control()
914 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
915 status |= ehci_port_speed(ehci, temp1); in ehci_hub_control()
997 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
998 ehci_writel(ehci, temp1 | HOSTPC_PHCD, in ehci_hub_control()
1000 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1002 wIndex, (temp1 & HOSTPC_PHCD) ? in ehci_hub_control()
/linux-3.4.99/drivers/hwmon/
Dsmm665.c477 SMM665_ATTR(temp1, input, SMM665_MISC16_ADC_DATA_INT_TEMP);
478 SMM665_ATTR(temp1, min, SMM665_MISC16_ADC_DATA_INT_TEMP);
479 SMM665_ATTR(temp1, max, SMM665_MISC16_ADC_DATA_INT_TEMP);
480 SMM665_ATTR(temp1, lcrit, SMM665_MISC16_ADC_DATA_INT_TEMP);
481 SMM665_ATTR(temp1, crit, SMM665_MISC16_ADC_DATA_INT_TEMP);
482 SMM665_ATTR(temp1, crit_alarm, SMM665_FAULT_TEMP);
Dw83792d.c289 u8 temp1[3]; /* current, over, thyst */ member
514 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[nr])); in show_temp1()
532 data->temp1[nr] = TEMP1_TO_REG(val); in store_temp1()
534 data->temp1[nr]); in store_temp1()
774 u8 temp1 = 0, temp2 = 0; in store_chassis_clear_legacy() local
786 temp1 = ((data->chassis_clear) << 7) & 0x80; in store_chassis_clear_legacy()
789 w83792d_write_value(client, W83792D_REG_CHASSIS_CLR, temp1 | temp2); in store_chassis_clear_legacy()
1605 data->temp1[i] = w83792d_read_value(client, in w83792d_update_device()
1708 dev_dbg(dev, "temp1[%d] is: 0x%x\n", i, data->temp1[i]); in w83792d_print_debug()
/linux-3.4.99/drivers/video/sis/
Dinit.c1013 unsigned char cr5f, temp1, temp2; in SiS_GetSysFlags() local
1032 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1035 if((!temp1) || (temp2)) { in SiS_GetSysFlags()
1051 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1052 switch(temp1) { in SiS_GetSysFlags()
1688 unsigned short temp, temp1, temp2; in SiS_DoLowModeTest() local
1694 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); in SiS_DoLowModeTest()
1697 SiS_SetReg(SiS_Pr->SiS_P3d4,0x00,temp1); in SiS_DoLowModeTest()
1745 unsigned short temp1 = 0, temp2 = 0; in SiS_CloseCRTC()
1749 temp1 = 0xa0; temp2 = 0x08; in SiS_CloseCRTC()
[all …]
Dinit301.c386 unsigned short temp1, temp2; in SiS_SaveCRT2Info() local
390 temp1 = (SiS_Pr->SiS_VBInfo & SetInSlaveMode) >> 8; in SiS_SaveCRT2Info()
392 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x31,temp2,temp1); in SiS_SaveCRT2Info()
404 unsigned short temp,temp1; in SiS_CR36BIOSWord23b() local
409 temp1 = SISGETROMW(0x23b); in SiS_CR36BIOSWord23b()
410 if(temp1 & temp) return true; in SiS_CR36BIOSWord23b()
420 unsigned short temp,temp1; in SiS_CR36BIOSWord23d() local
425 temp1 = SISGETROMW(0x23d); in SiS_CR36BIOSWord23d()
426 if(temp1 & temp) return true; in SiS_CR36BIOSWord23d()
1208 unsigned short temp, temp1, resinfo = 0, romindex = 0; in SiS_SetTVMode() local
[all …]
Dsis_main.c2525 u8 temp1, temp2; in SiS_SenseCh() local
2539 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25); in SiS_SenseCh()
2547 if(temp2 != temp1) temp1 = temp2; in SiS_SenseCh()
2549 if((temp1 >= 0x22) && (temp1 <= 0x50)) { in SiS_SenseCh()
2551 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e); in SiS_SenseCh()
2552 if((temp1 & 0x03) != 0x03) { in SiS_SenseCh()
2563 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x10); in SiS_SenseCh()
2564 if(!(temp1 & 0x08)) test[i] = 0x02; in SiS_SenseCh()
2565 else if(!(temp1 & 0x02)) test[i] = 0x01; in SiS_SenseCh()
2570 if(test[0] == test[1]) temp1 = test[0]; in SiS_SenseCh()
[all …]
/linux-3.4.99/drivers/char/
Dnwflash.c334 int temp, temp1; in erase_block() local
425 if ((temp1 = *(volatile unsigned int *) pWritePtr) != 0xFFFFFFFF) { in erase_block()
427 pWritePtr, temp1); in erase_block()
/linux-3.4.99/drivers/staging/winbond/
Dphy_calibration.c695 s32 temp1, temp2; in _tx_iq_calibration_loop_winbond() local
840 temp1 = (41943040/cos_2b)*cos_b; in _tx_iq_calibration_loop_winbond()
848 tx_cal_flt_b[0] = _floor(temp1/(32768+a_2)); in _tx_iq_calibration_loop_winbond()
851 tx_cal_flt_b[3] = _floor(temp1/(32768-a_2)); in _tx_iq_calibration_loop_winbond()
1121 s32 temp1, temp2; in _rx_iq_calibration_loop_winbond() local
1246 temp1 = (41943040/cos_2b)*cos_b; in _rx_iq_calibration_loop_winbond()
1254 rx_cal_flt_b[0] = _floor(temp1/(32768+a_2)); in _rx_iq_calibration_loop_winbond()
1257 rx_cal_flt_b[3] = _floor(temp1/(32768-a_2)); in _rx_iq_calibration_loop_winbond()
/linux-3.4.99/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_cmdpkt.c315 u16 temp1, temp2; in cmpk_handle_tx_rate_history() local
317 temp1 = ptemp[i] & 0x0000FFFF; in cmpk_handle_tx_rate_history()
319 ptemp[i] = (temp1 << 16) | temp2; in cmpk_handle_tx_rate_history()
/linux-3.4.99/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c643 u16 temp1, temp2; in cmpk_handle_tx_rate_history() local
645 temp1 = ptemp[i]&0x0000FFFF; in cmpk_handle_tx_rate_history()
647 ptemp[i] = (temp1<<16)|temp2; in cmpk_handle_tx_rate_history()
/linux-3.4.99/Documentation/hwmon/
Dvt121143 capabilities. It monitors 2 dedicated temperature sensor inputs (temp1 and
60 Reading 1 temp1 Intel thermal diode
116 temp1 and temp3-temp7, scaling depends on the board implementation and needs
122 compute temp1 (@-Offset)/Gain, (@*Gain)+Offset
Dw8379546 5/ 6 | VDSEN14/TR1/TD1 | 21h | in17/temp1
99 2/ 3 | VDSEN14/TR1/TD1 | 21h | in17/temp1
/linux-3.4.99/drivers/pci/hotplug/
Dcpqphp_nvram.c147 u8 temp1, temp2, temp3, temp4, temp5, temp6; in check_for_compaq_ROM() local
150 temp1 = readb(rom_start + 0xffea + 0); in check_for_compaq_ROM()
156 if ((temp1 == 'C') && in check_for_compaq_ROM()
/linux-3.4.99/drivers/net/irda/
Dvia-ircc.h790 __u8 temp, temp1, temp2; in SetPulseWidth() local
793 temp1 = (ReadReg(iobase, I_CF_H_1) & 0xfc); in SetPulseWidth()
797 temp1 |= temp2; in SetPulseWidth()
799 WriteReg(iobase, I_CF_H_1, temp1); in SetPulseWidth()
/linux-3.4.99/drivers/media/dvb/frontends/
Dmb86a16.c657 unsigned char temp1, temp2, temp3; in freqerr_chk() local
673 if (mb86a16_read(state, 0x49, &temp1) != 2) in freqerr_chk()
676 afcen = (temp1 & 0x04) >> 2; in freqerr_chk()
678 if (mb86a16_read(state, 0x2a, &temp1) != 2) in freqerr_chk()
680 afcexen = (temp1 & 0x20) >> 5; in freqerr_chk()
706 if (mb86a16_read(state, 0x22, &temp1) != 2) in freqerr_chk()
713 R = (temp1 & 0xe0) >> 5; in freqerr_chk()
714 M = ((temp1 & 0x1f) << 12) + (temp2 << 4) + (temp3 >> 4); in freqerr_chk()

123