Lines Matching refs:bus_cnt
1674 ha->bus_cnt = iocr->hdr.chan_count; in gdth_search_drives()
1675 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1702 ha->bus_cnt = (u8)bus_no; in gdth_search_drives()
1704 TRACE2(("gdth_search_drives() %d channels\n",ha->bus_cnt)); in gdth_search_drives()
1747 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1752 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1757 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1874 if (reserve_list[i] == ha->hanum && reserve_list[i+1] < ha->bus_cnt && in gdth_search_drives()
2098 if (b == ha->bus_cnt && t == ha->tid_cnt-1) { in gdth_next()
4115 gdth_wait_completion(ha, ha->bus_cnt, j); in ioc_lockdrv()
4561 if (i < ha->bus_cnt) { in gdth_ioctl()
4776 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in gdth_isa_probe_one()
4777 hdr_channel = ha->bus_cnt; in gdth_isa_probe_one()
4785 shp->max_channel = ha->bus_cnt; in gdth_isa_probe_one()
4907 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in gdth_eisa_probe_one()
4908 hdr_channel = ha->bus_cnt; in gdth_eisa_probe_one()
4916 shp->max_channel = ha->bus_cnt; in gdth_eisa_probe_one()
5035 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in gdth_pci_probe_one()
5036 hdr_channel = ha->bus_cnt; in gdth_pci_probe_one()
5060 shp->max_channel = ha->bus_cnt; in gdth_pci_probe_one()