/kernel/linux/linux-5.10/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 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()
|
/kernel/linux/linux-5.10/drivers/crypto/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() 253 num_devices--; in adf_devmgr_rm_dev() 368 *num = num_devices - adf_get_num_dettached_vfs(); in adf_devmgr_get_num_dev()
|
D | adf_ctl_drv.c | 333 u32 num_devices = 0; in adf_ctl_ioctl_get_num_devices() local 335 adf_devmgr_get_num_dev(&num_devices); in adf_ctl_ioctl_get_num_devices() 336 if (copy_to_user((void __user *)arg, &num_devices, sizeof(num_devices))) in adf_ctl_ioctl_get_num_devices()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
D | ccwgroup.c | 320 int num_devices, const char *buf) in ccwgroup_create_dev() argument 326 if (num_devices < 1) in ccwgroup_create_dev() 329 gdev = kzalloc(struct_size(gdev, cdev, num_devices), GFP_KERNEL); in ccwgroup_create_dev() 337 gdev->count = num_devices; in ccwgroup_create_dev() 343 for (i = 0; i < num_devices && buf; i++) { in ccwgroup_create_dev() 370 if (i < num_devices) { in ccwgroup_create_dev() 375 if (i == num_devices && buf && strlen(buf) > 0) { in ccwgroup_create_dev() 406 for (i = 0; i < num_devices; i++) in ccwgroup_create_dev()
|
/kernel/linux/linux-5.10/drivers/tee/optee/ |
D | device.c | 98 u32 shm_size = 0, idx, num_devices = 0; in __optee_enumerate_devices() local 143 num_devices = shm_size / sizeof(uuid_t); in __optee_enumerate_devices() 145 for (idx = 0; idx < num_devices; idx++) { in __optee_enumerate_devices()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | msi.c | 222 int num_devices; member 241 counts->num_devices++; in count_non_bridge_devices() 300 if (counts.num_devices == 0) { in msi_quota_for_device() 306 counts.quota = total / counts.num_devices; in msi_quota_for_device() 317 counts.spare += total % counts.num_devices; in msi_quota_for_device()
|
/kernel/linux/linux-5.10/drivers/siox/ |
D | siox-core.c | 746 while (smaster->num_devices) { in siox_master_unregister() 752 smaster->num_devices--; in siox_master_unregister() 792 smaster->busno, smaster->num_devices); in siox_device_add() 817 smaster->num_devices++; in siox_device_add() 855 if (!smaster->num_devices) { in siox_device_remove() 862 smaster->num_devices--; in siox_device_remove() 867 if (!smaster->num_devices) in siox_device_remove()
|
D | siox.h | 25 unsigned int num_devices; member
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/include/linux/spi/ |
D | xilinx_spi.h | 17 u8 num_devices; member
|
D | altera.h | 25 u16 num_devices; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/zram/ |
D | zram_lib.sh | 97 modprobe zram num_devices=$dev_num 111 modprobe zram num_devices=$dev_num
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | pktcdvd.h | 57 __u32 num_devices; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | pktcdvd.h | 101 __u32 num_devices; /* out: Largest device index + 1 */ member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | pktcdvd.h | 49 __u32 num_devices; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxfw/ |
D | mlxfw_mfa2_format.h | 25 __be16 num_devices; member
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | ccwgroup.h | 56 int num_devices, const char *buf);
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | timberdale.c | 69 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 77 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 730 timberdale_xspi_platform_data.num_devices = in timb_probe() 736 timberdale_xspi_platform_data.num_devices = in timb_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
D | nitrox_main.c | 36 static unsigned int num_devices; variable 259 ndev->idx = num_devices++; in nitrox_add_to_devlist() 275 num_devices--; in nitrox_remove_from_devlist()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | volumes.c | 626 fs_devices->num_devices--; in btrfs_free_stale_devices() 634 if (fs_devices->num_devices == 0) { in btrfs_free_stale_devices() 905 fs_devices->num_devices++; in device_list_add() 1070 fs_devices->num_devices++; in clone_fs_devices() 1115 fs_devices->num_devices--; in __btrfs_free_extra_devids() 1259 fs_devices->num_devices--; in open_fs_devices() 1972 u64 num_devices) in btrfs_check_raid_min_devices() argument 1990 if (num_devices < btrfs_raid_array[i].devs_min) { in btrfs_check_raid_min_devices() 2046 u64 num_devices = fs_info->fs_devices->num_devices; in btrfs_num_devices() local 2050 ASSERT(num_devices > 1); in btrfs_num_devices() [all …]
|
/kernel/linux/linux-5.10/drivers/memory/tegra/ |
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()
|
/kernel/linux/linux-5.10/Documentation/i2c/busses/ |
D | i2c-ocores.rst | 60 .num_devices = ARRAY_SIZE(ocores_i2c_board_info), /* table size */
|
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
D | sym_nvram.h | 66 u_char num_devices; /* 0x10 */ member
|