Lines Matching refs:bus_no
1561 u32 bus_no, drv_cnt, drv_no, j;
1682 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) {
1683 if (iocr->list[bus_no].proc_id < MAXID)
1684 ha->bus_id[bus_no] = iocr->list[bus_no].proc_id;
1686 ha->bus_id[bus_no] = 0xff;
1691 for (bus_no = 0; bus_no < MAXBUS; ++bus_no) {
1692 chn->channel_no = bus_no;
1697 if (bus_no == 0) {
1705 ha->bus_id[bus_no] = chn->siop_id;
1707 ha->bus_id[bus_no] = 0xff;
1709 ha->bus_cnt = (u8)bus_no;
1754 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) {
1755 ha->raw[bus_no].address = ioc->list[bus_no].address;
1756 ha->raw[bus_no].local_no = ioc->list[bus_no].local_no;
1759 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) {
1760 ha->raw[bus_no].address = IO_CHANNEL;
1761 ha->raw[bus_no].local_no = bus_no;
1764 for (bus_no = 0; bus_no < ha->bus_cnt; ++bus_no) {
1766 chn->channel_no = ha->raw[bus_no].local_no;
1769 ha->raw[bus_no].address | INVALID_CHANNEL,
1771 ha->raw[bus_no].pdev_cnt = chn->drive_cnt;
1773 bus_no,chn->drive_cnt));
1775 if (ha->raw[bus_no].pdev_cnt > 0) {
1777 drl->sc_no = ha->raw[bus_no].local_no;
1778 drl->sc_cnt = ha->raw[bus_no].pdev_cnt;
1781 ha->raw[bus_no].address | INVALID_CHANNEL,
1783 for (j = 0; j < ha->raw[bus_no].pdev_cnt; ++j)
1784 ha->raw[bus_no].id_list[j] = drl->sc_list[j];
1786 ha->raw[bus_no].pdev_cnt = 0;