Searched refs:num_units (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/drivers/char/hw_random/ |
| D | n2-drv.c | 368 for (i = 0; i < np->num_units; i++) { in n2rng_control_swstate_init() 603 for (i = 0; i < np->num_units; i++) { in n2rng_control_check() 619 for (unit = 0; unit < np->num_units; unit++) { in n2rng_control_configure_units() 740 np->num_units = of_getintprop_default(op->dev.of_node, in n2rng_probe() 742 if (!np->num_units) { in n2rng_probe() 747 np->num_units = 1; in n2rng_probe() 752 np->units = devm_kcalloc(&op->dev, np->num_units, sizeof(*np->units), in n2rng_probe() 765 np->num_units); in n2rng_probe()
|
| D | n2rng.h | 109 int num_units; member
|
| /Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
| D | wmi.c | 5246 u32 num_units, u32 unit_len) in ath10k_wmi_alloc_chunk() argument 5253 pool_size = num_units * round_up(unit_len, 4); in ath10k_wmi_alloc_chunk() 5265 return num_units; in ath10k_wmi_alloc_chunk() 5269 u32 num_units, u32 unit_len) in ath10k_wmi_alloc_host_mem() argument 5273 while (num_units) { in ath10k_wmi_alloc_host_mem() 5274 ret = ath10k_wmi_alloc_chunk(ar, req_id, num_units, unit_len); in ath10k_wmi_alloc_host_mem() 5278 num_units -= ret; in ath10k_wmi_alloc_host_mem() 5289 u32 req_id, num_units, unit_size, num_unit_info; in ath10k_wmi_is_host_mem_allocated() local 5299 num_units = __le32_to_cpu(mem_reqs[i]->num_units); in ath10k_wmi_is_host_mem_allocated() 5305 num_units = ar->num_active_peers + 1; in ath10k_wmi_is_host_mem_allocated() [all …]
|
| D | wmi.h | 2242 __le32 num_units; member
|
| /Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_kms.c | 2449 u32 num_units = 0; in vmw_kms_helper_dirty() local 2456 units[num_units++] = vmw_crtc_to_du(dirty->crtc); in vmw_kms_helper_dirty() 2463 units[num_units++] = vmw_crtc_to_du(crtc); in vmw_kms_helper_dirty() 2467 for (k = 0; k < num_units; k++) { in vmw_kms_helper_dirty()
|