/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() 254 num_devices--; in adf_devmgr_rm_dev() 369 *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()
|
/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()
|
/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()
|
/drivers/tee/optee/ |
D | device.c | 111 u32 shm_size = 0, idx, num_devices = 0; in __optee_enumerate_devices() local 156 num_devices = shm_size / sizeof(uuid_t); in __optee_enumerate_devices() 158 for (idx = 0; idx < num_devices; idx++) { in __optee_enumerate_devices()
|
/drivers/siox/ |
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()
|
D | siox.h | 25 unsigned int num_devices; member
|
/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()
|
D | tqmx86.c | 85 .num_devices = ARRAY_SIZE(tqmx86_i2c_devices),
|
/drivers/crypto/cavium/nitrox/ |
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()
|
/drivers/net/ethernet/mellanox/mlxfw/ |
D | mlxfw_mfa2_format.h | 25 __be16 num_devices; member
|
D | mlxfw_mfa2.c | 304 mfa2_file->dev_count = be16_to_cpu(pd->num_devices); in mlxfw_mfa2_file_init()
|
/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()
|
D | tegra210-emc-core.c | 597 for (i = 0; i < emc->num_devices; i++) { in tegra210_emc_get_temperature() 1781 emc->num_devices = 2; in tegra210_emc_detect() 1783 emc->num_devices = 1; in tegra210_emc_detect()
|
/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_algs.h | 175 int num_queues, int num_devices);
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_nvram.h | 66 u_char num_devices; /* 0x10 */ member
|
/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.h | 185 int num_queues, int num_devices);
|
/drivers/md/ |
D | dm-table.c | 1605 unsigned *num_devices = data; in count_device() local 1607 (*num_devices)++; in count_device() 1621 unsigned i, num_devices; in dm_table_has_no_data_devices() local 1629 num_devices = 0; in dm_table_has_no_data_devices() 1630 ti->type->iterate_devices(ti, count_device, &num_devices); in dm_table_has_no_data_devices() 1631 if (num_devices) in dm_table_has_no_data_devices()
|
/drivers/spi/ |
D | spi-altera-platform.c | 126 for (i = 0; i < pdata->num_devices; i++) { in altera_spi_probe()
|
D | spi-xilinx.c | 497 for (i = 0; i < pdata->num_devices; i++) in xilinx_spi_probe()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.h | 193 uint32_t num_devices; /* Number of H-NUMA nodes */ member
|
D | kfd_topology.c | 874 sys_props.num_devices++; in kfd_topology_update_device_list() 1062 atomic_set(&topology_crat_proximity_domain, sys_props.num_devices-1); in kfd_topology_init() 1497 sys_props.num_devices--; in kfd_topology_remove_device()
|
/drivers/scsi/mpi3mr/mpi/ |
D | mpi30_image.h | 136 u8 num_devices; member
|
/drivers/block/zram/ |
D | zram_drv.c | 48 static unsigned int num_devices = 1; variable 2109 while (num_devices != 0) { in zram_init() 2115 num_devices--; in zram_init() 2133 module_param(num_devices, uint, 0); 2134 MODULE_PARM_DESC(num_devices, "Number of pre-created zram devices");
|
/drivers/fpga/ |
D | dfl-n3000-nios.c | 434 pdata.num_devices = 1; in create_altera_spi_controller()
|