Home
last modified time | relevance | path

Searched refs:max_devs (Results 1 – 15 of 15) sorted by relevance

/openbmc/qemu/hw/remote/
H A Dremote-obj.c32 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 Dblk_legacy.c60 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 Dsandbox.c236 .max_devs = CONFIG_HOST_MAX_DEVICES,
H A Dide.c1241 .max_devs = CONFIG_SYS_IDE_MAXDEVICE,
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c475 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 Dccp-dev.c40 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 Dblockdev.c112 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 Dblockdev.h52 void override_max_devs(BlockInterfaceType type, int max_devs);
/openbmc/u-boot/drivers/ata/
H A Dsata.c150 .max_devs = CONFIG_SYS_SATA_MAX_DEVICE,
/openbmc/u-boot/drivers/mmc/
H A Dmmc_legacy.c253 .max_devs = -1,
/openbmc/u-boot/include/
H A Dblk.h479 int max_devs; member
/openbmc/linux/drivers/pci/
H A Dp2pdma.c769 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 Dscsi.c704 .max_devs = CONFIG_SYS_SCSI_MAX_DEVICE,
/openbmc/u-boot/common/
H A Dusb_storage.c1558 .max_devs = USB_MAX_STOR_DEV,
/openbmc/linux/drivers/scsi/
H A Dipr.c206 module_param_named(max_devs, ipr_max_devs, int, 0);
207 MODULE_PARM_DESC(max_devs, "Specify the maximum number of physical devices. "