Searched refs:rng_mem (Results 1 – 2 of 2) sorted by relevance
91 static void *rng_mem; /* token to our ioremap'd RNG register area */ variable100 assert (rng_mem != NULL); in rng_hwstatus()101 return readb (rng_mem + RNG_HW_STATUS); in rng_hwstatus()106 assert (rng_mem != NULL); in rng_hwstatus_set()107 writeb (hw_status, rng_mem + RNG_HW_STATUS); in rng_hwstatus_set()114 assert (rng_mem != NULL); in rng_data_present()116 return (readb (rng_mem + RNG_STATUS) & RNG_DATA_PRESENT) ? 1 : 0; in rng_data_present()122 assert (rng_mem != NULL); in rng_data_read()124 return readb (rng_mem + RNG_DATA); in rng_data_read()295 rng_mem = ioremap (RNG_ADDR, RNG_ADDR_LEN); in rng_init_one()[all …]
190 static void *rng_mem; variable194 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()[all …]