Home
last modified time | relevance | path

Searched refs:num_units (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/char/hw_random/
Dn2-drv.c367 for (i = 0; i < np->num_units; i++) { in n2rng_control_swstate_init()
602 for (i = 0; i < np->num_units; i++) { in n2rng_control_check()
618 for (unit = 0; unit < np->num_units; unit++) { in n2rng_control_configure_units()
739 np->num_units = of_getintprop_default(op->dev.of_node, in n2rng_probe()
741 if (!np->num_units) { in n2rng_probe()
746 np->num_units = 1; in n2rng_probe()
751 np->units = devm_kcalloc(&op->dev, np->num_units, sizeof(*np->units), in n2rng_probe()
764 np->num_units); in n2rng_probe()
Dn2rng.h109 int num_units; member