Home
last modified time | relevance | path

Searched refs:temp1 (Results 1 – 63 of 63) 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
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-4.4.14/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-4.4.14/drivers/acpi/acpica/
Ddbtest.c442 union acpi_object *temp1 = NULL; in acpi_db_test_integer_type() local
457 status = acpi_db_read_from_object(node, ACPI_TYPE_INTEGER, &temp1); in acpi_db_test_integer_type()
464 ACPI_FORMAT_UINT64(temp1->integer.value)); in acpi_db_test_integer_type()
467 if (temp1->integer.value == value_to_write) { in acpi_db_test_integer_type()
495 write_value.integer.value = temp1->integer.value; in acpi_db_test_integer_type()
508 if (temp3->integer.value != temp1->integer.value) { in acpi_db_test_integer_type()
511 ACPI_FORMAT_UINT64(temp1->integer.value)); in acpi_db_test_integer_type()
515 if (temp1) { in acpi_db_test_integer_type()
516 acpi_os_free(temp1); in acpi_db_test_integer_type()
545 union acpi_object *temp1 = NULL; in acpi_db_test_buffer_type() local
[all …]
/linux-4.4.14/drivers/media/usb/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-4.4.14/sound/oss/
Dswarm_cs4297a.c1190 unsigned temp1; in mixer_ioctl() local
1244 temp1 = (val & 0x3f) >> 2; in mixer_ioctl()
1245 cs4297a_write_ac97(s, AC97_3D_CONTROL, temp1); in mixer_ioctl()
1247 &temp1); in mixer_ioctl()
1249 temp1 | 0x2000); in mixer_ioctl()
1251 cs4297a_read_ac97(s, AC97_3D_CONTROL, &temp1); in mixer_ioctl()
1252 return put_user((temp1 << 2) | 3, (int *) arg); in mixer_ioctl()
1285 &temp1); in mixer_ioctl()
1286 return put_user(mixer_src[temp1 & 7], (int *) arg); in mixer_ioctl()
1332 temp1 = (i << 8) | i; in mixer_ioctl()
[all …]
/linux-4.4.14/arch/m68k/lib/
Dmemset.c39 size_t temp1; in memset() local
58 : "=a" (ls), "=d" (temp), "=&d" (temp1) in memset()
Dmemcpy.c50 size_t temp1; in memcpy() local
69 : "=a" (lfrom), "=a" (lto), "=d" (temp), "=&d" (temp1) in memcpy()
/linux-4.4.14/sound/pci/emu10k1/
Dmemory.c528 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_bzero() local
538 temp1 = end_offset - offset; in snd_emu10k1_synth_bzero()
539 if (temp1 < temp) in snd_emu10k1_synth_bzero()
540 temp = temp1; in snd_emu10k1_synth_bzero()
558 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_copy_from_user() local
568 temp1 = end_offset - offset; in snd_emu10k1_synth_copy_from_user()
569 if (temp1 < temp) in snd_emu10k1_synth_copy_from_user()
570 temp = temp1; in snd_emu10k1_synth_copy_from_user()
/linux-4.4.14/drivers/w1/masters/
Dds2482.c453 int temp1; in ds2482_probe() local
479 temp1 = i2c_smbus_read_byte(client); in ds2482_probe()
480 if (temp1 != (DS2482_REG_STS_LL | DS2482_REG_STS_RST)) { in ds2482_probe()
482 "0x%02X - not a DS2482\n", temp1); in ds2482_probe()
/linux-4.4.14/drivers/hwmon/
Dsmm665.c474 SMM665_ATTR(temp1, input, SMM665_MISC16_ADC_DATA_INT_TEMP);
475 SMM665_ATTR(temp1, min, SMM665_MISC16_ADC_DATA_INT_TEMP);
476 SMM665_ATTR(temp1, max, SMM665_MISC16_ADC_DATA_INT_TEMP);
477 SMM665_ATTR(temp1, lcrit, SMM665_MISC16_ADC_DATA_INT_TEMP);
478 SMM665_ATTR(temp1, crit, SMM665_MISC16_ADC_DATA_INT_TEMP);
479 SMM665_ATTR(temp1, crit_alarm, SMM665_FAULT_TEMP);
Dw83791d.c304 s8 temp1[3]; /* current, over, thyst */ member
941 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[attr->index])); in show_temp1()
959 data->temp1[nr] = TEMP1_TO_REG(val); in store_temp1()
960 w83791d_write(client, W83791D_REG_TEMP1[nr], data->temp1[nr]); in store_temp1()
1603 data->temp1[i] = w83791d_read(client, in w83791d_update_device()
1678 dev_dbg(dev, "temp1[%d] is: 0x%02x\n", i, (u8) data->temp1[i]); in w83791d_print_debug()
Dw83792d.c289 u8 temp1[3]; /* current, over, thyst */ member
510 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[nr])); in show_temp1()
528 data->temp1[nr] = TEMP1_TO_REG(val); in store_temp1()
530 data->temp1[nr]); in store_temp1()
1564 data->temp1[i] = w83792d_read_value(client, in w83792d_update_device()
1665 dev_dbg(dev, "temp1[%d] is: 0x%x\n", i, data->temp1[i]); in w83792d_print_debug()
/linux-4.4.14/drivers/video/fbdev/sis/
Dinit.c1014 unsigned char cr5f, temp1, temp2; in SiS_GetSysFlags() local
1033 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1036 if((!temp1) || (temp2)) { in SiS_GetSysFlags()
1052 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1053 switch(temp1) { in SiS_GetSysFlags()
1689 unsigned short temp, temp1, temp2; in SiS_DoLowModeTest() local
1695 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); in SiS_DoLowModeTest()
1698 SiS_SetReg(SiS_Pr->SiS_P3d4,0x00,temp1); in SiS_DoLowModeTest()
1746 unsigned short temp1 = 0, temp2 = 0; in SiS_CloseCRTC()
1750 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.c2504 u8 temp1, temp2; in SiS_SenseCh() local
2518 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25); in SiS_SenseCh()
2526 if(temp2 != temp1) temp1 = temp2; in SiS_SenseCh()
2528 if((temp1 >= 0x22) && (temp1 <= 0x50)) { in SiS_SenseCh()
2530 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e); in SiS_SenseCh()
2531 if((temp1 & 0x03) != 0x03) { in SiS_SenseCh()
2542 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x10); in SiS_SenseCh()
2543 if(!(temp1 & 0x08)) test[i] = 0x02; in SiS_SenseCh()
2544 else if(!(temp1 & 0x02)) test[i] = 0x01; in SiS_SenseCh()
2549 if(test[0] == test[1]) temp1 = test[0]; in SiS_SenseCh()
[all …]
/linux-4.4.14/drivers/char/
Dnwflash.c325 int temp, temp1; in erase_block() local
411 if ((temp1 = *(volatile unsigned int *) pWritePtr) != 0xFFFFFFFF) { in erase_block()
413 pWritePtr, temp1); in erase_block()
/linux-4.4.14/drivers/usb/host/
Dehci-hub.c874 u32 temp, temp1, status; in ehci_hub_control() local
938 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
939 ehci_writel(ehci, temp1 & ~HOSTPC_PHCD, in ehci_hub_control()
1101 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1102 status |= ehci_port_speed(ehci, temp1); in ehci_hub_control()
1183 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1184 ehci_writel(ehci, temp1 | HOSTPC_PHCD, in ehci_hub_control()
1186 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1188 wIndex, (temp1 & HOSTPC_PHCD) ? in ehci_hub_control()
Dfotg210-hcd.c1491 u32 temp, temp1, status; in fotg210_hub_control() local
1589 temp1 = fotg210_readl(fotg210, &fotg210->regs->otgisr); in fotg210_hub_control()
1590 if (temp1 & OTGISR_OVC) in fotg210_hub_control()
1697 temp1 = fotg210_readl(fotg210, &fotg210->regs->otgisr); in fotg210_hub_control()
1698 if (temp1 & OTGISR_OVC) in fotg210_hub_control()
Dxhci-ring.c1487 u32 temp, temp1; in handle_port_status() local
1564 temp1 = readl(&xhci->op_regs->command); in handle_port_status()
1565 if (!(temp1 & CMD_RUN)) { in handle_port_status()
/linux-4.4.14/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c448 u16 temp1, temp2; in cmpk_handle_tx_rate_history() local
450 temp1 = ptemp[i] & 0x0000FFFF; in cmpk_handle_tx_rate_history()
452 ptemp[i] = (temp1 << 16) | temp2; in cmpk_handle_tx_rate_history()
/linux-4.4.14/drivers/macintosh/
Dwindfarm_pm72.c310 s32 temp0, power0, temp1, power1, t_max = 0; in cpu_fans_tick_combined() local
330 err = read_one_cpu_vals(1, &temp1, &power1); in cpu_fans_tick_combined()
338 t_max = max(t_max, max(temp0, temp1)); in cpu_fans_tick_combined()
345 temp = max(temp0, temp1); in cpu_fans_tick_combined()
/linux-4.4.14/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
Dw83l786ng31 degC for temp1 and temp2.
Dntc_thermistor100 Note that each NTC thermistor has only _one_ thermistor; thus, only temp1 exists.
Dmax669749 The driver provides the following sysfs attributes. temp1 is the local (chip)
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.
90 temp1 -> pwm1
Dw83781d82 hysteresis value for temp1 to 127 at initialization.
131 0x000010: temp1
186 783s pin is programmable for -5V or temp1; defaults to -5V,
187 no control in driver so temp1 doesn't work.
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
Dasb10048 0x0010 => temp1 (1)
Dltc2978149 temp1 and temp2 report external temperatures, and temp3
151 On LTC3883, temp1 reports an external temperature,
Dw83791d65 degC for temp1 and 0.5 degC for temp2 and temp3. An alarm is triggered when
149 temp1 : alarms: 0x000010 beep_mask: 0x000010
Dw83792d54 degC for temp1 and 0.5 degC for temp2 and temp3. An alarm is triggered when
73 2 - temp1
Dthmc5062 temp1 -- internal
Ducd9200101 temp1 is the chip internal temperature. temp[2-5] are
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.
Ddme1737124 temp1: Remote diode 1 (3904 type) temperature -127C - +127C
245 1: temp1
Df71805f166 fan2 and pwm3 to fan3. Temperature mode also requires that temp1 corresponds
Dnct677565 value. Alarms are only supported for temp1 to temp6, depending on the chip type.
Dlm93161 The eight control sources are: temp1-temp4 (aka "zones" in the datasheet),
Dsysfs-interface270 auto mode. Bitfield, 1 is temp1, 2 is temp2, 4 is temp3 etc...
/linux-4.4.14/drivers/staging/xgifb/
Dvb_init.c405 unsigned char temp, temp1, temp2, temp3, j, k; in XGINew_SetDRAMDefaultRegister340() local
441 temp1 = temp & 0x03; in XGINew_SetDRAMDefaultRegister340()
442 temp2 |= temp1; in XGINew_SetDRAMDefaultRegister340()
446 temp1 = temp & 0x0F; in XGINew_SetDRAMDefaultRegister340()
449 xgifb_reg_set(P3d4, 0x45, temp1); /* CR45 */ in XGINew_SetDRAMDefaultRegister340()
1185 unsigned char i, temp = 0, temp1; in XGIInitNew() local
1285 temp1 = xgifb_reg_get(pVBInfo->P3d4, 0x7B); in XGIInitNew()
Dvb_setmode.c1399 unsigned long temp, temp1, temp2, temp3, push3; in XGI_SetLVDSRegs() local
1534 temp1 = (temp << 18) / tempbx; in XGI_SetLVDSRegs()
1539 temp1 += 1; in XGI_SetLVDSRegs()
1541 temp2 = temp1; in XGI_SetLVDSRegs()
1585 temp1 = tempcx << 16; in XGI_SetLVDSRegs()
1587 tempax = (unsigned short) (temp1 / tempbx); in XGI_SetLVDSRegs()
1593 temp1 = pVBInfo->VGAHDE << 16; in XGI_SetLVDSRegs()
1595 temp1 /= temp3; in XGI_SetLVDSRegs()
1597 temp1 -= 1; in XGI_SetLVDSRegs()
1599 temp3 = (temp3 & 0xffff0000) + (temp1 & 0xffff); in XGI_SetLVDSRegs()
[all …]
/linux-4.4.14/drivers/pci/hotplug/
Dcpqphp_nvram.c146 u8 temp1, temp2, temp3, temp4, temp5, temp6; in check_for_compaq_ROM() local
149 temp1 = readb(rom_start + 0xffea + 0); in check_for_compaq_ROM()
155 if ((temp1 == 'C') && in check_for_compaq_ROM()
Dcpqphp_core.c101 u8 temp1, temp2, temp3, temp4; in detect_SMBIOS_pointer() local
107 temp1 = readb(fp); in detect_SMBIOS_pointer()
111 if (temp1 == '_' && in detect_SMBIOS_pointer()
Dcpqphp_pci.c57 u8 temp1, temp2, temp3, temp4; in detect_HRT_floating_pointer() local
63 temp1 = readb(fp + SIG0); in detect_HRT_floating_pointer()
67 if (temp1 == '$' && in detect_HRT_floating_pointer()
/linux-4.4.14/drivers/net/irda/
Dvia-ircc.h785 __u8 temp, temp1, temp2; in SetPulseWidth() local
788 temp1 = (ReadReg(iobase, I_CF_H_1) & 0xfc); in SetPulseWidth()
792 temp1 |= temp2; in SetPulseWidth()
794 WriteReg(iobase, I_CF_H_1, temp1); in SetPulseWidth()
/linux-4.4.14/drivers/media/dvb-frontends/
Dmb86a16.c659 unsigned char temp1, temp2, temp3; in freqerr_chk() local
675 if (mb86a16_read(state, 0x49, &temp1) != 2) in freqerr_chk()
678 afcen = (temp1 & 0x04) >> 2; in freqerr_chk()
680 if (mb86a16_read(state, 0x2a, &temp1) != 2) in freqerr_chk()
682 afcexen = (temp1 & 0x20) >> 5; in freqerr_chk()
708 if (mb86a16_read(state, 0x22, &temp1) != 2) in freqerr_chk()
715 R = (temp1 & 0xe0) >> 5; in freqerr_chk()
716 M = ((temp1 & 0x1f) << 12) + (temp2 << 4) + (temp3 >> 4); in freqerr_chk()
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Dst-thermal.txt36 temp1@fdfe8000 {
/linux-4.4.14/drivers/video/fbdev/
Dpm3fb.c1228 unsigned long tempBypass, i, temp1, temp2; in pm3fb_size_memory() local
1263 temp1 = fb_readl((screen_mem + (i * 1048576))); in pm3fb_size_memory()
1266 if (temp1 == (i * 0x00345678)) in pm3fb_size_memory()
1285 temp1 = in pm3fb_size_memory()
1290 if ((temp1 == (i * 0x00345678)) && (temp2 == 0)) in pm3fb_size_memory()
/linux-4.4.14/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c1054 u32 temp1, temp2, reg1, reg2; in ti_bandgap_get_trend() local
1077 temp1 = ti_bandgap_readl(bgp, reg1); in ti_bandgap_get_trend()
1078 temp1 &= tsr->bgap_dtemp_mask; in ti_bandgap_get_trend()
1084 ret = ti_bandgap_adc_to_mcelsius(bgp, temp1, &t1); in ti_bandgap_get_trend()
/linux-4.4.14/drivers/platform/x86/
Dhdaps.c459 static DEVICE_ATTR(temp1, 0444, hdaps_temp1_show, NULL);
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c4283 int temp1, temp2, temp_diff; in wlc_lcnphy_calib_modes() local
4298 temp1 = LCNPHY_TEMPSENSE(temp_new); 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
4424 qm_log10((s32) (bbmult), 0, &temp1, &qQ1); in wlc_lcnphy_load_rfpower()
4431 temp1 = qm_shr16(temp1, qQ1 - qQ2); 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.dts274 temp1: ad7414@4c { label
Dstih416.dtsi272 temp1@fdfe8000 {
/linux-4.4.14/drivers/input/touchscreen/
Dads7846.c448 SHOW(temp1, temp1, null_adjust) /* temp2_input */ in SHOW()
Dad7877.c469 SHOW(temp1) in SHOW()
/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()
913 bundle_sent += temp1; in ath6kl_htc_tx_from_queue()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_nx.c605 unsigned int temp1; in qla82xx_pci_set_window() local
617 temp1 = ((window & 0x1FF) << 7) | in qla82xx_pci_set_window()
619 if (win_read != temp1) { in qla82xx_pci_set_window()
622 __func__, temp1, win_read); in qla82xx_pci_set_window()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_nx.c629 unsigned int temp1; in qla4_82xx_pci_set_window() local
642 temp1 = ((window & 0x1FF) << 7) | in qla4_82xx_pci_set_window()
644 if (win_read != temp1) { in qla4_82xx_pci_set_window()
646 " OCMwin (0x%x)\n", __func__, temp1, win_read); in qla4_82xx_pci_set_window()
/linux-4.4.14/drivers/net/ethernet/nvidia/
Dforcedeth.c1634 u32 temp1, temp2, temp3; in nv_mac_reset() local
1640 temp1 = readl(base + NvRegMacAddrA); in nv_mac_reset()
1652 writel(temp1, base + NvRegMacAddrA); in nv_mac_reset()
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c6799 struct sk_buff **skb, u64 *temp0, u64 *temp1, in set_rxd_buffer_pointer() argument
6844 rxdp3->Buffer1_ptr = *temp1; in set_rxd_buffer_pointer()
6876 rxdp3->Buffer1_ptr = *temp1 = in set_rxd_buffer_pointer()