Searched refs:num_units (Results 1 – 4 of 4) sorted by relevance
/drivers/char/hw_random/ |
D | n2-drv.c | 337 for (i = 0; i < np->num_units; i++) { in n2rng_control_swstate_init() 541 for (i = 0; i < np->num_units; i++) { in n2rng_control_check() 557 for (unit = 0; unit < np->num_units; unit++) { in n2rng_control_configure_units() 668 np->num_units = of_getintprop_default(op->dev.of_node, in n2rng_probe() 670 if (!np->num_units) { in n2rng_probe() 675 np->num_units = 1; in n2rng_probe() 680 np->units = kzalloc(sizeof(struct n2rng_unit) * np->num_units, in n2rng_probe() 693 np->num_units); in n2rng_probe()
|
D | n2rng.h | 77 int num_units; member
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_kms.c | 433 int i, num_units; in do_surface_dirty_sou() local 443 num_units = 0; in do_surface_dirty_sou() 448 units[num_units++] = vmw_crtc_to_du(crtc); in do_surface_dirty_sou() 504 for (i = 0; i < num_units; i++) { in do_surface_dirty_sou() 833 int i, k, num_units, ret; in do_dmabuf_dirty_sou() local 853 num_units = 0; in do_dmabuf_dirty_sou() 857 units[num_units++] = vmw_crtc_to_du(crtc); in do_dmabuf_dirty_sou() 860 for (k = 0; k < num_units; k++) { in do_dmabuf_dirty_sou() 1198 int i, k, num_units; in vmw_kms_present() local 1208 num_units = 0; in vmw_kms_present() [all …]
|
/drivers/infiniband/hw/ipath/ |
D | ipath_sysfs.c | 992 static DRIVER_ATTR(num_units, S_IRUGO, show_num_units, NULL);
|