Lines Matching defs:np
147 static unsigned long n2rng_control_settle_v2(struct n2rng *np, int unit) in n2rng_control_settle_v2()
154 static unsigned long n2rng_write_ctl_one(struct n2rng *np, int unit, in n2rng_write_ctl_one()
201 static unsigned long n2rng_read_diag_data_one(struct n2rng *np, in n2rng_read_diag_data_one()
220 static int n2rng_generic_read_diag_data(struct n2rng *np, in n2rng_generic_read_diag_data()
249 static int n2rng_generic_write_control(struct n2rng *np, in n2rng_generic_write_control()
279 static int n2rng_try_read_ctl(struct n2rng *np) in n2rng_try_read_ctl()
306 static u64 n2rng_control_default(struct n2rng *np, int ctl) in n2rng_control_default()
358 static void n2rng_control_swstate_init(struct n2rng *np) in n2rng_control_swstate_init()
380 static int n2rng_grab_diag_control(struct n2rng *np) in n2rng_grab_diag_control()
402 static int n2rng_init_control(struct n2rng *np) in n2rng_init_control()
421 struct n2rng *np = (struct n2rng *) rng->priv; in n2rng_data_read() local
455 static int n2rng_guest_check(struct n2rng *np) in n2rng_guest_check()
462 static int n2rng_entropy_diag_read(struct n2rng *np, unsigned long unit, in n2rng_entropy_diag_read()
500 static int n2rng_test_buffer_find(struct n2rng *np, u64 val) in n2rng_test_buffer_find()
512 static void n2rng_dump_test_buffer(struct n2rng *np) in n2rng_dump_test_buffer()
521 static int n2rng_check_selftest_buffer(struct n2rng *np, unsigned long unit) in n2rng_check_selftest_buffer()
557 static int n2rng_control_selftest(struct n2rng *np, unsigned long unit) in n2rng_control_selftest()
599 static int n2rng_control_check(struct n2rng *np) in n2rng_control_check()
614 static int n2rng_control_configure_units(struct n2rng *np) in n2rng_control_configure_units()
661 struct n2rng *np = container_of(work, struct n2rng, work.work); in n2rng_work() local
700 struct n2rng *np; in n2rng_probe() local
790 struct n2rng *np = platform_get_drvdata(op); in n2rng_remove() local