/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()
|
/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 | 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()
|
/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 | 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
|
/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 259 ndev->idx = num_devices++; in nitrox_add_to_devlist() 275 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() 1785 emc->num_devices = 2; in tegra210_emc_detect() 1787 emc->num_devices = 1; in tegra210_emc_detect()
|
D | tegra210-emc.h | 907 unsigned int num_devices; member
|
/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.h | 185 int num_queues, int num_devices);
|
D | otx_cptvf_algs.c | 1651 int num_queues, int num_devices) in otx_cpt_crypto_init() argument 1670 if (atomic_read(&se_devices.count) == num_devices && in otx_cpt_crypto_init()
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_nvram.h | 66 u_char num_devices; /* 0x10 */ member
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.h | 191 uint32_t num_devices; /* Number of H-NUMA nodes */ member
|
D | kfd_topology.c | 870 sys_props.num_devices++; in kfd_topology_update_device_list() 1058 atomic_set(&topology_crat_proximity_domain, sys_props.num_devices-1); in kfd_topology_init() 1441 sys_props.num_devices--; in kfd_topology_remove_device()
|
/drivers/md/ |
D | dm-table.c | 1635 unsigned *num_devices = data; in count_device() local 1637 (*num_devices)++; in count_device() 1651 unsigned i, num_devices; in dm_table_has_no_data_devices() local 1659 num_devices = 0; in dm_table_has_no_data_devices() 1660 ti->type->iterate_devices(ti, count_device, &num_devices); in dm_table_has_no_data_devices() 1661 if (num_devices) in dm_table_has_no_data_devices()
|
/drivers/block/zram/ |
D | zram_drv.c | 48 static unsigned int num_devices = 1; variable 2141 while (num_devices != 0) { in zram_init() 2147 num_devices--; in zram_init() 2165 module_param(num_devices, uint, 0); 2166 MODULE_PARM_DESC(num_devices, "Number of pre-created zram devices");
|
/drivers/spi/ |
D | spi-altera.c | 332 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/i2c/busses/ |
D | i2c-ocores.c | 736 for (i = 0; i < pdata->num_devices; i++) in ocores_i2c_probe()
|