Searched refs:num_devices (Results 1 – 16 of 16) sorted by relevance
/drivers/s390/cio/ |
D | ccwgroup.c | 312 int num_devices, const char *buf) in ccwgroup_create_dev() argument 318 gdev = kzalloc(sizeof(*gdev) + num_devices * sizeof(gdev->cdev[0]), in ccwgroup_create_dev() 326 gdev->count = num_devices; in ccwgroup_create_dev() 332 for (i = 0; i < num_devices && buf; i++) { in ccwgroup_create_dev() 359 if (i < num_devices) { in ccwgroup_create_dev() 364 if (i == num_devices && strlen(buf) > 0) { in ccwgroup_create_dev() 389 for (i = 0; i < num_devices; i++) in ccwgroup_create_dev()
|
/drivers/block/zram/ |
D | zram_drv.c | 44 static unsigned int num_devices = 1; variable 1231 if (num_devices > max_num_devices) { in zram_init() 1233 num_devices); in zram_init() 1244 zram_devices = kzalloc(num_devices * sizeof(struct zram), GFP_KERNEL); in zram_init() 1250 for (dev_id = 0; dev_id < num_devices; dev_id++) { in zram_init() 1256 pr_info("Created %u device(s)\n", num_devices); in zram_init() 1266 destroy_devices(num_devices); in zram_exit() 1272 module_param(num_devices, uint, 0); 1273 MODULE_PARM_DESC(num_devices, "Number of zram devices");
|
/drivers/mfd/ |
D | timberdale.c | 81 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 89 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 744 timberdale_xspi_platform_data.num_devices = in timb_probe() 750 timberdale_xspi_platform_data.num_devices = in timb_probe()
|
/drivers/md/ |
D | dm-table.c | 1227 unsigned *num_devices = data; in count_device() local 1229 (*num_devices)++; in count_device() 1243 unsigned i = 0, num_devices = 0; in dm_table_has_no_data_devices() local 1251 ti->type->iterate_devices(ti, count_device, &num_devices); in dm_table_has_no_data_devices() 1252 if (num_devices) in dm_table_has_no_data_devices()
|
D | dm-raid.c | 763 __le32 num_devices; /* Number of devices in this array. (Max 64) */ member 831 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/scsi/sym53c8xx_2/ |
D | sym_nvram.h | 79 u_char num_devices; /* 0x10 */ member
|
/drivers/video/omap2/dss/ |
D | sdi.c | 280 for (i = 0; i < pdata->num_devices; ++i) { in sdi_find_dssdev()
|
D | dpi.c | 619 for (i = 0; i < pdata->num_devices; ++i) { in dpi_find_dssdev()
|
D | venc.c | 738 for (i = 0; i < pdata->num_devices; ++i) { in venc_find_dssdev()
|
D | hdmi.c | 966 for (i = 0; i < pdata->num_devices; ++i) { in hdmi_find_dssdev()
|
D | rfbi.c | 961 for (i = 0; i < pdata->num_devices; ++i) { in rfbi_find_dssdev()
|
D | dsi.c | 5379 for (i = 0; i < pdata->num_devices; ++i) { in dsi_find_dssdev()
|
/drivers/i2c/busses/ |
D | i2c-ocores.c | 436 for (i = 0; i < pdata->num_devices; i++) in ocores_i2c_probe()
|
D | i2c-xiic.c | 751 for (i = 0; i < pdata->num_devices; i++) in xiic_i2c_probe()
|
/drivers/spi/ |
D | spi-xilinx.c | 509 for (i = 0; i < pdata->num_devices; i++) in xilinx_spi_probe()
|
/drivers/block/ |
D | pktcdvd.c | 2893 ctrl_cmd->num_devices = MAX_WRITERS; in pkt_get_status()
|