/drivers/staging/rts5208/ |
D | rtsx_card.c | 1048 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/ |
D | amc6821.c | 116 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/ |
D | iceland_smumgr.c | 2513 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()
|
D | ci_smumgr.c | 2587 uint32_t temp_reg; in ci_set_mc_special_registers() local 2597 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_EMRS); in ci_set_mc_special_registers() 2602 ((temp_reg & 0xffff0000)) | in ci_set_mc_special_registers() 2609 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_MRS); in ci_set_mc_special_registers() 2614 (temp_reg & 0xffff0000) | in ci_set_mc_special_registers() 2637 temp_reg = cgs_read_register(hwmgr->device, mmMC_PMG_CMD_MRS1); in ci_set_mc_special_registers() 2642 (temp_reg & 0xffff0000) | in ci_set_mc_special_registers()
|
D | tonga_smumgr.c | 2978 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/ |
D | smu7_hwmgr.c | 2551 uint32_t temp_reg; in smu7_thermal_parameter_init() local 2557 temp_reg = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixCNB_PWRMGT_CNTL); in smu7_thermal_parameter_init() 2560 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW_MODE, 0x1); in smu7_thermal_parameter_init() 2563 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW_MODE, 0x2); in smu7_thermal_parameter_init() 2566 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, GNB_SLOW, 0x1); in smu7_thermal_parameter_init() 2569 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, FORCE_NB_PS1, 0x1); in smu7_thermal_parameter_init() 2572 temp_reg = PHM_SET_FIELD(temp_reg, CNB_PWRMGT_CNTL, DPM_ENABLED, 0x1); in smu7_thermal_parameter_init() 2577 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixCNB_PWRMGT_CNTL, temp_reg); in smu7_thermal_parameter_init()
|
/drivers/gpu/drm/radeon/ |
D | ni_dpm.c | 2719 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()
|
D | si_dpm.c | 5341 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()
|
D | ci_dpm.c | 4302 u32 temp_reg; in ci_set_mc_special_registers() local 4309 temp_reg = RREG32(MC_PMG_CMD_EMRS); in ci_set_mc_special_registers() 4314 ((temp_reg & 0xffff0000)) | ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ci_set_mc_special_registers() 4320 temp_reg = RREG32(MC_PMG_CMD_MRS); in ci_set_mc_special_registers() 4325 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers() 4346 temp_reg = RREG32(MC_PMG_CMD_MRS1); in ci_set_mc_special_registers() 4351 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers()
|
/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.c | 5839 u32 temp_reg; in si_set_mc_special_registers() local 5846 temp_reg = RREG32(MC_PMG_CMD_EMRS); in si_set_mc_special_registers() 5851 ((temp_reg & 0xffff0000)) | in si_set_mc_special_registers() 5857 temp_reg = RREG32(MC_PMG_CMD_MRS); in si_set_mc_special_registers() 5862 (temp_reg & 0xffff0000) | in si_set_mc_special_registers() 5881 temp_reg = RREG32(MC_PMG_CMD_MRS1); in si_set_mc_special_registers() 5886 (temp_reg & 0xffff0000) | in si_set_mc_special_registers()
|
/drivers/scsi/ |
D | ipr.c | 8914 volatile u32 temp_reg; in ipr_reset_allowed() local 8916 temp_reg = readl(ioa_cfg->regs.sense_interrupt_reg); in ipr_reset_allowed() 8917 return ((temp_reg & IPR_PCII_CRITICAL_OPERATION) == 0); in ipr_reset_allowed()
|