• Home
  • Raw
  • Download

Lines Matching refs:bus_no

1165     u32 bus_no, drv_cnt, drv_no, j;  in gdth_search_drives()  local
1226 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1227 if (iocr->list[bus_no].proc_id < MAXID) in gdth_search_drives()
1228 ha->bus_id[bus_no] = iocr->list[bus_no].proc_id; in gdth_search_drives()
1230 ha->bus_id[bus_no] = 0xff; in gdth_search_drives()
1235 for (bus_no = 0; bus_no < MAXBUS; ++bus_no) { in gdth_search_drives()
1236 chn->channel_no = bus_no; in gdth_search_drives()
1241 if (bus_no == 0) { in gdth_search_drives()
1249 ha->bus_id[bus_no] = chn->siop_id; in gdth_search_drives()
1251 ha->bus_id[bus_no] = 0xff; in gdth_search_drives()
1253 ha->bus_cnt = (u8)bus_no; in gdth_search_drives()
1298 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1299 ha->raw[bus_no].address = ioc->list[bus_no].address; in gdth_search_drives()
1300 ha->raw[bus_no].local_no = ioc->list[bus_no].local_no; in gdth_search_drives()
1303 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1304 ha->raw[bus_no].address = IO_CHANNEL; in gdth_search_drives()
1305 ha->raw[bus_no].local_no = bus_no; in gdth_search_drives()
1308 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) { in gdth_search_drives()
1310 chn->channel_no = ha->raw[bus_no].local_no; in gdth_search_drives()
1313 ha->raw[bus_no].address | INVALID_CHANNEL, in gdth_search_drives()
1315 ha->raw[bus_no].pdev_cnt = chn->drive_cnt; in gdth_search_drives()
1317 bus_no,chn->drive_cnt)); in gdth_search_drives()
1319 if (ha->raw[bus_no].pdev_cnt > 0) { in gdth_search_drives()
1321 drl->sc_no = ha->raw[bus_no].local_no; in gdth_search_drives()
1322 drl->sc_cnt = ha->raw[bus_no].pdev_cnt; in gdth_search_drives()
1325 ha->raw[bus_no].address | INVALID_CHANNEL, in gdth_search_drives()
1327 for (j = 0; j < ha->raw[bus_no].pdev_cnt; ++j) in gdth_search_drives()
1328 ha->raw[bus_no].id_list[j] = drl->sc_list[j]; in gdth_search_drives()
1330 ha->raw[bus_no].pdev_cnt = 0; in gdth_search_drives()