Lines Matching refs:nrports
1047 if ((portnr < 0) || (portnr > brdp->nrports)) in stli_open()
2698 maxoff = curoff + (brdp->nrports * MAXLINE); in stli_readproc()
2705 for (portnr = 0; (portnr < brdp->nrports); portnr++, in stli_readproc()
3359 for (i = 0, panelnr = 0, panelport = 0; (i < brdp->nrports); i++) { in stli_initports()
3971 int panelnr, nrports; in stli_initecp() local
4099 nrports = (status & ECH_PNL16PORT) ? 16 : 8; in stli_initecp()
4100 if ((nrports == 16) && ((status & ECH_PNLXPID) == 0)) in stli_initecp()
4102 brdp->panels[panelnr] = nrports; in stli_initecp()
4103 brdp->nrports += nrports; in stli_initecp()
4257 brdp->nrports = 32; in stli_initonb()
4263 brdp->nrports = i; in stli_initonb()
4265 brdp->panels[0] = brdp->nrports; in stli_initonb()
4309 if (nrdevs < (brdp->nrports + 1)) { in stli_startbrd()
4312 brdp->nrports = nrdevs - 1; in stli_startbrd()
4445 brdp->nrpanels, brdp->nrports); in stli_brdinit()
4986 stli_brdstats.nrports = brdp->nrports; in stli_getbrdstats()
4990 stli_brdstats.panels[i].nrports = brdp->panels[i]; in stli_getbrdstats()
5016 if ((portnr < 0) || (portnr >= brdp->nrports)) in stli_getport()