Lines Matching refs:sts
292 u_short sts; in amdpm_idle() local
295 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); in amdpm_idle()
297 AMDPM_DEBUG(printf("amdpm: busy? STS=0x%x\n", sts)); in amdpm_idle()
299 return (~(sts & AMDSMB_GS_HST_STS)); in amdpm_idle()
309 u_short sts = 0; in amdpm_wait() local
316 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); in amdpm_wait()
317 if (!(sts & AMDSMB_GS_HST_STS)) in amdpm_wait()
321 AMDPM_DEBUG(printf("amdpm: STS=0x%x (count=%d)\n", sts, count)); in amdpm_wait()
328 if (sts & AMDSMB_GS_ABRT_STS) in amdpm_wait()
331 if (sts & AMDSMB_GS_COL_STS) in amdpm_wait()
334 if (sts & AMDSMB_GS_PRERR_STS) in amdpm_wait()