Lines Matching refs:MAX_HDRIVES
1927 if (hdrive >= MAX_HDRIVES) in gdth_analyse_hdrive()
2054 (b == ha->virt_bus && t < MAX_HDRIVES && ha->hdr[t].lock)) in gdth_next()
2146 } else if (t >= MAX_HDRIVES || !ha->hdr[t].present || l != 0) { in gdth_next()
3905 (b == ha->virt_bus && t < MAX_HDRIVES && ha->hdr[t].lock)) { in gdth_timed_out()
3938 for (i = 0; i < MAX_HDRIVES; ++i) { in gdth_eh_bus_reset()
4105 for (i = 0; i < ldrv.drive_cnt && i < MAX_HDRIVES; ++i) { in ioc_lockdrv()
4107 if (j >= MAX_HDRIVES || !ha->hdr[j].present) in ioc_lockdrv()
4132 res.number >= MAX_HDRIVES) in ioc_resetdrv()
4306 for (i = 0; i < MAX_HDRIVES; ++i) { in ioc_hdrlist()
4380 for (; i < hdr_cnt && i < MAX_HDRIVES; ++i) { in ioc_rescan()
4638 for (i = 0; i < MAX_HDRIVES; ++i) { in gdth_flush()
4761 ha->tid_cnt = MAX_HDRIVES; in gdth_isa_probe_one()
4892 ha->tid_cnt = MAX_HDRIVES; in gdth_eisa_probe_one()
5020 ha->tid_cnt = pdev->device >= 0x200 ? MAXID : MAX_HDRIVES; in gdth_pci_probe_one()