Home
last modified time | relevance | path

Searched refs:hba_count (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/scsi/
Ddpt_i2o.c110 static int hba_count = 0; variable
205 return hba_count-1; in adpt_detect()
294 if (hba_count && register_chrdev(DPTI_I2O_MAJOR, DPT_DRIVER, &adpt_fops)) { in adpt_detect()
298 return hba_count; in adpt_detect()
979 pHba->unit = hba_count; in adpt_install_hba()
980 sprintf(pHba->name, "dpti%d", hba_count); in adpt_install_hba()
981 hba_count++; in adpt_install_hba()
1012 hba_count-1, base_addr_virt, in adpt_install_hba()
1017 hba_count-1, pDev->irq, in adpt_install_hba()
1061 hba_count--; in adpt_i2o_delete_hba()
[all …]
Dmegaraid.c84 static int hba_count; variable
3027 if( put_user(hba_count, (u32 __user *)uioc.uioc_uaddr) ) in megadev_ioctl()
3035 return hba_count; in megadev_ioctl()
3042 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl()
3056 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl()
3103 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl()
4164 if (hba_count >= MAX_CONTROLLERS) in megaraid_probe_one()
4365 mega_hbas[hba_count].is_bios_enabled = 1; in megaraid_probe_one()
4366 mega_hbas[hba_count].hostdata_addr = adapter; in megaraid_probe_one()
4420 hba_soft_state[hba_count] = adapter; in megaraid_probe_one()
[all …]