|
@@ -170,7 +170,7 @@ int smu7_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg)
|
|
|
return -EINVAL;
|
|
|
|
|
|
|
|
|
- SMUM_WAIT_FIELD_UNEQUAL(hwmgr, SMC_RESP_0, SMC_RESP, 0);
|
|
|
+ PHM_WAIT_FIELD_UNEQUAL(hwmgr, SMC_RESP_0, SMC_RESP, 0);
|
|
|
|
|
|
ret = SMUM_READ_FIELD(hwmgr->device, SMC_RESP_0, SMC_RESP);
|
|
|
|
|
@@ -179,7 +179,7 @@ int smu7_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg)
|
|
|
|
|
|
cgs_write_register(hwmgr->device, mmSMC_MESSAGE_0, msg);
|
|
|
|
|
|
- SMUM_WAIT_FIELD_UNEQUAL(hwmgr, SMC_RESP_0, SMC_RESP, 0);
|
|
|
+ PHM_WAIT_FIELD_UNEQUAL(hwmgr, SMC_RESP_0, SMC_RESP, 0);
|
|
|
|
|
|
ret = SMUM_READ_FIELD(hwmgr->device, SMC_RESP_0, SMC_RESP);
|
|
|
|
|
@@ -202,7 +202,7 @@ int smu7_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg, ui
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
- SMUM_WAIT_FIELD_UNEQUAL(hwmgr, SMC_RESP_0, SMC_RESP, 0);
|
|
|
+ PHM_WAIT_FIELD_UNEQUAL(hwmgr, SMC_RESP_0, SMC_RESP, 0);
|
|
|
|
|
|
cgs_write_register(hwmgr->device, mmSMC_MSG_ARG_0, parameter);
|
|
|
|
|
@@ -222,7 +222,7 @@ int smu7_send_msg_to_smc_offset(struct pp_hwmgr *hwmgr)
|
|
|
|
|
|
cgs_write_register(hwmgr->device, mmSMC_MESSAGE_0, PPSMC_MSG_Test);
|
|
|
|
|
|
- SMUM_WAIT_FIELD_UNEQUAL(hwmgr, SMC_RESP_0, SMC_RESP, 0);
|
|
|
+ PHM_WAIT_FIELD_UNEQUAL(hwmgr, SMC_RESP_0, SMC_RESP, 0);
|
|
|
|
|
|
if (1 != SMUM_READ_FIELD(hwmgr->device, SMC_RESP_0, SMC_RESP))
|
|
|
pr_info("Failed to send Message.\n");
|