Searched refs:max_devs (Results 1 – 15 of 15) sorted by relevance
/openbmc/qemu/hw/remote/ |
H A D | remote-obj.c | 32 unsigned int max_devs; member 133 if (k->nr_devs >= k->max_devs) { in remote_object_init() 134 error_report("Reached maximum number of devices: %u", k->max_devs); in remote_object_init() 175 k->max_devs = 1; in remote_object_class_init()
|
/openbmc/u-boot/drivers/block/ |
H A D | blk_legacy.c | 60 if (devnum < 0 || devnum >= drv->max_devs) in get_desc() 82 for (ok = 0, devnum = 0; devnum < drv->max_devs; ++devnum) { in blk_list_part() 125 for (i = 0; i < drv->max_devs; ++i) { in blk_list_devices() 161 if (devnum >= drv->max_devs) { in blk_show_device()
|
H A D | sandbox.c | 236 .max_devs = CONFIG_HOST_MAX_DEVICES,
|
H A D | ide.c | 1241 .max_devs = CONFIG_SYS_IDE_MAXDEVICE,
|
/openbmc/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.c | 475 static int max_devs = 0; variable 476 module_param_named(max_devs, max_devs, int, S_IRUGO); 477 MODULE_PARM_DESC(max_devs, "\n" 510 if (max_devs <= asd_ha->hw_prof.max_ddbs || max_devs > 0xFFFF) { in asd_extend_devctx() 511 max_devs = asd_ha->hw_prof.max_ddbs; in asd_extend_devctx() 515 size = (max_devs - asd_ha->hw_prof.max_ddbs + 1) * ASD_DDB_SIZE; in asd_extend_devctx() 520 max_devs); in asd_extend_devctx() 521 max_devs = asd_ha->hw_prof.max_ddbs; in asd_extend_devctx() 533 asd_ha->hw_prof.max_ddbs = max_devs; in asd_extend_devctx()
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-dev.c | 40 static unsigned int max_devs = MAX_CCPS; variable 41 module_param(max_devs, uint, 0444); 42 MODULE_PARM_DESC(max_devs, "Maximum number of CCPs to enable (default: all; 0 disables all CCPs)"); 610 if (atomic_inc_return(&dev_count) > max_devs) in ccp_dev_init()
|
/openbmc/qemu/ |
H A D | blockdev.c | 112 void override_max_devs(BlockInterfaceType type, int max_devs) in override_max_devs() argument 119 if (max_devs <= 0) { in override_max_devs() 133 if_max_devs[type] = max_devs; in override_max_devs() 189 int max_devs = if_max_devs[type]; in drive_index_to_bus_id() local 190 return max_devs ? index / max_devs : 0; in drive_index_to_bus_id() 195 int max_devs = if_max_devs[type]; in drive_index_to_unit_id() local 196 return max_devs ? index % max_devs : index; in drive_index_to_unit_id() 785 int max_devs, bus_id, unit_id, index; in drive_new() local 912 max_devs = if_max_devs[type]; in drive_new() 927 if (max_devs && unit_id >= max_devs) { in drive_new() [all …]
|
/openbmc/qemu/include/sysemu/ |
H A D | blockdev.h | 52 void override_max_devs(BlockInterfaceType type, int max_devs);
|
/openbmc/u-boot/drivers/ata/ |
H A D | sata.c | 150 .max_devs = CONFIG_SYS_SATA_MAX_DEVICE,
|
/openbmc/u-boot/drivers/mmc/ |
H A D | mmc_legacy.c | 253 .max_devs = -1,
|
/openbmc/u-boot/include/ |
H A D | blk.h | 479 int max_devs; member
|
/openbmc/linux/drivers/pci/ |
H A D | p2pdma.c | 769 const int max_devs = PAGE_SIZE / sizeof(*closest_pdevs); in pci_p2pmem_find_many() local 785 if (distance == closest_distance && dev_cnt >= max_devs) in pci_p2pmem_find_many()
|
/openbmc/u-boot/drivers/scsi/ |
H A D | scsi.c | 704 .max_devs = CONFIG_SYS_SCSI_MAX_DEVICE,
|
/openbmc/u-boot/common/ |
H A D | usb_storage.c | 1558 .max_devs = USB_MAX_STOR_DEV,
|
/openbmc/linux/drivers/scsi/ |
H A D | ipr.c | 206 module_param_named(max_devs, ipr_max_devs, int, 0); 207 MODULE_PARM_DESC(max_devs, "Specify the maximum number of physical devices. "
|