Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/
Ddpt_i2o.c113 static int hba_count = 0; variable
208 return hba_count-1; in adpt_detect()
297 if (hba_count && register_chrdev(DPTI_I2O_MAJOR, DPT_DRIVER, &adpt_fops)) { in adpt_detect()
301 return hba_count; in adpt_detect()
1024 pHba->unit = hba_count; in adpt_install_hba()
1025 sprintf(pHba->name, "dpti%d", hba_count); in adpt_install_hba()
1026 hba_count++; in adpt_install_hba()
1057 hba_count-1, base_addr_virt, in adpt_install_hba()
1062 hba_count-1, pDev->irq, in adpt_install_hba()
1106 hba_count--; in adpt_i2o_delete_hba()
[all …]
Dmegaraid.c89 static int hba_count; variable
3032 if( put_user(hba_count, (u32 __user *)uioc.uioc_uaddr) ) in megadev_ioctl()
3040 return hba_count; in megadev_ioctl()
3047 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl()
3061 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl()
3108 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl()
4170 if (hba_count >= MAX_CONTROLLERS) in megaraid_probe_one()
4371 mega_hbas[hba_count].is_bios_enabled = 1; in megaraid_probe_one()
4372 mega_hbas[hba_count].hostdata_addr = adapter; in megaraid_probe_one()
4426 hba_soft_state[hba_count] = adapter; in megaraid_probe_one()
[all …]