/drivers/char/agp/ |
D | intel-agp.c | 118 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 …]
|
D | sworks-agp.c | 205 u32 temp2; in serverworks_fetch_size() local 212 pci_read_config_dword(agp_bridge->dev,serverworks_private.gart_addr_ofs,&temp2); in serverworks_fetch_size() 214 temp2 &= SVWRKS_SIZE_MASK; in serverworks_fetch_size() 217 if (temp2 == values[i].size_value) { in serverworks_fetch_size() 454 u32 temp, temp2; in agp_serverworks_probe() local 490 pci_read_config_dword(pdev, SVWRKS_APSIZE + 4, &temp2); in agp_serverworks_probe() 491 if (temp2 != 0) { in agp_serverworks_probe() 503 serverworks_private.mm_addr_ofs + 4, &temp2); in agp_serverworks_probe() 504 if (temp2 != 0) { in agp_serverworks_probe()
|
D | efficeon-agp.c | 131 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()
|
/drivers/acpi/acpica/ |
D | dbtest.c | 391 union acpi_object *temp2 = NULL; in acpi_db_test_integer_type() local 429 status = acpi_db_read_from_object(node, ACPI_TYPE_INTEGER, &temp2); in acpi_db_test_integer_type() 434 if (temp2->integer.value != value_to_write) { in acpi_db_test_integer_type() 436 ACPI_FORMAT_UINT64(temp2->integer.value), in acpi_db_test_integer_type() 465 if (temp2) { in acpi_db_test_integer_type() 466 acpi_os_free(temp2); in acpi_db_test_integer_type() 493 union acpi_object *temp2 = NULL; in acpi_db_test_buffer_type() local 556 status = acpi_db_read_from_object(node, ACPI_TYPE_BUFFER, &temp2); in acpi_db_test_buffer_type() 561 if (memcmp(temp2->buffer.pointer, buffer, byte_length)) { in acpi_db_test_buffer_type() 591 if (temp2) { in acpi_db_test_buffer_type() [all …]
|
/drivers/media/usb/dvb-usb/ |
D | af9005-fe.c | 128 u8 temp, temp0, temp1, temp2; in af9005_get_post_vit_err_cw_count() local 173 &temp2); in af9005_get_post_vit_err_cw_count() 176 err_count = ((u32) temp2 << 16) + ((u32) temp1 << 8) + temp0; in af9005_get_post_vit_err_cw_count() 228 u8 temp, temp0, temp1, temp2; in af9005_get_pre_vit_err_bit_count() local 254 &temp2); in af9005_get_pre_vit_err_bit_count() 257 *pre_err_count = ((u32) temp2 << 16) + ((u32) temp1 << 8) + temp0; in af9005_get_pre_vit_err_bit_count() 532 u8 temp0, temp1, temp2, temp3, buf[4]; in af9005_fe_program_cfoe() local 579 temp2 = (u8) ((NS_coeff1_2048Nu & 0x00FF0000) >> 16); in af9005_fe_program_cfoe() 584 buf[1] = temp2; in af9005_fe_program_cfoe() 614 temp2 = (u8) ((NS_coeff2_2k & 0x003FC000) >> 14); in af9005_fe_program_cfoe() [all …]
|
/drivers/media/dvb-frontends/ |
D | nxt200x.c | 807 u16 temp = 0, temp2; in nxt200x_read_snr() local 818 temp2 = 0x7FFF - temp; in nxt200x_read_snr() 821 if (temp2 > 0x7F00) in nxt200x_read_snr() 822 snrdb = 1000*24 + ( 1000*(30-24) * ( temp2 - 0x7F00 ) / ( 0x7FFF - 0x7F00 ) ); in nxt200x_read_snr() 823 else if (temp2 > 0x7EC0) in nxt200x_read_snr() 824 snrdb = 1000*18 + ( 1000*(24-18) * ( temp2 - 0x7EC0 ) / ( 0x7F00 - 0x7EC0 ) ); in nxt200x_read_snr() 825 else if (temp2 > 0x7C00) in nxt200x_read_snr() 826 snrdb = 1000*12 + ( 1000*(18-12) * ( temp2 - 0x7C00 ) / ( 0x7EC0 - 0x7C00 ) ); in nxt200x_read_snr() 828 snrdb = 1000*0 + ( 1000*(12-0) * ( temp2 - 0 ) / ( 0x7C00 - 0 ) ); in nxt200x_read_snr()
|
D | mb86a16.c | 635 unsigned char temp1, temp2, temp3; in freqerr_chk() local 686 if (mb86a16_read(state, 0x23, &temp2) != 2) in freqerr_chk() 692 M = ((temp1 & 0x1f) << 12) + (temp2 << 4) + (temp3 >> 4); in freqerr_chk()
|
/drivers/video/fbdev/sis/ |
D | init.c | 1014 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 …]
|
D | sis_main.c | 2547 u8 temp1, temp2; in SiS_SenseCh() local 2563 temp2 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e); in SiS_SenseCh() 2564 if(((temp2 & 0x07) == 0x01) || (temp2 & 0x04)) { in SiS_SenseCh() 2568 temp2 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25); in SiS_SenseCh() 2569 if(temp2 != temp1) temp1 = temp2; in SiS_SenseCh() 2629 temp2 = SiS_GetCH701x(&ivideo->SiS_Pr, 0x20); in SiS_SenseCh() 2630 temp2 |= 0x01; in SiS_SenseCh() 2631 SiS_SetCH701x(&ivideo->SiS_Pr, 0x20, temp2); in SiS_SenseCh() 2633 temp2 ^= 0x01; in SiS_SenseCh() 2634 SiS_SetCH701x(&ivideo->SiS_Pr, 0x20, temp2); in SiS_SenseCh() [all …]
|
D | init301.c | 712 unsigned short temp1, temp2; in SiS_SaveCRT2Info() local 717 temp2 = ~(SetInSlaveMode >> 8); in SiS_SaveCRT2Info() 718 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x31,temp2,temp1); in SiS_SaveCRT2Info() 7572 unsigned short temp, temp1, temp2; 7575 temp2 = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x20); 7576 temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift); 7583 temp2 = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x42); 7584 temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift); 10663 unsigned short romptr, temp1, temp2; in SetPanelParms661() local 10680 temp2 = 0xfc; in SetPanelParms661() [all …]
|
/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 384 u16 temp1, temp2; in cmpk_handle_tx_rate_history() local 387 temp2 = ptemp[i] >> 16; in cmpk_handle_tx_rate_history() 388 ptemp[i] = (temp1 << 16) | temp2; in cmpk_handle_tx_rate_history()
|
/drivers/pci/hotplug/ |
D | cpqphp_nvram.c | 132 u8 temp1, temp2, temp3, temp4, temp5, temp6; in check_for_compaq_ROM() local 136 temp2 = readb(rom_start + 0xffea + 1); in check_for_compaq_ROM() 142 (temp2 == 'O') && in check_for_compaq_ROM()
|
D | cpqphp_core.c | 87 u8 temp1, temp2, temp3, temp4; in detect_SMBIOS_pointer() local 94 temp2 = readb(fp+1); in detect_SMBIOS_pointer() 98 temp2 == 'S' && in detect_SMBIOS_pointer()
|
D | cpqphp_pci.c | 43 u8 temp1, temp2, temp3, temp4; in detect_HRT_floating_pointer() local 50 temp2 = readb(fp + SIG1); in detect_HRT_floating_pointer() 54 temp2 == 'H' && in detect_HRT_floating_pointer()
|
/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 879 struct fixed31_32 temp2; in hermite_spline_eetf() local 912 temp2 = dc_fixpt_mul(three, t2); in hermite_spline_eetf() 916 dc_fixpt_sub(temp1, temp2))); in hermite_spline_eetf() 920 dc_fixpt_sub(temp2, temp1))); in hermite_spline_eetf() 923 temp2 = dc_fixpt_sub(dc_fixpt_one, ks); in hermite_spline_eetf() 926 E2 = dc_fixpt_add(E2, dc_fixpt_mul(temp2, in hermite_spline_eetf() 932 temp2 = dc_fixpt_mul(temp1, temp1); in hermite_spline_eetf() 933 temp2 = dc_fixpt_mul(temp2, temp2); in hermite_spline_eetf() 936 E3 = dc_fixpt_add(E2, dc_fixpt_mul(min_lum_pq, temp2)); in hermite_spline_eetf()
|
/drivers/thermal/ti-soc-thermal/ |
D | ti-bandgap.c | 685 u32 temp1, temp2, reg1, reg2; in ti_bandgap_get_trend() local 711 temp2 = ti_bandgap_readl(bgp, reg2); in ti_bandgap_get_trend() 712 temp2 &= tsr->bgap_dtemp_mask; in ti_bandgap_get_trend() 719 ret = ti_bandgap_adc_to_mcelsius(bgp, temp2, &t2); in ti_bandgap_get_trend()
|
/drivers/media/i2c/ |
D | ov5640.c | 1289 u8 temp1, temp2; in ov5640_get_sysclk() local 1295 temp2 = temp1 & 0x0f; in ov5640_get_sysclk() 1296 if (temp2 == 8 || temp2 == 10) in ov5640_get_sysclk() 1297 bit_div2x = temp2 / 2; in ov5640_get_sysclk() 1320 temp2 = temp1 & 0x03; in ov5640_get_sysclk() 1321 sclk_rdiv = sclk_rdiv_map[temp2]; in ov5640_get_sysclk()
|
/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 2810 int temp, temp2; in temp_show() local 2823 temp2 = (tmp[0] << 3) | (tmp[1] >> 5); in temp_show() 2824 temp2 *= 125; in temp_show() 2825 return sprintf(buf, "%d %d\n", temp, temp2); in temp_show() 3109 __ATTR_MRO(temp2, ctemp_show), 3249 u32 temp, temp2, pwm; in tempmon_setfan() local 3259 temp2 = (ddblreadl(link, TEMPMON_SENSOR1) >> 8) & 0xFF; in tempmon_setfan() 3260 if (temp2 & 0x80) in tempmon_setfan() 3261 temp2 = 0; in tempmon_setfan() 3262 if (temp2 > temp) in tempmon_setfan() [all …]
|
/drivers/gpu/drm/bridge/ |
D | lontium-lt9611.c | 296 unsigned int temp, temp2; in lt9611_read_video_check() local 303 ret = regmap_read(lt9611->regmap, reg + 1, &temp2); in lt9611_read_video_check() 307 return (temp + temp2); in lt9611_read_video_check()
|
/drivers/video/fbdev/ |
D | pm3fb.c | 1228 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()
|
/drivers/gpu/drm/msm/dp/ |
D | dp_ctrl.c | 401 s64 temp1_fp, temp2_fp, temp, temp1, temp2; in _tu_valid_boundary_calc() local 524 temp2 = drm_fixp2int_ceil(temp2_fp); in _tu_valid_boundary_calc() 526 temp2 = 0; 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/ |
D | phy_lcn.c | 4194 int temp1, temp2, temp_diff; in wlc_lcnphy_calib_modes() local 4210 temp2 = LCNPHY_TEMPSENSE(pi_lcn->lcnphy_cal_temper); 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 4336 qm_log10((s32) (1 << 6), 0, &temp2, &qQ2); in wlc_lcnphy_load_rfpower() 4339 temp2 = qm_shr16(temp2, qQ2 - qQ1); in wlc_lcnphy_load_rfpower() 4345 temp = qm_sub16(temp1, temp2); in wlc_lcnphy_load_rfpower()
|
/drivers/scsi/ |
D | FlashPoint.c | 915 unsigned short temp, temp2, temp3, temp4, temp5, temp6; in FlashPoint_ProbeHostAdapter() local 982 temp2 = 0x0000; in FlashPoint_ProbeHostAdapter() 1002 temp2 >>= 1; in FlashPoint_ProbeHostAdapter() 1015 temp2 |= 0x8000; in FlashPoint_ProbeHostAdapter() 1030 pCardInfo->si_per_targ_init_sync = temp2; in FlashPoint_ProbeHostAdapter() 1127 temp2 = RD_HARPOON(ioport + hp_xfer_pad); in FlashPoint_ProbeHostAdapter() 1129 WR_HARPOON(ioport + hp_xfer_pad, (temp2 | BIT(4))); in FlashPoint_ProbeHostAdapter() 1135 WR_HARPOON(ioport + hp_xfer_pad, (temp2 & ~BIT(4))); in FlashPoint_ProbeHostAdapter() 1136 WR_HARPOON(ioport + hp_xfer_pad, (temp2 | BIT(4))); in FlashPoint_ProbeHostAdapter() 1139 WR_HARPOON(ioport + hp_xfer_pad, temp2); in FlashPoint_ProbeHostAdapter()
|
/drivers/platform/x86/ |
D | hdaps.c | 447 static DEVICE_ATTR(temp2, 0444, hdaps_temp2_show, NULL);
|
/drivers/net/wireless/ath/ath6kl/ |
D | htc_mbox.c | 907 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()
|