Lines Matching refs:n2rng
22 #include "n2rng.h"
24 #define DRV_MODULE_NAME "n2rng"
148 static unsigned long n2rng_control_settle_v2(struct n2rng *np, int unit)
155 static unsigned long n2rng_write_ctl_one(struct n2rng *np, int unit,
202 static unsigned long n2rng_read_diag_data_one(struct n2rng *np,
221 static int n2rng_generic_read_diag_data(struct n2rng *np,
250 static int n2rng_generic_write_control(struct n2rng *np,
280 static int n2rng_try_read_ctl(struct n2rng *np)
307 static u64 n2rng_control_default(struct n2rng *np, int ctl)
359 static void n2rng_control_swstate_init(struct n2rng *np)
381 static int n2rng_grab_diag_control(struct n2rng *np)
403 static int n2rng_init_control(struct n2rng *np)
422 struct n2rng *np = (struct n2rng *) rng->priv;
452 * If a control node reboots or reloads it's n2rng driver, this won't
456 static int n2rng_guest_check(struct n2rng *np)
463 static int n2rng_entropy_diag_read(struct n2rng *np, unsigned long unit,
501 static int n2rng_test_buffer_find(struct n2rng *np, u64 val)
513 static void n2rng_dump_test_buffer(struct n2rng *np)
522 static int n2rng_check_selftest_buffer(struct n2rng *np, unsigned long unit)
558 static int n2rng_control_selftest(struct n2rng *np, unsigned long unit)
600 static int n2rng_control_check(struct n2rng *np)
615 static int n2rng_control_configure_units(struct n2rng *np)
662 struct n2rng *np = container_of(work, struct n2rng, work.work);
700 struct n2rng *np;
786 struct n2rng *np = platform_get_drvdata(op);
857 .name = "n2rng",