Searched refs:num_devices (Results 1 – 15 of 15) sorted by relevance
/drivers/crypto/qat/qat_common/ |
D | adf_dev_mgr.c | 55 static uint32_t num_devices; variable 120 num_devices--; in adf_clean_vf_map() 173 if (num_devices == ADF_MAX_DEVICES) { in adf_devmgr_add_dev() 197 accel_dev->accel_id = num_devices++; in adf_devmgr_add_dev() 240 accel_dev->accel_id = num_devices++; in adf_devmgr_add_dev() 274 num_devices--; in adf_devmgr_rm_dev() 389 *num = num_devices - adf_get_num_dettached_vfs(); in adf_devmgr_get_num_dev()
|
D | adf_ctl_drv.c | 378 uint32_t num_devices = 0; in adf_ctl_ioctl_get_num_devices() local 380 adf_devmgr_get_num_dev(&num_devices); in adf_ctl_ioctl_get_num_devices() 381 if (copy_to_user((void __user *)arg, &num_devices, sizeof(num_devices))) in adf_ctl_ioctl_get_num_devices()
|
/drivers/s390/cio/ |
D | ccwgroup.c | 319 int num_devices, const char *buf) in ccwgroup_create_dev() argument 325 gdev = kzalloc(sizeof(*gdev) + num_devices * sizeof(gdev->cdev[0]), in ccwgroup_create_dev() 334 gdev->count = num_devices; in ccwgroup_create_dev() 340 for (i = 0; i < num_devices && buf; i++) { in ccwgroup_create_dev() 367 if (i < num_devices) { in ccwgroup_create_dev() 372 if (i == num_devices && buf && strlen(buf) > 0) { in ccwgroup_create_dev() 397 for (i = 0; i < num_devices; i++) in ccwgroup_create_dev()
|
/drivers/spi/ |
D | spi-gpio.c | 412 int num_devices; in spi_gpio_probe() local 427 num_devices = 1; in spi_gpio_probe() 429 num_devices = SPI_N_CHIPSEL; in spi_gpio_probe() 436 (sizeof(unsigned long) * num_devices)); in spi_gpio_probe() 451 master->num_chipselect = num_devices; in spi_gpio_probe()
|
D | spi-xilinx.c | 490 for (i = 0; i < pdata->num_devices; i++) in xilinx_spi_probe()
|
/drivers/mfd/ |
D | timberdale.c | 81 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 89 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 743 timberdale_xspi_platform_data.num_devices = in timb_probe() 749 timberdale_xspi_platform_data.num_devices = in timb_probe()
|
/drivers/md/ |
D | dm-table.c | 1257 unsigned *num_devices = data; in count_device() local 1259 (*num_devices)++; in count_device() 1273 unsigned i = 0, num_devices = 0; in dm_table_has_no_data_devices() local 1281 ti->type->iterate_devices(ti, count_device, &num_devices); in dm_table_has_no_data_devices() 1282 if (num_devices) in dm_table_has_no_data_devices()
|
D | dm-raid.c | 760 __le32 num_devices; /* Number of devices in this array. (Max 64) */ member 827 sb->num_devices = cpu_to_le32(mddev->raid_disks); in super_sync() 944 (le32_to_cpu(sb->num_devices) != mddev->raid_disks)) { in super_init_validation()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.h | 156 uint32_t num_devices; /* Number of H-NUMA nodes */ member
|
D | kfd_topology.c | 398 sys_props.num_devices--; in kfd_release_topology_device() 429 sys_props.num_devices++; in kfd_create_topology_device()
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_nvram.h | 79 u_char num_devices; /* 0x10 */ member
|
/drivers/block/zram/ |
D | zram_drv.c | 44 static unsigned int num_devices = 1; variable 1418 while (num_devices != 0) { in zram_init() 1424 num_devices--; in zram_init() 1442 module_param(num_devices, uint, 0); 1443 MODULE_PARM_DESC(num_devices, "Number of pre-created zram devices");
|
/drivers/i2c/busses/ |
D | i2c-ocores.c | 505 for (i = 0; i < pdata->num_devices; i++) in ocores_i2c_probe()
|
D | i2c-xiic.c | 788 for (i = 0; i < pdata->num_devices; i++) in xiic_i2c_probe()
|
/drivers/block/ |
D | pktcdvd.c | 2879 ctrl_cmd->num_devices = MAX_WRITERS; in pkt_get_status()
|