Searched refs:max_devices (Results 1 – 13 of 13) sorted by relevance
/openbmc/qemu/hw/scsi/ |
H A D | mptsas.c | 278 if (target >= s->max_devices) { in mptsas_scsi_device_find() 533 if (req->TargetID > s->max_devices) { in mptsas_process_scsi_task_mgmt() 573 s->max_devices = req->MaxDevices ? req->MaxDevices : 256; in mptsas_process_ioc_init() 585 reply.MaxDevices = s->max_devices; in mptsas_process_ioc_init() 622 reply.MaxDevices = s->max_devices; in mptsas_process_ioc_facts() 957 s->max_devices = MPTSAS_NUM_PORTS; in mptsas_hard_reset() 1323 s->max_devices = MPTSAS_NUM_PORTS; in mptsas_scsi_realize() 1405 VMSTATE_UINT16(max_devices, MPTSASState),
|
H A D | mptsas.h | 77 uint16_t max_devices; member
|
/openbmc/linux/drivers/scsi/ |
H A D | hptiop.h | 187 __le32 max_devices; member 307 u32 max_devices; member
|
H A D | hptiop.c | 466 config->max_devices = info->max_devices; in iop_get_config_mvfrey() 1026 (scp->device->id > hba->max_devices) || in hptiop_queuecommand_lck() 1027 ((scp->device->id == (hba->max_devices-1)) && scp->device->lun)) { in hptiop_queuecommand_lck() 1366 hba->max_devices = le32_to_cpu(iop_config.max_devices); in hptiop_probe() 1391 host->max_id = le32_to_cpu(iop_config.max_devices); in hptiop_probe()
|
/openbmc/linux/include/linux/crush/ |
H A D | crush.h | 245 __s32 max_devices; member
|
/openbmc/linux/net/ceph/crush/ |
H A D | mapper.c | 519 if (item >= map->max_devices) { in crush_choose_firstn() 730 if (item >= map->max_devices) { in crush_choose_indep() 945 curstep->arg1 < map->max_devices) || in crush_do_rule()
|
/openbmc/linux/drivers/pci/switch/ |
H A D | switchtec.c | 24 static int max_devices = 16; variable 25 module_param(max_devices, int, 0644); 26 MODULE_PARM_DESC(max_devices, "max number of switchtec device instances"); 1875 rc = alloc_chrdev_region(&switchtec_devt, 0, max_devices, in switchtec_init() 1898 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_init() 1908 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_exit()
|
/openbmc/linux/include/sound/ |
H A D | hda_codec.h | 364 u8 *dev_list, int max_devices);
|
/openbmc/linux/drivers/mmc/core/ |
H A D | block.c | 92 static int max_devices; variable 2472 devidx = ida_simple_get(&mmc_blk_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_req() 2724 devidx = ida_simple_get(&mmc_rpmb_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_rpmb_part() 3158 max_devices = min(MAX_DEVICES, (1 << MINORBITS) / perdev_minors); in mmc_blk_init()
|
/openbmc/linux/fs/f2fs/ |
H A D | super.c | 4174 unsigned int max_devices = MAX_DEVICES; in f2fs_scan_devices() local 4183 max_devices = 1; in f2fs_scan_devices() 4191 array_size(max_devices, in f2fs_scan_devices() 4200 for (i = 0; i < max_devices; i++) { in f2fs_scan_devices() 4206 if (max_devices > 1) { in f2fs_scan_devices() 4246 if (max_devices == 1) in f2fs_scan_devices()
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 225 static DEVICE_ATTR(max_devices, S_IRUGO, pm8001_ctl_max_devices_show, NULL);
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_codec.c | 327 u8 *dev_list, int max_devices) in snd_hda_get_devices() argument 337 dev_len = dev_len < max_devices ? dev_len : max_devices; in snd_hda_get_devices()
|
/openbmc/linux/net/ceph/ |
H A D | osdmap.c | 465 c->max_devices = ceph_decode_32(p); in crush_decode()
|