Home
last modified time | relevance | path

Searched refs:max_devs (Results 1 – 11 of 11) 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/qemu/include/system/
H A Dblockdev.h52 void override_max_devs(BlockInterfaceType type, int max_devs);
/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/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/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,