Lines Matching refs:bus_cnt

2027         ha->bus_cnt = iocr->hdr.chan_count;  in GDTH_INITFUNC()
2028 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in GDTH_INITFUNC()
2055 ha->bus_cnt = (unchar)bus_no; in GDTH_INITFUNC()
2057 TRACE2(("gdth_search_drives() %d channels\n",ha->bus_cnt)); in GDTH_INITFUNC()
2100 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in GDTH_INITFUNC()
2105 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in GDTH_INITFUNC()
2110 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in GDTH_INITFUNC()
2227 if (reserve_list[i] == hanum && reserve_list[i+1] < ha->bus_cnt && in GDTH_INITFUNC()
2484 if (b == ha->bus_cnt && t == ha->tid_cnt-1) { in gdth_next()
4616 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in GDTH_INITFUNC()
4617 hdr_channel = ha->bus_cnt; in GDTH_INITFUNC()
4630 shp->max_channel = virt_ctr ? 0 : ha->bus_cnt; in GDTH_INITFUNC()
4634 for (b = 1; b < ha->bus_cnt + 1; ++b) { in GDTH_INITFUNC()
4769 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in GDTH_INITFUNC()
4770 hdr_channel = ha->bus_cnt; in GDTH_INITFUNC()
4783 shp->max_channel = virt_ctr ? 0 : ha->bus_cnt; in GDTH_INITFUNC()
4787 for (b = 1; b < ha->bus_cnt + 1; ++b) { in GDTH_INITFUNC()
4888 if (hdr_channel < 0 || hdr_channel > ha->bus_cnt) in GDTH_INITFUNC()
4889 hdr_channel = ha->bus_cnt; in GDTH_INITFUNC()
4952 shp->max_channel = virt_ctr ? 0 : ha->bus_cnt; in GDTH_INITFUNC()
4956 for (b = 1; b < ha->bus_cnt + 1; ++b) { in GDTH_INITFUNC()
5352 gdth_wait_completion(ldrv.ionode, ha->bus_cnt, j); in ioc_lockdrv()
5353 gdth_stop_timeout(ldrv.ionode, ha->bus_cnt, j); in ioc_lockdrv()
5358 gdth_start_timeout(ldrv.ionode, ha->bus_cnt, j); in ioc_lockdrv()
5958 if (i < ha->bus_cnt) { in gdth_ioctl()