Home
last modified time | relevance | path

Searched refs:max_devices (Results 1 – 6 of 6) sorted by relevance

/drivers/scsi/
Dhptiop.h187 __le32 max_devices; member
307 u32 max_devices; member
Dhptiop.c466 config->max_devices = info->max_devices; in iop_get_config_mvfrey()
1031 (scp->device->id > hba->max_devices) || in hptiop_queuecommand_lck()
1032 ((scp->device->id == (hba->max_devices-1)) && scp->device->lun)) { in hptiop_queuecommand_lck()
1371 hba->max_devices = le32_to_cpu(iop_config.max_devices); in hptiop_probe()
1396 host->max_id = le32_to_cpu(iop_config.max_devices); in hptiop_probe()
/drivers/pci/switch/
Dswitchtec.c24 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");
1745 rc = alloc_chrdev_region(&switchtec_devt, 0, max_devices, in switchtec_init()
1768 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_init()
1778 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_exit()
/drivers/mmc/core/
Dblock.c94 static int max_devices; variable
2348 devidx = ida_simple_get(&mmc_blk_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_req()
2607 devidx = ida_simple_get(&mmc_rpmb_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_rpmb_part()
3124 max_devices = min(MAX_DEVICES, (1 << MINORBITS) / perdev_minors); in mmc_blk_init()
/drivers/usb/misc/
Dftdi-elan.c2577 int max_devices = 0; in ftdi_elan_setupOHCI() local
2617 if (devices > max_devices) { in ftdi_elan_setupOHCI()
2618 max_devices = devices; in ftdi_elan_setupOHCI()
/drivers/scsi/pm8001/
Dpm8001_ctl.c226 static DEVICE_ATTR(max_devices, S_IRUGO, pm8001_ctl_max_devices_show, NULL);