/linux-6.3-rc2/sound/xen/ |
A D | xen_snd_front_cfg.c | 480 int ret, num_devices, i; in xen_snd_front_cfg_card() local 484 num_devices = 0; in xen_snd_front_cfg_card() 486 snprintf(node, sizeof(node), "%d", num_devices); in xen_snd_front_cfg_card() 490 num_devices++; in xen_snd_front_cfg_card() 491 } while (num_devices < SNDRV_PCM_DEVICES); in xen_snd_front_cfg_card() 493 if (!num_devices) { in xen_snd_front_cfg_card() 504 devm_kcalloc(&front_info->xb_dev->dev, num_devices, in xen_snd_front_cfg_card() 510 for (i = 0; i < num_devices; i++) { in xen_snd_front_cfg_card() 516 cfg->num_pcm_instances = num_devices; in xen_snd_front_cfg_card()
|
/linux-6.3-rc2/drivers/crypto/qat/qat_common/ |
A D | adf_dev_mgr.c | 11 static u32 num_devices; variable 78 num_devices--; in adf_clean_vf_map() 145 if (num_devices == ADF_MAX_DEVICES) { in adf_devmgr_add_dev() 174 num_devices++; in adf_devmgr_add_dev() 218 num_devices++; in adf_devmgr_add_dev() 254 num_devices--; in adf_devmgr_rm_dev() 369 *num = num_devices - adf_get_num_dettached_vfs(); in adf_devmgr_get_num_dev()
|
A D | adf_ctl_drv.c | 337 u32 num_devices = 0; in adf_ctl_ioctl_get_num_devices() local 339 adf_devmgr_get_num_dev(&num_devices); in adf_ctl_ioctl_get_num_devices() 340 if (copy_to_user((void __user *)arg, &num_devices, sizeof(num_devices))) in adf_ctl_ioctl_get_num_devices()
|
/linux-6.3-rc2/drivers/crypto/virtio/ |
A D | virtio_crypto_mgr.c | 15 static uint32_t num_devices; variable 38 if (num_devices == VIRTIO_CRYPTO_MAX_DEVICES) { in virtcrypto_devmgr_add_dev() 56 vcrypto_dev->dev_id = num_devices++; in virtcrypto_devmgr_add_dev() 80 num_devices--; in virtcrypto_devmgr_rm_dev()
|
/linux-6.3-rc2/drivers/s390/cio/ |
A D | ccwgroup.c | 314 int num_devices, const char *buf) in ccwgroup_create_dev() argument 320 if (num_devices < 1) in ccwgroup_create_dev() 323 gdev = kzalloc(struct_size(gdev, cdev, num_devices), GFP_KERNEL); in ccwgroup_create_dev() 331 gdev->count = num_devices; in ccwgroup_create_dev() 337 for (i = 0; i < num_devices && buf; i++) { in ccwgroup_create_dev() 364 if (i < num_devices) { in ccwgroup_create_dev() 369 if (i == num_devices && buf && strlen(buf) > 0) { in ccwgroup_create_dev()
|
/linux-6.3-rc2/drivers/tee/optee/ |
A D | device.c | 98 u32 shm_size = 0, idx, num_devices = 0; in __optee_enumerate_devices() local 142 num_devices = shm_size / sizeof(uuid_t); in __optee_enumerate_devices() 144 for (idx = 0; idx < num_devices; idx++) { in __optee_enumerate_devices()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_chardev.c | 1700 uint32_t num_devices, in criu_checkpoint_devices() argument 1721 for (i = 0; i < num_devices; i++) { in criu_checkpoint_devices() 1742 num_devices * sizeof(*device_priv)); in criu_checkpoint_devices() 1930 uint32_t *num_devices, in criu_get_process_object_info() argument 1939 *num_devices = p->n_pdds; in criu_get_process_object_info() 1971 uint32_t num_devices, num_bos, num_objects; in criu_checkpoint() local 1997 if (num_devices != args->num_devices || in criu_checkpoint() 2106 if (args->num_devices != p->n_pdds) in criu_restore_devices() 2117 args->num_devices * sizeof(*device_buckets)); in criu_restore_devices() 2124 for (i = 0; i < args->num_devices; i++) { in criu_restore_devices() [all …]
|
/linux-6.3-rc2/drivers/siox/ |
A D | siox-core.c | 750 while (smaster->num_devices) { in siox_master_unregister() 756 smaster->num_devices--; in siox_master_unregister() 796 smaster->busno, smaster->num_devices); in siox_device_add() 821 smaster->num_devices++; in siox_device_add() 859 if (!smaster->num_devices) { in siox_device_remove() 866 smaster->num_devices--; in siox_device_remove() 871 if (!smaster->num_devices) in siox_device_remove()
|
A D | siox.h | 25 unsigned int num_devices; member
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | msi.c | 214 int num_devices; member 233 counts->num_devices++; in count_non_bridge_devices() 292 if (counts.num_devices == 0) { in msi_quota_for_device() 298 counts.quota = total / counts.num_devices; in msi_quota_for_device() 309 counts.spare += total % counts.num_devices; in msi_quota_for_device()
|
/linux-6.3-rc2/include/linux/platform_data/ |
A D | i2c-xiic.h | 27 u8 num_devices; member
|
A D | i2c-ocores.h | 17 u8 num_devices; /* number of devices in the devices list */ member
|
/linux-6.3-rc2/include/linux/spi/ |
A D | xilinx_spi.h | 17 u8 num_devices; member
|
A D | altera.h | 28 u16 num_devices; member
|
/linux-6.3-rc2/tools/testing/selftests/zram/ |
A D | zram_lib.sh | 97 modprobe zram num_devices=$dev_num 111 modprobe zram num_devices=$dev_num
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | pktcdvd.h | 101 __u32 num_devices; /* out: Largest device index + 1 */ member
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | ccwgroup.h | 55 int num_devices, const char *buf);
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxfw/ |
A D | mlxfw_mfa2_format.h | 25 __be16 num_devices; member
|
/linux-6.3-rc2/drivers/scsi/mpi3mr/ |
A D | mpi3mr_app.c | 296 u16 num_devices = 0, i = 0, size; in mpi3mr_get_all_tgt_info() local 311 num_devices++; in mpi3mr_get_all_tgt_info() 318 &num_devices, sizeof(num_devices)); in mpi3mr_get_all_tgt_info() 322 kern_entrylen = num_devices * sizeof(*devmap_info); in mpi3mr_get_all_tgt_info() 332 if (i < num_devices) { in mpi3mr_get_all_tgt_info() 343 num_devices = i; in mpi3mr_get_all_tgt_info() 346 alltgt_info->num_devices = num_devices; in mpi3mr_get_all_tgt_info()
|
/linux-6.3-rc2/drivers/crypto/cavium/nitrox/ |
A D | nitrox_main.c | 36 static unsigned int num_devices; variable 250 ndev->idx = num_devices++; in nitrox_add_to_devlist() 266 num_devices--; in nitrox_remove_from_devlist()
|
/linux-6.3-rc2/drivers/mfd/ |
A D | timberdale.c | 68 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 76 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 729 timberdale_xspi_platform_data.num_devices = in timb_probe() 735 timberdale_xspi_platform_data.num_devices = in timb_probe()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | volumes.c | 863 fs_devices->num_devices++; in device_list_add() 1025 fs_devices->num_devices++; in clone_fs_devices() 1953 u64 num_devices) in btrfs_check_raid_min_devices() argument 2023 u64 num_devices = fs_info->fs_devices->num_devices; in btrfs_num_devices() local 2027 ASSERT(num_devices > 1); in btrfs_num_devices() 2028 num_devices--; in btrfs_num_devices() 2032 return num_devices; in btrfs_num_devices() 2088 u64 num_devices; in btrfs_rm_device() local 2270 fs_devices->num_devices--; in btrfs_rm_dev_replace_remove_srcdev() 2319 fs_devices->num_devices--; in btrfs_destroy_dev_replace_tgtdev() [all …]
|
/linux-6.3-rc2/drivers/memory/tegra/ |
A D | tegra210-emc-cc-r21021.c | 262 if (emc->num_devices < 2) in update_clock_tree_delay() 678 emc_dbg(emc, INFO, "DRAM dev #: %u\n", emc->num_devices); in tegra210_emc_r21021_set_clock() 1280 if (emc->num_devices > 1) { in tegra210_emc_r21021_set_clock() 1294 if (emc->num_devices < 2) in tegra210_emc_r21021_set_clock() 1395 if (emc->num_devices <= 1) in tegra210_emc_r21021_set_clock() 1431 if (emc->num_devices < 2) { in tegra210_emc_r21021_set_clock() 1545 if (emc->num_devices > 1) { in tegra210_emc_r21021_set_clock() 1560 if (emc->num_devices > 1) { in tegra210_emc_r21021_set_clock()
|
/linux-6.3-rc2/Documentation/i2c/busses/ |
A D | i2c-ocores.rst | 60 .num_devices = ARRAY_SIZE(ocores_i2c_board_info), /* table size */
|
/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cptvf_algs.h | 175 int num_queues, int num_devices);
|