Lines Matching refs:sts
289 u_short sts; in amdpm_idle() local
292 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); in amdpm_idle()
294 AMDPM_DEBUG(printf("amdpm: busy? STS=0x%x\n", sts)); in amdpm_idle()
296 return (~(sts & AMDSMB_GS_HST_STS)); in amdpm_idle()
306 u_short sts = 0; in amdpm_wait() local
313 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); in amdpm_wait()
314 if (!(sts & AMDSMB_GS_HST_STS)) in amdpm_wait()
318 AMDPM_DEBUG(printf("amdpm: STS=0x%x (count=%d)\n", sts, count)); in amdpm_wait()
325 if (sts & AMDSMB_GS_ABRT_STS) in amdpm_wait()
328 if (sts & AMDSMB_GS_COL_STS) in amdpm_wait()
331 if (sts & AMDSMB_GS_PRERR_STS) in amdpm_wait()