Lines Matching defs:Nchips
230 static int Nchips;
645 if((vector=Inb(Vector_Latch)) >= 16 * Nchips) break;
1098 for (k = 0; k < (Nchips * 2); k++)
1467 printk(KERN_INFO "Init Z8530 driver: %u channels, IRQ", Nchips*2);
1480 for (chip = 0; chip < Nchips; chip++)
1727 if (Nchips >= SCC_MAXCHIPS)
1780 SCC_Info[2*Nchips ].ctrl = hwcfg.ctrl_a;
1781 SCC_Info[2*Nchips ].data = hwcfg.data_a;
1782 SCC_Info[2*Nchips ].irq = hwcfg.irq;
1783 SCC_Info[2*Nchips+1].ctrl = hwcfg.ctrl_b;
1784 SCC_Info[2*Nchips+1].data = hwcfg.data_b;
1785 SCC_Info[2*Nchips+1].irq = hwcfg.irq;
1787 SCC_ctrl[Nchips].chan_A = hwcfg.ctrl_a;
1788 SCC_ctrl[Nchips].chan_B = hwcfg.ctrl_b;
1789 SCC_ctrl[Nchips].irq = hwcfg.irq;
1795 sprintf(device_name, "%s%i", SCC_DriverName, 2*Nchips+chan);
1797 SCC_Info[2*Nchips+chan].special = hwcfg.special;
1798 SCC_Info[2*Nchips+chan].clock = hwcfg.clock;
1799 SCC_Info[2*Nchips+chan].brand = hwcfg.brand;
1800 SCC_Info[2*Nchips+chan].option = hwcfg.option;
1801 SCC_Info[2*Nchips+chan].enhanced = hwcfg.escc;
1806 SCC_Info[2*Nchips+chan].data,
1807 SCC_Info[2*Nchips+chan].ctrl);
1819 request_region(SCC_Info[2*Nchips+chan].ctrl, 1, "scc ctrl");
1820 request_region(SCC_Info[2*Nchips+chan].data, 1, "scc data");
1821 if (Nchips+chan != 0 &&
1823 &SCC_Info[2*Nchips+chan]))
1828 if (found) Nchips++;
1838 if (Nchips == 0)
1979 for (k = 0; k < Nchips*2; ++k) {
2001 k < Nchips*2; ++k) {
2018 } else if (!Nchips) {
2122 if (Nchips == 0 && (dev = SCC_Info[0].dev))
2131 for (k = 0; k < Nchips; k++)
2146 for (k = 0; k < Nchips*2; k++)