Lines Matching refs:bus_cnt
1675 ha->bus_cnt = iocr->hdr.chan_count; in gdth_search_drives()
1676 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1703 ha->bus_cnt = (u8)bus_no; in gdth_search_drives()
1705 TRACE2(("gdth_search_drives() %d channels\n",ha->bus_cnt)); in gdth_search_drives()
1748 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1753 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1758 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1875 if (reserve_list[i] == ha->hanum && reserve_list[i+1] < ha->bus_cnt && in gdth_search_drives()
2099 if (b == ha->bus_cnt && t == ha->tid_cnt-1) { in gdth_next()
4113 gdth_wait_completion(ha, ha->bus_cnt, j); in ioc_lockdrv()
4559 if (i < ha->bus_cnt) { in gdth_ioctl()
4774 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in gdth_isa_probe_one()
4775 hdr_channel = ha->bus_cnt; in gdth_isa_probe_one()
4783 shp->max_channel = ha->bus_cnt; in gdth_isa_probe_one()
4905 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in gdth_eisa_probe_one()
4906 hdr_channel = ha->bus_cnt; in gdth_eisa_probe_one()
4914 shp->max_channel = ha->bus_cnt; in gdth_eisa_probe_one()
5033 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in gdth_pci_probe_one()
5034 hdr_channel = ha->bus_cnt; in gdth_pci_probe_one()
5058 shp->max_channel = ha->bus_cnt; in gdth_pci_probe_one()