Home
last modified time | relevance | path

Searched refs:temp_reg (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/rts5208/
Drtsx_card.c1048 u8 temp_reg; in toggle_gpio() local
1050 rtsx_read_register(chip, CARD_GPIO, &temp_reg); in toggle_gpio()
1051 temp_reg ^= (0x01 << gpio); in toggle_gpio()
1052 rtsx_write_register(chip, CARD_GPIO, 0xFF, temp_reg); in toggle_gpio()
/drivers/hwmon/
Damc6821.c116 static const u8 temp_reg[] = {AMC6821_REG_LTEMP_HI, variable
179 client, temp_reg[i]); in amc6821_update_device()
291 if (i2c_smbus_write_byte_data(client, temp_reg[ix], data->temp[ix])) { in temp_store()
/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Diceland_smumgr.c2513 uint32_t temp_reg; in iceland_set_mc_special_registers() local
2523 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_EMRS); in iceland_set_mc_special_registers()
2528 ((temp_reg & 0xffff0000)) | in iceland_set_mc_special_registers()
2535 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_MRS); in iceland_set_mc_special_registers()
2540 (temp_reg & 0xffff0000) | in iceland_set_mc_special_registers()
2564 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_MRS1); in iceland_set_mc_special_registers()
2569 (temp_reg & 0xffff0000) | in iceland_set_mc_special_registers()
Dci_smumgr.c2585 uint32_t temp_reg; in ci_set_mc_special_registers() local
2595 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_EMRS); in ci_set_mc_special_registers()
2600 ((temp_reg & 0xffff0000)) | in ci_set_mc_special_registers()
2607 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_MRS); in ci_set_mc_special_registers()
2612 (temp_reg & 0xffff0000) | in ci_set_mc_special_registers()
2635 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_MRS1); in ci_set_mc_special_registers()
2640 (temp_reg & 0xffff0000) | in ci_set_mc_special_registers()
Dtonga_smumgr.c2978 uint32_t temp_reg; in tonga_set_mc_special_registers() local
2988 temp_reg = cgs_read_register(hwmgr->device, in tonga_set_mc_special_registers()
2994 ((temp_reg & 0xffff0000)) | in tonga_set_mc_special_registers()
3001 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_MRS); in tonga_set_mc_special_registers()
3006 (temp_reg & 0xffff0000) | in tonga_set_mc_special_registers()
3028 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_MRS1); in tonga_set_mc_special_registers()
3033 (temp_reg & 0xffff0000) | in tonga_set_mc_special_registers()
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c2488 uint32_t temp_reg; in smu7_thermal_parameter_init() local
2494 temp_reg = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixCNB_PWRMGT_CNTL); in smu7_thermal_parameter_init()
2497 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW_MODE, 0x1); in smu7_thermal_parameter_init()
2500 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW_MODE, 0x2); in smu7_thermal_parameter_init()
2503 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW, 0x1); in smu7_thermal_parameter_init()
2506 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, FORCE_NB_PS1, 0x1); in smu7_thermal_parameter_init()
2509 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, DPM_ENABLED, 0x1); in smu7_thermal_parameter_init()
2514 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixCNB_PWRMGT_CNTL, temp_reg); in smu7_thermal_parameter_init()
/drivers/gpu/drm/radeon/
Dni_dpm.c2719 u32 temp_reg; in ni_set_mc_special_registers() local
2726 temp_reg = RREG32(MC_PMG_CMD_EMRS); in ni_set_mc_special_registers()
2731 ((temp_reg & 0xffff0000)) | in ni_set_mc_special_registers()
2737 temp_reg = RREG32(MC_PMG_CMD_MRS); in ni_set_mc_special_registers()
2742 (temp_reg & 0xffff0000) | in ni_set_mc_special_registers()
2752 temp_reg = RREG32(MC_PMG_CMD_MRS1); in ni_set_mc_special_registers()
2757 (temp_reg & 0xffff0000) | in ni_set_mc_special_registers()
Dci_dpm.c4305 u32 temp_reg; in ci_set_mc_special_registers() local
4312 temp_reg = RREG32(MC_PMG_CMD_EMRS); in ci_set_mc_special_registers()
4317 ((temp_reg & 0xffff0000)) | ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ci_set_mc_special_registers()
4323 temp_reg = RREG32(MC_PMG_CMD_MRS); in ci_set_mc_special_registers()
4328 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers()
4349 temp_reg = RREG32(MC_PMG_CMD_MRS1); in ci_set_mc_special_registers()
4354 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers()
Dsi_dpm.c5341 u32 temp_reg; in si_set_mc_special_registers() local
5348 temp_reg = RREG32(MC_PMG_CMD_EMRS); in si_set_mc_special_registers()
5353 ((temp_reg & 0xffff0000)) | in si_set_mc_special_registers()
5359 temp_reg = RREG32(MC_PMG_CMD_MRS); in si_set_mc_special_registers()
5364 (temp_reg & 0xffff0000) | in si_set_mc_special_registers()
5385 temp_reg = RREG32(MC_PMG_CMD_MRS1); in si_set_mc_special_registers()
5390 (temp_reg & 0xffff0000) | in si_set_mc_special_registers()
/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c5799 u32 temp_reg; in si_set_mc_special_registers() local
5806 temp_reg = RREG32(MC_PMG_CMD_EMRS); in si_set_mc_special_registers()
5811 ((temp_reg & 0xffff0000)) | in si_set_mc_special_registers()
5817 temp_reg = RREG32(MC_PMG_CMD_MRS); in si_set_mc_special_registers()
5822 (temp_reg & 0xffff0000) | in si_set_mc_special_registers()
5841 temp_reg = RREG32(MC_PMG_CMD_MRS1); in si_set_mc_special_registers()
5846 (temp_reg & 0xffff0000) | in si_set_mc_special_registers()
/drivers/scsi/
Dipr.c8910 volatile u32 temp_reg; in ipr_reset_allowed() local
8912 temp_reg = readl(ioa_cfg->regs.sense_interrupt_reg); in ipr_reset_allowed()
8913 return ((temp_reg & IPR_PCII_CRITICAL_OPERATION) == 0); in ipr_reset_allowed()