Lines Matching refs:rng_mem
190 static void *rng_mem; variable
194 assert (rng_mem != NULL); in intel_hwstatus()
195 return readb (rng_mem + INTEL_RNG_HW_STATUS); in intel_hwstatus()
200 assert (rng_mem != NULL); in intel_hwstatus_set()
201 writeb (hw_status, rng_mem + INTEL_RNG_HW_STATUS); in intel_hwstatus_set()
207 assert (rng_mem != NULL); in intel_data_present()
209 return (readb (rng_mem + INTEL_RNG_STATUS) & INTEL_RNG_DATA_PRESENT) ? in intel_data_present()
215 assert (rng_mem != NULL); in intel_data_read()
217 return readb (rng_mem + INTEL_RNG_DATA); in intel_data_read()
227 rng_mem = ioremap (INTEL_RNG_ADDR, INTEL_RNG_ADDR_LEN); in intel_init()
228 if (rng_mem == NULL) { in intel_init()
255 iounmap (rng_mem); in intel_init()
256 rng_mem = NULL; in intel_init()
271 iounmap(rng_mem); in intel_cleanup()
272 rng_mem = NULL; in intel_cleanup()