Lines Matching refs:sts
290 u_short sts; in amdpm_idle() local
293 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); in amdpm_idle()
295 AMDPM_DEBUG(printf("amdpm: busy? STS=0x%x\n", sts)); in amdpm_idle()
297 return (~(sts & AMDSMB_GS_HST_STS)); in amdpm_idle()
307 u_short sts = 0; in amdpm_wait() local
314 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); in amdpm_wait()
315 if (!(sts & AMDSMB_GS_HST_STS)) in amdpm_wait()
319 AMDPM_DEBUG(printf("amdpm: STS=0x%x (count=%d)\n", sts, count)); in amdpm_wait()
326 if (sts & AMDSMB_GS_ABRT_STS) in amdpm_wait()
329 if (sts & AMDSMB_GS_COL_STS) in amdpm_wait()
332 if (sts & AMDSMB_GS_PRERR_STS) in amdpm_wait()