Searched refs:Nchips (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/hamradio/
H A Dscc.c229 static int Nchips; variable
644 if((vector=Inb(Vector_Latch)) >= 16 * Nchips) break; scc_isr()
1096 for (k = 0; k < (Nchips * 2); k++) is_grouped()
1466 printk(KERN_INFO "Init Z8530 driver: %u channels, IRQ", Nchips*2); z8530_init()
1479 for (chip = 0; chip < Nchips; chip++) z8530_init()
1726 if (Nchips >= SCC_MAXCHIPS) scc_net_ioctl()
1779 SCC_Info[2*Nchips ].ctrl = hwcfg.ctrl_a; scc_net_ioctl()
1780 SCC_Info[2*Nchips ].data = hwcfg.data_a; scc_net_ioctl()
1781 SCC_Info[2*Nchips ].irq = hwcfg.irq; scc_net_ioctl()
1782 SCC_Info[2*Nchips+1].ctrl = hwcfg.ctrl_b; scc_net_ioctl()
1783 SCC_Info[2*Nchips+1].data = hwcfg.data_b; scc_net_ioctl()
1784 SCC_Info[2*Nchips+1].irq = hwcfg.irq; scc_net_ioctl()
1786 SCC_ctrl[Nchips].chan_A = hwcfg.ctrl_a; scc_net_ioctl()
1787 SCC_ctrl[Nchips].chan_B = hwcfg.ctrl_b; scc_net_ioctl()
1788 SCC_ctrl[Nchips].irq = hwcfg.irq; scc_net_ioctl()
1794 sprintf(device_name, "%s%i", SCC_DriverName, 2*Nchips+chan); scc_net_ioctl()
1796 SCC_Info[2*Nchips+chan].special = hwcfg.special; scc_net_ioctl()
1797 SCC_Info[2*Nchips+chan].clock = hwcfg.clock; scc_net_ioctl()
1798 SCC_Info[2*Nchips+chan].brand = hwcfg.brand; scc_net_ioctl()
1799 SCC_Info[2*Nchips+chan].option = hwcfg.option; scc_net_ioctl()
1800 SCC_Info[2*Nchips+chan].enhanced = hwcfg.escc; scc_net_ioctl()
1805 SCC_Info[2*Nchips+chan].data, scc_net_ioctl()
1806 SCC_Info[2*Nchips+chan].ctrl); scc_net_ioctl()
1818 request_region(SCC_Info[2*Nchips+chan].ctrl, 1, "scc ctrl"); scc_net_ioctl()
1819 request_region(SCC_Info[2*Nchips+chan].data, 1, "scc data"); scc_net_ioctl()
1820 if (Nchips+chan != 0 && scc_net_ioctl()
1822 &SCC_Info[2*Nchips+chan])) scc_net_ioctl()
1827 if (found) Nchips++; scc_net_ioctl()
1837 if (Nchips == 0) scc_net_ioctl()
1978 for (k = 0; k < Nchips*2; ++k) { scc_net_seq_idx()
2000 k < Nchips*2; ++k) { scc_net_seq_next()
2017 } else if (!Nchips) { scc_net_seq_show()
2136 if (Nchips == 0 && (dev = SCC_Info[0].dev)) scc_cleanup_driver()
2145 for (k = 0; k < Nchips; k++) scc_cleanup_driver()
2160 for (k = 0; k < Nchips*2; k++) scc_cleanup_driver()

Completed in 57 milliseconds