/linux-6.12.1/sound/xen/ |
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 scnprintf(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.12.1/drivers/crypto/intel/qat/qat_common/ |
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() 255 num_devices--; in adf_devmgr_rm_dev() 371 *num = num_devices - adf_get_num_dettached_vfs(); in adf_devmgr_get_num_dev()
|
D | adf_ctl_drv.c | 332 u32 num_devices = 0; in adf_ctl_ioctl_get_num_devices() local 334 adf_devmgr_get_num_dev(&num_devices); in adf_ctl_ioctl_get_num_devices() 335 if (copy_to_user((void __user *)arg, &num_devices, sizeof(num_devices))) in adf_ctl_ioctl_get_num_devices()
|
/linux-6.12.1/drivers/crypto/virtio/ |
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.12.1/drivers/s390/cio/ |
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.12.1/drivers/tee/optee/ |
D | device.c | 119 u32 shm_size = 0, idx, num_devices = 0; in __optee_enumerate_devices() local 163 num_devices = shm_size / sizeof(uuid_t); in __optee_enumerate_devices() 165 for (idx = 0; idx < num_devices; idx++) { in __optee_enumerate_devices()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 1760 uint32_t num_devices, in criu_checkpoint_devices() argument 1769 device_buckets = kvzalloc(num_devices * sizeof(*device_buckets), GFP_KERNEL); in criu_checkpoint_devices() 1775 device_priv = kvzalloc(num_devices * sizeof(*device_priv), GFP_KERNEL); in criu_checkpoint_devices() 1781 for (i = 0; i < num_devices; i++) { in criu_checkpoint_devices() 1793 ret = copy_to_user(user_addr, device_buckets, num_devices * sizeof(*device_buckets)); in criu_checkpoint_devices() 1802 num_devices * sizeof(*device_priv)); in criu_checkpoint_devices() 1807 *priv_offset += num_devices * sizeof(*device_priv); in criu_checkpoint_devices() 2012 uint32_t *num_devices, in criu_get_process_object_info() argument 2021 *num_devices = p->n_pdds; in criu_get_process_object_info() 2038 priv_size += *num_devices * sizeof(struct kfd_criu_device_priv_data); in criu_get_process_object_info() [all …]
|
/linux-6.12.1/drivers/siox/ |
D | siox-core.c | 777 while (smaster->num_devices) { in siox_master_unregister() 783 smaster->num_devices--; in siox_master_unregister() 842 smaster->busno, smaster->num_devices); in siox_device_add() 867 smaster->num_devices++; in siox_device_add() 905 if (!smaster->num_devices) { in siox_device_remove() 912 smaster->num_devices--; in siox_device_remove() 917 if (!smaster->num_devices) in siox_device_remove()
|
D | siox.h | 25 unsigned int num_devices; member
|
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | msi.c | 215 int num_devices; member 234 counts->num_devices++; in count_non_bridge_devices() 293 if (counts.num_devices == 0) { in msi_quota_for_device() 299 counts.quota = total / counts.num_devices; in msi_quota_for_device() 310 counts.spare += total % counts.num_devices; in msi_quota_for_device()
|
/linux-6.12.1/include/linux/platform_data/ |
D | i2c-xiic.h | 27 u8 num_devices; member
|
D | i2c-ocores.h | 17 u8 num_devices; /* number of devices in the devices list */ member
|
/linux-6.12.1/include/linux/spi/ |
D | xilinx_spi.h | 19 u8 num_devices; member
|
D | altera.h | 28 u16 num_devices; member
|
/linux-6.12.1/tools/testing/selftests/zram/ |
D | zram_lib.sh | 97 modprobe zram num_devices=$dev_num 111 modprobe zram num_devices=$dev_num
|
/linux-6.12.1/include/uapi/linux/ |
D | pktcdvd.h | 91 __u32 num_devices; /* out: Largest device index + 1 */ member
|
/linux-6.12.1/arch/s390/include/asm/ |
D | ccwgroup.h | 55 int num_devices, const char *buf);
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxfw/ |
D | mlxfw_mfa2_format.h | 25 __be16 num_devices; member
|
/linux-6.12.1/drivers/memory/tegra/ |
D | tegra210-emc-cc-r21021.c | 148 for (d = 0; d < emc->num_devices; d++) { in tegra210_emc_get_clktree_delay() 430 emc_dbg(emc, INFO, "DRAM dev #: %u\n", emc->num_devices); in tegra210_emc_r21021_set_clock() 1023 if (emc->num_devices > 1) { in tegra210_emc_r21021_set_clock() 1037 if (emc->num_devices < 2) in tegra210_emc_r21021_set_clock() 1138 if (emc->num_devices <= 1) in tegra210_emc_r21021_set_clock() 1174 if (emc->num_devices < 2) { in tegra210_emc_r21021_set_clock() 1288 if (emc->num_devices > 1) { in tegra210_emc_r21021_set_clock() 1303 if (emc->num_devices > 1) { in tegra210_emc_r21021_set_clock()
|
/linux-6.12.1/drivers/mfd/ |
D | timberdale.c | 73 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 81 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 734 timberdale_xspi_platform_data.num_devices = in timb_probe() 740 timberdale_xspi_platform_data.num_devices = in timb_probe()
|
/linux-6.12.1/drivers/crypto/cavium/nitrox/ |
D | nitrox_main.c | 35 static unsigned int num_devices; variable 249 ndev->idx = num_devices++; in nitrox_add_to_devlist() 265 num_devices--; in nitrox_remove_from_devlist()
|
/linux-6.12.1/fs/btrfs/ |
D | volumes.c | 550 fs_devices->num_devices--; in btrfs_free_stale_devices() 558 if (fs_devices->num_devices == 0) { in btrfs_free_stale_devices() 837 fs_devices->num_devices++; in device_list_add() 1001 fs_devices->num_devices++; in clone_fs_devices() 1047 fs_devices->num_devices--; in __btrfs_free_extra_devids() 1172 if (fs_devices->num_devices == 1) { in btrfs_close_devices() 1204 fs_devices->num_devices--; in open_fs_devices() 1991 u64 num_devices) in btrfs_check_raid_min_devices() argument 2009 if (num_devices < btrfs_raid_array[i].devs_min) in btrfs_check_raid_min_devices() 2061 u64 num_devices = fs_info->fs_devices->num_devices; in btrfs_num_devices() local [all …]
|
/linux-6.12.1/drivers/iommu/iommufd/ |
D | device.c | 481 unsigned int num_devices; in iommufd_device_do_replace() local 514 num_devices = list_count_nodes(&igroup->device_list); in iommufd_device_do_replace() 519 refcount_add(num_devices, &hwpt->obj.users); in iommufd_device_do_replace() 520 if (num_devices > 1) in iommufd_device_do_replace() 521 WARN_ON(refcount_sub_and_test(num_devices - 1, in iommufd_device_do_replace()
|
/linux-6.12.1/Documentation/i2c/busses/ |
D | i2c-ocores.rst | 60 .num_devices = ARRAY_SIZE(ocores_i2c_board_info), /* table size */
|
/linux-6.12.1/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.h | 185 int num_queues, int num_devices);
|