Lines Matching refs:n2rng
21 #include "n2rng.h"
23 #define DRV_MODULE_NAME "n2rng"
147 static unsigned long n2rng_control_settle_v2(struct n2rng *np, int unit)
154 static unsigned long n2rng_write_ctl_one(struct n2rng *np, int unit,
201 static unsigned long n2rng_read_diag_data_one(struct n2rng *np,
220 static int n2rng_generic_read_diag_data(struct n2rng *np,
249 static int n2rng_generic_write_control(struct n2rng *np,
279 static int n2rng_try_read_ctl(struct n2rng *np)
327 static void n2rng_control_swstate_init(struct n2rng *np)
349 static int n2rng_grab_diag_control(struct n2rng *np)
371 static int n2rng_init_control(struct n2rng *np)
390 struct n2rng *np = (struct n2rng *) rng->priv;
419 * If a control node reboots or reloads it's n2rng driver, this won't
423 static int n2rng_guest_check(struct n2rng *np)
430 static int n2rng_entropy_diag_read(struct n2rng *np, unsigned long unit,
468 static int n2rng_test_buffer_find(struct n2rng *np, u64 val)
480 static void n2rng_dump_test_buffer(struct n2rng *np)
489 static int n2rng_check_selftest_buffer(struct n2rng *np, unsigned long unit)
513 static int n2rng_control_selftest(struct n2rng *np, unsigned long unit)
537 static int n2rng_control_check(struct n2rng *np)
552 static int n2rng_control_configure_units(struct n2rng *np)
586 struct n2rng *np = container_of(work, struct n2rng, work.work);
622 struct n2rng *np;
685 np->hwrng.name = "n2rng";
714 struct n2rng *np = dev_get_drvdata(&op->dev);
750 .name = "n2rng",