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