Home
last modified time | relevance | path

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

12

/drivers/acpi/acpica/
A Ddbtest.c390 union acpi_object *temp1 = NULL; in acpi_db_test_integer_type() local
462 if (temp1) { in acpi_db_test_integer_type()
463 acpi_os_free(temp1); in acpi_db_test_integer_type()
525 temp1->buffer.length); in acpi_db_test_buffer_type()
588 if (temp1) { in acpi_db_test_buffer_type()
589 acpi_os_free(temp1); in acpi_db_test_buffer_type()
633 (temp1->string.length * 8), temp1->string.length, in acpi_db_test_string_type()
634 temp1->string.pointer); in acpi_db_test_string_type()
682 if (temp1) { in acpi_db_test_string_type()
683 acpi_os_free(temp1); in acpi_db_test_string_type()
[all …]
/drivers/media/usb/dvb-usb/
A Daf9005-fe.c64 u8 temp0, temp1; in af9005_read_word_agc() local
155 &temp1); in af9005_get_post_vit_err_cw_count()
168 &temp1); in af9005_get_post_vit_err_cw_count()
187 &temp1); in af9005_get_post_vit_err_cw_count()
249 &temp1); in af9005_get_pre_vit_err_bit_count()
585 buf[2] = temp1; in af9005_fe_program_cfoe()
620 buf[2] = temp1; in af9005_fe_program_cfoe()
651 buf[2] = temp1; in af9005_fe_program_cfoe()
682 buf[2] = temp1; in af9005_fe_program_cfoe()
713 buf[2] = temp1; in af9005_fe_program_cfoe()
[all …]
/drivers/ras/amd/atl/
A Dinternal.h305 u64 temp1, temp2; in expand_bits() local
317 temp1 = data & GENMASK_ULL(bit_num - 1, 0); in expand_bits()
322 return temp1 | temp2; in expand_bits()
334 u64 temp1, temp2; in remove_bits() local
343 temp1 = GENMASK_ULL(low_bit - 1, 0) & data; in remove_bits()
347 return temp1 | temp2; in remove_bits()
/drivers/w1/masters/
A Dds2482.c447 int temp1; in ds2482_probe() local
477 temp1 = i2c_smbus_read_byte(client); in ds2482_probe()
478 if (temp1 != (DS2482_REG_STS_LL | DS2482_REG_STS_RST)) { in ds2482_probe()
480 "0x%02X - not a DS2482\n", temp1); in ds2482_probe()
/drivers/video/fbdev/sis/
A Dinit.c1014 unsigned char cr5f, temp1, temp2; in SiS_GetSysFlags() local
1036 if((!temp1) || (temp2)) { in SiS_GetSysFlags()
1053 switch(temp1) { in SiS_GetSysFlags()
1750 temp1 = 0xa0; temp2 = 0x08; in SiS_CloseCRTC()
2231 unsigned short temp1, temp2; in SiS_GetFIFOThresholdIndex300() local
2291 unsigned short temp1, temp2; in SiS_CalcDelay() local
2295 if(temp1 < 4) temp1 = 4; in SiS_CalcDelay()
2296 temp1 -= 4; in SiS_CalcDelay()
2297 if(temp2 < temp1) temp2 = temp1; in SiS_CalcDelay()
3147 temp1 = 0x21; in SiS_Handle760()
[all …]
A Dinit301.c1629 if(temp1 & 0x08) { in SiS_SetTVMode()
1638 if(temp1 & 0x02) { in SiS_SetTVMode()
1651 temp1 &= 0xe0; in SiS_SetTVMode()
7618 temp1 = 0; in SiS_SetGroup4_C_ELV()
8701 temp1 = 0; in SiS_ChrontelDoSomething3()
8706 temp1 = 1; in SiS_ChrontelDoSomething3()
10268 temp1 = temp; in SetAntiFlicker()
10273 temp1 >>= 1; in SetAntiFlicker()
10286 temp1 <<= 1; in SetAntiFlicker()
10316 temp1 >>= 1; in SetEdgeEnhance()
[all …]
A Dsis_main.c2528 u8 temp1, temp2; in SiS_SenseCh() local
2550 if(temp2 != temp1) temp1 = temp2; in SiS_SenseCh()
2552 if((temp1 >= 0x22) && (temp1 <= 0x50)) { in SiS_SenseCh()
2555 if((temp1 & 0x03) != 0x03) { in SiS_SenseCh()
2579 temp1 = test[2]; in SiS_SenseCh()
2581 if(temp1 == 0x02) { in SiS_SenseCh()
2586 } else if (temp1 == 0x01) { in SiS_SenseCh()
2595 } else if(temp1 == 0) { in SiS_SenseCh()
2619 temp1 = 0; in SiS_SenseCh()
2623 if( (temp1 & 0x01) && (temp1 & 0x02) ) temp1 = 0x04; in SiS_SenseCh()
[all …]
/drivers/usb/host/
A Dehci-hub.c743 u32 temp, temp1, status; in ehci_hub_control() local
818 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
819 ehci_writel(ehci, temp1 & ~HOSTPC_PHCD, in ehci_hub_control()
988 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
989 status |= ehci_port_speed(ehci, temp1); in ehci_hub_control()
1070 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1071 ehci_writel(ehci, temp1 | HOSTPC_PHCD, in ehci_hub_control()
1073 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1075 wIndex, (temp1 & HOSTPC_PHCD) ? in ehci_hub_control()
/drivers/char/
A 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/media/i2c/
A Dov5640.c1865 u8 temp1, temp2; in ov5640_get_sysclk() local
1871 temp2 = temp1 & 0x0f; in ov5640_get_sysclk()
1878 sysdiv = temp1 >> 4; in ov5640_get_sysclk()
1885 multiplier = temp1; in ov5640_get_sysclk()
1890 prediv = temp1 & 0x0f; in ov5640_get_sysclk()
1896 temp2 = temp1 & 0x03; in ov5640_get_sysclk()
1954 u8 temp, temp1; in ov5640_get_light_freq() local
1963 &temp1); in ov5640_get_light_freq()
1966 if (temp1 & 0x04) { in ov5640_get_light_freq()
1976 &temp1); in ov5640_get_light_freq()
[all …]
/drivers/macintosh/
A 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/
A 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()
A 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()
A Dcpqphp_pci.c46 u8 temp1, temp2, temp3, temp4; in detect_HRT_floating_pointer() local
52 temp1 = readb(fp + SIG0); in detect_HRT_floating_pointer()
56 if (temp1 == '$' && in detect_HRT_floating_pointer()
/drivers/gpu/drm/amd/display/modules/color/
A Dcolor_gamma.c982 struct fixed31_32 temp1; in hermite_spline_eetf() local
1015 temp1 = dc_fixpt_mul(two, t3); in hermite_spline_eetf()
1020 dc_fixpt_sub(temp1, temp2))); in hermite_spline_eetf()
1024 dc_fixpt_sub(temp2, temp1))); in hermite_spline_eetf()
1026 temp1 = dc_fixpt_mul(two, t2); in hermite_spline_eetf()
1031 dc_fixpt_add(t, dc_fixpt_sub(t3, temp1)))); in hermite_spline_eetf()
1035 temp1 = dc_fixpt_sub(dc_fixpt_one, E2); in hermite_spline_eetf()
1036 temp2 = dc_fixpt_mul(temp1, temp1); in hermite_spline_eetf()
/drivers/media/dvb-frontends/
A 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/thermal/ti-soc-thermal/
A 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/hwmon/
A 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()
1559 data->temp1[i] = w83791d_read(client, in w83791d_update_device()
1634 dev_dbg(dev, "temp1[%d] is: 0x%02x\n", i, (u8) data->temp1[i]); in w83791d_print_debug()
A 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()
1522 data->temp1[i] = w83792d_read_value(client, in w83792d_update_device()
1623 dev_dbg(dev, "temp1[%d] is: 0x%x\n", i, data->temp1[i]); in w83792d_print_debug()
/drivers/video/fbdev/
A Dpm3fb.c1231 unsigned long tempBypass, i, temp1, temp2; in pm3fb_size_memory() local
1266 temp1 = fb_readl((screen_mem + (i * 1048576))); in pm3fb_size_memory()
1269 if (temp1 == (i * 0x00345678)) in pm3fb_size_memory()
1288 temp1 = in pm3fb_size_memory()
1293 if ((temp1 == (i * 0x00345678)) && (temp2 == 0)) in pm3fb_size_memory()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
A 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/
A Dhdaps.c446 static DEVICE_ATTR(temp1, 0444, hdaps_temp1_show, NULL);
/drivers/gpu/drm/msm/dp/
A Ddp_ctrl.c693 s64 temp1_fp, temp2_fp, temp, temp1, temp2; in _tu_valid_boundary_calc() local
797 temp1 = 0; in _tu_valid_boundary_calc()
805 temp1 = drm_fixp2int_ceil(temp1_fp); in _tu_valid_boundary_calc()
819 tu->extra_required_bytes_new_tmp = (int)(temp1 + temp2); in _tu_valid_boundary_calc()
/drivers/input/touchscreen/
A Dads7846.c500 SHOW(temp1, temp1, null_adjust) /* temp2_input */ in SHOW()
/drivers/net/wireless/ath/ath6kl/
A Dhtc_mbox.c906 int temp1 = 0, temp2 = 0; in ath6kl_htc_tx_from_queue() local
911 &temp1, &temp2); in ath6kl_htc_tx_from_queue()
912 bundle_sent += temp1; in ath6kl_htc_tx_from_queue()

Completed in 136 milliseconds

12