Searched refs:n2rng_t (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/sys/
H A Dn2rng.h149 * Device flags (n2rng_t.n_flags)
237 } n2rng_t; typedef in typeref:struct:n2rng
272 int n2rng_noise_gen_preferred(n2rng_t *n2rng, int rngid);
273 int n2rng_config_test(n2rng_t *n2rng);
274 int n2rng_collect_diag_bits(n2rng_t *n2rng, int rngid,
277 int n2rng_getentropy(n2rng_t *n2rng, void *buffer, size_t size);
278 int n2rng_fips_random_init(n2rng_t *n2rng, fipsrandomstruct_t *frsp);
280 int n2rng_do_health_check(n2rng_t *n2rng, int rngid);
283 uint64_t n2rng_read_ctl(n2rng_t *n2rng, int rngid, uint64_t ctlregs_pa,
285 uint64_t n2rng_ctl_wait(n2rng_t *n2rn
[all...]
/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_kcf.c54 void n2rng_ksinit(n2rng_t *n2rng);
55 void n2rng_ksdeinit(n2rng_t *n2rng);
57 static int fips_init(n2rng_t *n2rng);
58 static void fips_fini(n2rng_t *n2rng);
59 int fips_random(n2rng_t *n2rng, uint8_t *out, size_t nbytes);
126 n2rng_t *n2rng = (n2rng_t *)prov;
183 n2rng_t *n2rng = (n2rng_t *)targ;
193 n2rng_register_provider(n2rng_t *n2rn
[all...]
H A Dn2rng_debug.c48 n2rng_dprintf(n2rng_t *n2rng, int level, const char *fmt, ...)
69 n2rng_error(n2rng_t *n2rng, const char *fmt, ...)
H A Dn2rng.c53 static int n2rng_suspend(n2rng_t *);
54 static int n2rng_resume(n2rng_t *);
57 static int n2rng_init_ctl(n2rng_t *);
58 static void n2rng_uninit_ctl(n2rng_t *);
59 static int n2rng_config(n2rng_t *);
125 rv = ddi_soft_state_init(&n2rng_softstate, sizeof (n2rng_t), 1);
163 n2rng_t *n2rng = NULL;
181 n2rng = (n2rng_t *)ddi_get_soft_state(n2rng_softstate,
200 n2rng = (n2rng_t *)ddi_get_soft_state(n2rng_softstate, instance);
331 n2rng_t *n2rn
[all...]
H A Dn2rng_kstat.c46 n2rng_ksinit(n2rng_t *n2rng)
114 n2rng_ksdeinit(n2rng_t *n2rng)
129 n2rng_t *n2rng;
134 n2rng = (n2rng_t *)ksp->ks_private;
H A Dn2rng_provider.c66 fips_random(n2rng_t *n2rng, uint8_t *out, size_t nbytes)
162 n2rng_fips_random_init(n2rng_t *n2rng, fipsrandomstruct_t *frsp)
H A Dn2rng_entp_setup.c136 n2rng_logic_test(n2rng_t *n2rng, int rngid)
220 n2rng_collect_metrics(n2rng_t *n2rng, int rngid, n2rng_setup_t *setupp,
256 collect_rng_perf(n2rng_t *n2rng, int rngid, n2rng_osc_perf_table_t ptable)
307 n2rng_noise_gen_preferred(n2rng_t *n2rng, int rngid)
437 n2rng_do_health_check(n2rng_t *n2rng, int rngid)

Completed in 64 milliseconds