Lines Matching refs:hw_status
161 u8 hw_status) in hwstatus_set() argument
163 writeb(hw_status, mem + INTEL_RNG_HW_STATUS); in hwstatus_set()
194 u8 hw_status; in intel_rng_init() local
197 hw_status = hwstatus_get(mem); in intel_rng_init()
199 if ((hw_status & INTEL_RNG_ENABLED) == 0) in intel_rng_init()
200 hw_status = hwstatus_set(mem, hw_status | INTEL_RNG_ENABLED); in intel_rng_init()
201 if ((hw_status & INTEL_RNG_ENABLED) == 0) { in intel_rng_init()
213 u8 hw_status; in intel_rng_cleanup() local
215 hw_status = hwstatus_get(mem); in intel_rng_cleanup()
216 if (hw_status & INTEL_RNG_ENABLED) in intel_rng_cleanup()
217 hwstatus_set(mem, hw_status & ~INTEL_RNG_ENABLED); in intel_rng_cleanup()
334 u8 hw_status; in intel_rng_mod_init() local
388 hw_status = hwstatus_get(mem); in intel_rng_mod_init()
389 if ((hw_status & INTEL_RNG_PRESENT) == 0) { in intel_rng_mod_init()