Searched refs:n_devices (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/usb/host/whci/ |
D | init.c | 31 for (d = 0; d < whc->n_devices; d++) in whc_hw_init_di_buf() 93 whc->n_devices = WHCSPARAMS_TO_N_DEVICES(whcsparams); in whc_init() 98 whc->n_devices, whc->n_keys, whc->n_mmc_ies); in whc_init() 135 sizeof(struct di_buf_entry) * whc->n_devices, in whc_init() 155 dma_free_coherent(&whc->umc->dev, sizeof(struct di_buf_entry) * whc->n_devices, in whc_clean_up()
|
D | hcd.c | 259 if (whc->n_devices > USB_MAXCHILDREN) { in whc_probe() 261 whc->n_devices); in whc_probe() 264 wusbhc->ports_max = whc->n_devices; in whc_probe()
|
D | debug.c | 80 for (d = 0; d < whc->n_devices; d++) { in di_show()
|
D | whcd.h | 29 u8 n_devices; member
|
D | wusb.c | 199 ret = whc_set_key(whc, whc->n_devices, tkid, gtk, key_size, true); in whc_set_gtk()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 1352 if (!args->n_devices) { in kfd_ioctl_map_memory_to_gpu() 1356 if (args->n_success > args->n_devices) { in kfd_ioctl_map_memory_to_gpu() 1361 devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), in kfd_ioctl_map_memory_to_gpu() 1368 args->n_devices * sizeof(*devices_arr)); in kfd_ioctl_map_memory_to_gpu() 1389 for (i = args->n_success; i < args->n_devices; i++) { in kfd_ioctl_map_memory_to_gpu() 1407 i, args->n_devices); in kfd_ioctl_map_memory_to_gpu() 1422 for (i = 0; i < args->n_devices; i++) { in kfd_ioctl_map_memory_to_gpu() 1461 if (!args->n_devices) { in kfd_ioctl_unmap_memory_from_gpu() 1465 if (args->n_success > args->n_devices) { in kfd_ioctl_unmap_memory_from_gpu() 1470 devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), in kfd_ioctl_unmap_memory_from_gpu() [all …]
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_state.c | 54 unsigned int *n_devices, in count_objects() argument 61 *n_devices = 0; in count_objects() 65 (*n_devices)++; in count_objects() 70 static struct drbd_state_change *alloc_state_change(unsigned int n_devices, unsigned int n_connecti… in alloc_state_change() argument 76 n_devices * sizeof(struct drbd_device_state_change) + in alloc_state_change() 78 n_devices * n_connections * sizeof(struct drbd_peer_device_state_change); in alloc_state_change() 82 state_change->n_devices = n_devices; in alloc_state_change() 85 state_change->connections = (void *)&state_change->devices[n_devices]; in alloc_state_change() 88 for (n = 0; n < n_devices; n++) in alloc_state_change() 99 unsigned int n_devices; in remember_old_state() local [all …]
|
D | drbd_state_change.h | 35 unsigned int n_devices; member
|
D | drbd_nl.c | 4861 state_change->n_devices + in notifications_for_state_change() 4862 state_change->n_devices * state_change->n_connections; in notifications_for_state_change() 4897 if (n < state_change->n_devices) { in get_initial_state() 4902 n -= state_change->n_devices; in get_initial_state() 4903 if (n < state_change->n_devices * state_change->n_connections) { in get_initial_state()
|
/Linux-v4.19/include/uapi/linux/ |
D | kfd_ioctl.h | 378 __u32 n_devices; /* to KFD */ member 389 __u32 n_devices; /* to KFD */ member
|