Lines Matching refs:Nchips

232 static int Nchips;  variable
647 if((vector=Inb(Vector_Latch)) >= 16 * Nchips) break; in scc_isr()
1100 for (k = 0; k < (Nchips * 2); k++) in is_grouped()
1469 printk(KERN_INFO "Init Z8530 driver: %u channels, IRQ", Nchips*2); in z8530_init()
1482 for (chip = 0; chip < Nchips; chip++) in z8530_init()
1730 if (Nchips >= SCC_MAXCHIPS) in scc_net_siocdevprivate()
1783 SCC_Info[2*Nchips ].ctrl = hwcfg.ctrl_a; in scc_net_siocdevprivate()
1784 SCC_Info[2*Nchips ].data = hwcfg.data_a; in scc_net_siocdevprivate()
1785 SCC_Info[2*Nchips ].irq = hwcfg.irq; in scc_net_siocdevprivate()
1786 SCC_Info[2*Nchips+1].ctrl = hwcfg.ctrl_b; in scc_net_siocdevprivate()
1787 SCC_Info[2*Nchips+1].data = hwcfg.data_b; in scc_net_siocdevprivate()
1788 SCC_Info[2*Nchips+1].irq = hwcfg.irq; in scc_net_siocdevprivate()
1790 SCC_ctrl[Nchips].chan_A = hwcfg.ctrl_a; in scc_net_siocdevprivate()
1791 SCC_ctrl[Nchips].chan_B = hwcfg.ctrl_b; in scc_net_siocdevprivate()
1792 SCC_ctrl[Nchips].irq = hwcfg.irq; in scc_net_siocdevprivate()
1798 sprintf(device_name, "%s%i", SCC_DriverName, 2*Nchips+chan); in scc_net_siocdevprivate()
1800 SCC_Info[2*Nchips+chan].special = hwcfg.special; in scc_net_siocdevprivate()
1801 SCC_Info[2*Nchips+chan].clock = hwcfg.clock; in scc_net_siocdevprivate()
1802 SCC_Info[2*Nchips+chan].brand = hwcfg.brand; in scc_net_siocdevprivate()
1803 SCC_Info[2*Nchips+chan].option = hwcfg.option; in scc_net_siocdevprivate()
1804 SCC_Info[2*Nchips+chan].enhanced = hwcfg.escc; in scc_net_siocdevprivate()
1809 SCC_Info[2*Nchips+chan].data, in scc_net_siocdevprivate()
1810 SCC_Info[2*Nchips+chan].ctrl); in scc_net_siocdevprivate()
1822 request_region(SCC_Info[2*Nchips+chan].ctrl, 1, "scc ctrl"); in scc_net_siocdevprivate()
1823 request_region(SCC_Info[2*Nchips+chan].data, 1, "scc data"); in scc_net_siocdevprivate()
1824 if (Nchips+chan != 0 && in scc_net_siocdevprivate()
1826 &SCC_Info[2*Nchips+chan])) in scc_net_siocdevprivate()
1831 if (found) Nchips++; in scc_net_siocdevprivate()
1841 if (Nchips == 0) in scc_net_siocdevprivate()
1982 for (k = 0; k < Nchips*2; ++k) { in scc_net_seq_idx()
2004 k < Nchips*2; ++k) { in scc_net_seq_next()
2021 } else if (!Nchips) { in scc_net_seq_show()
2125 if (Nchips == 0 && (dev = SCC_Info[0].dev)) in scc_cleanup_driver()
2134 for (k = 0; k < Nchips; k++) in scc_cleanup_driver()
2149 for (k = 0; k < Nchips*2; k++) in scc_cleanup_driver()