Lines Matching refs:rngid
513 n2rng_collect_diag_bits(n2rng_t *n2rng, int rngid,
557 hverr = n2rng_ctl_write(n2rng, rngid, setupphys,
618 hverr = n2rng_data_read_diag(n2rng, rngid,
664 hverr = n2rng_ctl_write(n2rng, rngid, setupphys,
810 n2rng_ctl_read(n2rng_t *n2rng, int rngid, uint64_t ctlregs_pa, uint64_t *state,
818 rv = hv_rng_ctl_read_v2(ctlregs_pa, (uint64_t)rngid, state,
832 n2rng_ctl_wait(n2rng_t *n2rng, int rngid)
855 rv = hv_rng_ctl_read_v2(setupphys, (uint64_t)rngid, &state,
894 n2rng_ctl_write(n2rng_t *n2rng, int rngid, uint64_t ctlregs_pa,
902 (uint64_t)rngid);
905 rv = n2rng_ctl_wait(n2rng, rngid);
916 n2rng_data_read_diag(n2rng_t *n2rng, int rngid, uint64_t data_pa,
924 (uint64_t)rngid, tdelta);
1000 int rngid;
1092 for (rngid = 0; rngid < n2rng->n_ctl_data->n_num_rngs; rngid++) {
1094 rng = &n2rng->n_ctl_data->n_rngs[rngid];
1227 int rngid;
1235 for (rngid = 0; rngid < n2rng->n_ctl_data->n_num_rngs;
1236 rngid++) {
1238 rng = &n2rng->n_ctl_data->n_rngs[rngid];
1257 rv = n2rng_do_health_check(n2rng, rngid);
1260 rv = n2rng_do_health_check(n2rng, rngid);
1270 "passed health checks", rngid);
1283 "failed health checks", rngid);