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