Lines Matching refs:bus_cnt
1682 ha->bus_cnt = iocr->hdr.chan_count; in gdth_search_drives()
1683 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1710 ha->bus_cnt = (u8)bus_no; in gdth_search_drives()
1712 TRACE2(("gdth_search_drives() %d channels\n",ha->bus_cnt)); in gdth_search_drives()
1755 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1760 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1765 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1882 if (reserve_list[i] == ha->hanum && reserve_list[i+1] < ha->bus_cnt && in gdth_search_drives()
2106 if (b == ha->bus_cnt && t == ha->tid_cnt-1) { in gdth_next()
4123 gdth_wait_completion(ha, ha->bus_cnt, j); in ioc_lockdrv()
4569 if (i < ha->bus_cnt) { in gdth_ioctl()
4783 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in gdth_isa_probe_one()
4784 hdr_channel = ha->bus_cnt; in gdth_isa_probe_one()
4792 shp->max_channel = ha->bus_cnt; in gdth_isa_probe_one()
4914 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in gdth_eisa_probe_one()
4915 hdr_channel = ha->bus_cnt; in gdth_eisa_probe_one()
4923 shp->max_channel = ha->bus_cnt; in gdth_eisa_probe_one()
5043 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in gdth_pci_probe_one()
5044 hdr_channel = ha->bus_cnt; in gdth_pci_probe_one()
5068 shp->max_channel = ha->bus_cnt; in gdth_pci_probe_one()