Home
last modified time | relevance | path

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

12

/drivers/acpi/acpica/
Ddbtest.c390 union acpi_object *temp1 = NULL; in acpi_db_test_integer_type() local
405 status = acpi_db_read_from_object(node, ACPI_TYPE_INTEGER, &temp1); in acpi_db_test_integer_type()
412 ACPI_FORMAT_UINT64(temp1->integer.value)); in acpi_db_test_integer_type()
415 if (temp1->integer.value == value_to_write) { in acpi_db_test_integer_type()
442 write_value.integer.value = temp1->integer.value; in acpi_db_test_integer_type()
455 if (temp3->integer.value != temp1->integer.value) { in acpi_db_test_integer_type()
458 ACPI_FORMAT_UINT64(temp1->integer.value)); in acpi_db_test_integer_type()
462 if (temp1) { in acpi_db_test_integer_type()
463 acpi_os_free(temp1); in acpi_db_test_integer_type()
492 union acpi_object *temp1 = NULL; in acpi_db_test_buffer_type() local
[all …]
/drivers/media/usb/dvb-usb/
Daf9005-fe.c64 u8 temp0, temp1; in af9005_read_word_agc() local
68 if ((ret = af9005_read_ofdm_register(d, reghi, &temp1))) in af9005_read_word_agc()
72 *value = ((u16) (temp1 & 0x03) << 8) + (u16) temp0; in af9005_read_word_agc()
75 *value = ((u16) (temp1 & 0x0C) << 6) + (u16) temp0; in af9005_read_word_agc()
78 *value = ((u16) (temp1 & 0x30) << 4) + (u16) temp0; in af9005_read_word_agc()
81 *value = ((u16) (temp1 & 0xC0) << 2) + (u16) temp0; in af9005_read_word_agc()
128 u8 temp, temp0, temp1, temp2; in af9005_get_post_vit_err_cw_count() local
155 &temp1); in af9005_get_post_vit_err_cw_count()
158 loc_abort_count = ((u16) temp1 << 8) + temp0; in af9005_get_post_vit_err_cw_count()
168 &temp1); in af9005_get_post_vit_err_cw_count()
[all …]
/drivers/w1/masters/
Dds2482.c450 int temp1; in ds2482_probe() local
476 temp1 = i2c_smbus_read_byte(client); in ds2482_probe()
477 if (temp1 != (DS2482_REG_STS_LL | DS2482_REG_STS_RST)) { in ds2482_probe()
479 "0x%02X - not a DS2482\n", temp1); in ds2482_probe()
/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.c712 unsigned short temp1, temp2; in SiS_SaveCRT2Info() local
716 temp1 = (SiS_Pr->SiS_VBInfo & SetInSlaveMode) >> 8; in SiS_SaveCRT2Info()
718 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x31,temp2,temp1); in SiS_SaveCRT2Info()
730 unsigned short temp,temp1; in SiS_CR36BIOSWord23b() local
735 temp1 = SISGETROMW(0x23b); in SiS_CR36BIOSWord23b()
736 if(temp1 & temp) return true; in SiS_CR36BIOSWord23b()
746 unsigned short temp,temp1; in SiS_CR36BIOSWord23d() local
751 temp1 = SISGETROMW(0x23d); in SiS_CR36BIOSWord23d()
752 if(temp1 & temp) return true; in SiS_CR36BIOSWord23d()
1532 unsigned short temp, temp1, resinfo = 0, romindex = 0; in SiS_SetTVMode() local
[all …]
Dsis_main.c2547 u8 temp1, temp2; in SiS_SenseCh() local
2561 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25); in SiS_SenseCh()
2569 if(temp2 != temp1) temp1 = temp2; in SiS_SenseCh()
2571 if((temp1 >= 0x22) && (temp1 <= 0x50)) { in SiS_SenseCh()
2573 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e); in SiS_SenseCh()
2574 if((temp1 & 0x03) != 0x03) { in SiS_SenseCh()
2585 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x10); in SiS_SenseCh()
2586 if(!(temp1 & 0x08)) test[i] = 0x02; in SiS_SenseCh()
2587 else if(!(temp1 & 0x02)) test[i] = 0x01; in SiS_SenseCh()
2592 if(test[0] == test[1]) temp1 = test[0]; in SiS_SenseCh()
[all …]
/drivers/hwmon/
Dsmm665.c471 SMM665_ATTR(temp1, input, SMM665_MISC16_ADC_DATA_INT_TEMP);
472 SMM665_ATTR(temp1, min, SMM665_MISC16_ADC_DATA_INT_TEMP);
473 SMM665_ATTR(temp1, max, SMM665_MISC16_ADC_DATA_INT_TEMP);
474 SMM665_ATTR(temp1, lcrit, SMM665_MISC16_ADC_DATA_INT_TEMP);
475 SMM665_ATTR(temp1, crit, SMM665_MISC16_ADC_DATA_INT_TEMP);
476 SMM665_ATTR(temp1, crit_alarm, SMM665_FAULT_TEMP);
Dw83791d.c288 s8 temp1[3]; /* current, over, thyst */ member
924 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[attr->index])); in show_temp1()
942 data->temp1[nr] = TEMP1_TO_REG(val); in store_temp1()
943 w83791d_write(client, W83791D_REG_TEMP1[nr], data->temp1[nr]); in store_temp1()
1561 data->temp1[i] = w83791d_read(client, in w83791d_update_device()
1636 dev_dbg(dev, "temp1[%d] is: 0x%02x\n", i, (u8) data->temp1[i]); in w83791d_print_debug()
Dw83792d.c273 u8 temp1[3]; /* current, over, thyst */ member
493 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[nr])); in show_temp1()
511 data->temp1[nr] = TEMP1_TO_REG(val); in store_temp1()
513 data->temp1[nr]); in store_temp1()
1524 data->temp1[i] = w83792d_read_value(client, in w83792d_update_device()
1625 dev_dbg(dev, "temp1[%d] is: 0x%x\n", i, data->temp1[i]); in w83792d_print_debug()
/drivers/media/i2c/
Dov5640.c1289 u8 temp1, temp2; in ov5640_get_sysclk() local
1292 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL0, &temp1); in ov5640_get_sysclk()
1295 temp2 = temp1 & 0x0f; in ov5640_get_sysclk()
1299 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL1, &temp1); in ov5640_get_sysclk()
1302 sysdiv = temp1 >> 4; in ov5640_get_sysclk()
1306 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL2, &temp1); in ov5640_get_sysclk()
1309 multiplier = temp1; in ov5640_get_sysclk()
1311 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL3, &temp1); in ov5640_get_sysclk()
1314 prediv = temp1 & 0x0f; in ov5640_get_sysclk()
1315 pll_rdiv = ((temp1 >> 4) & 0x01) + 1; in ov5640_get_sysclk()
[all …]
/drivers/usb/host/
Dehci-hub.c743 u32 temp, temp1, status; in ehci_hub_control() local
817 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
818 ehci_writel(ehci, temp1 & ~HOSTPC_PHCD, in ehci_hub_control()
987 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
988 status |= ehci_port_speed(ehci, temp1); in ehci_hub_control()
1069 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1070 ehci_writel(ehci, temp1 | HOSTPC_PHCD, in ehci_hub_control()
1072 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1074 wIndex, (temp1 & HOSTPC_PHCD) ? in ehci_hub_control()
/drivers/char/
Dnwflash.c297 int temp, temp1; in erase_block() local
383 if ((temp1 = *(volatile unsigned int *) pWritePtr) != 0xFFFFFFFF) { in erase_block()
385 pWritePtr, temp1); in erase_block()
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c384 u16 temp1, temp2; in cmpk_handle_tx_rate_history() local
386 temp1 = ptemp[i] & 0x0000FFFF; in cmpk_handle_tx_rate_history()
388 ptemp[i] = (temp1 << 16) | temp2; in cmpk_handle_tx_rate_history()
/drivers/macintosh/
Dwindfarm_pm72.c309 s32 temp0, power0, temp1, power1, t_max = 0; in cpu_fans_tick_combined() local
329 err = read_one_cpu_vals(1, &temp1, &power1); in cpu_fans_tick_combined()
337 t_max = max(t_max, max(temp0, temp1)); in cpu_fans_tick_combined()
344 temp = max(temp0, temp1); in cpu_fans_tick_combined()
/drivers/pci/hotplug/
Dcpqphp_nvram.c132 u8 temp1, temp2, temp3, temp4, temp5, temp6; in check_for_compaq_ROM() local
135 temp1 = readb(rom_start + 0xffea + 0); in check_for_compaq_ROM()
141 if ((temp1 == 'C') && in check_for_compaq_ROM()
Dcpqphp_core.c87 u8 temp1, temp2, temp3, temp4; in detect_SMBIOS_pointer() local
93 temp1 = readb(fp); in detect_SMBIOS_pointer()
97 if (temp1 == '_' && in detect_SMBIOS_pointer()
Dcpqphp_pci.c43 u8 temp1, temp2, temp3, temp4; in detect_HRT_floating_pointer() local
49 temp1 = readb(fp + SIG0); in detect_HRT_floating_pointer()
53 if (temp1 == '$' && in detect_HRT_floating_pointer()
/drivers/media/dvb-frontends/
Dmb86a16.c635 unsigned char temp1, temp2, temp3; in freqerr_chk() local
651 if (mb86a16_read(state, 0x49, &temp1) != 2) in freqerr_chk()
654 afcen = (temp1 & 0x04) >> 2; in freqerr_chk()
656 if (mb86a16_read(state, 0x2a, &temp1) != 2) in freqerr_chk()
658 afcexen = (temp1 & 0x20) >> 5; in freqerr_chk()
684 if (mb86a16_read(state, 0x22, &temp1) != 2) in freqerr_chk()
691 R = (temp1 & 0xe0) >> 5; in freqerr_chk()
692 M = ((temp1 & 0x1f) << 12) + (temp2 << 4) + (temp3 >> 4); in freqerr_chk()
/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c878 struct fixed31_32 temp1; in hermite_spline_eetf() local
911 temp1 = dc_fixpt_mul(two, t3); in hermite_spline_eetf()
916 dc_fixpt_sub(temp1, temp2))); in hermite_spline_eetf()
920 dc_fixpt_sub(temp2, temp1))); in hermite_spline_eetf()
922 temp1 = dc_fixpt_mul(two, t2); in hermite_spline_eetf()
927 dc_fixpt_add(t, dc_fixpt_sub(t3, temp1)))); in hermite_spline_eetf()
931 temp1 = dc_fixpt_sub(dc_fixpt_one, E2); in hermite_spline_eetf()
932 temp2 = dc_fixpt_mul(temp1, temp1); in hermite_spline_eetf()
/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c685 u32 temp1, temp2, reg1, reg2; in ti_bandgap_get_trend() local
708 temp1 = ti_bandgap_readl(bgp, reg1); in ti_bandgap_get_trend()
709 temp1 &= tsr->bgap_dtemp_mask; in ti_bandgap_get_trend()
715 ret = ti_bandgap_adc_to_mcelsius(bgp, temp1, &t1); in ti_bandgap_get_trend()
/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()
/drivers/gpu/drm/msm/dp/
Ddp_ctrl.c401 s64 temp1_fp, temp2_fp, temp, temp1, temp2; in _tu_valid_boundary_calc() local
505 temp1 = 0; in _tu_valid_boundary_calc()
513 temp1 = drm_fixp2int_ceil(temp1_fp); in _tu_valid_boundary_calc()
527 tu->extra_required_bytes_new_tmp = (int)(temp1 + temp2); in _tu_valid_boundary_calc()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c4194 int temp1, temp2, temp_diff; in wlc_lcnphy_calib_modes() local
4209 temp1 = LCNPHY_TEMPSENSE(temp_new); 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
4335 qm_log10((s32) (bbmult), 0, &temp1, &qQ1); in wlc_lcnphy_load_rfpower()
4342 temp1 = qm_shr16(temp1, qQ1 - qQ2); in wlc_lcnphy_load_rfpower()
4345 temp = qm_sub16(temp1, temp2); in wlc_lcnphy_load_rfpower()
/drivers/platform/x86/
Dhdaps.c446 static DEVICE_ATTR(temp1, 0444, hdaps_temp1_show, NULL);
/drivers/input/touchscreen/
Dads7846.c490 SHOW(temp1, temp1, null_adjust) /* temp2_input */ in SHOW()

12