• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/

Lines Matching defs:brdnr

685 static struct stliport *stli_getport(unsigned int brdnr, unsigned int panelnr, unsigned int portnr);
797 struct stlibrd *brdp = stli_brds[portp->brdnr];
810 unsigned int minordev, brdnr, portnr;
813 brdnr = MINOR2BRD(minordev);
814 if (brdnr >= stli_nrbrds)
816 brdp = stli_brds[brdnr];
845 if (portp->brdnr >= stli_nrbrds)
847 brdp = stli_brds[portp->brdnr];
1112 if (portp->brdnr >= stli_nrbrds)
1114 brdp = stli_brds[portp->brdnr];
1133 struct stlibrd *brdp = stli_brds[portp->brdnr];
1166 if (portp->brdnr >= stli_nrbrds)
1168 brdp = stli_brds[portp->brdnr];
1287 if (portp->brdnr >= stli_nrbrds)
1289 brdp = stli_brds[portp->brdnr];
1365 if (portp->brdnr >= stli_nrbrds)
1367 brdp = stli_brds[portp->brdnr];
1413 if (portp->brdnr >= stli_nrbrds)
1415 brdp = stli_brds[portp->brdnr];
1458 brdp = stli_brds[portp->brdnr];
1512 if (portp->brdnr >= stli_nrbrds)
1514 brdp = stli_brds[portp->brdnr];
1536 if (portp->brdnr >= stli_nrbrds)
1538 brdp = stli_brds[portp->brdnr];
1569 if (portp->brdnr >= stli_nrbrds)
1571 brdp = stli_brds[portp->brdnr];
1635 if (portp->brdnr >= stli_nrbrds)
1637 brdp = stli_brds[portp->brdnr];
1744 if (portp->brdnr >= stli_nrbrds)
1746 brdp = stli_brds[portp->brdnr];
1781 if (portp->brdnr >= stli_nrbrds)
1783 brdp = stli_brds[portp->brdnr];
1827 if (portp->brdnr >= stli_nrbrds)
1829 brdp = stli_brds[portp->brdnr];
1916 unsigned int brdnr, portnr, totalport;
1926 for (brdnr = 0; (brdnr < stli_nrbrds); brdnr++) {
1927 brdp = stli_brds[brdnr];
1933 totalport = brdnr * STL_MAXPORTS;
2351 unsigned int brdnr;
2358 for (brdnr = 0; (brdnr < stli_nrbrds); brdnr++) {
2359 brdp = stli_brds[brdnr];
2547 portp->brdnr = brdp->brdnr;
2609 (int) offset, line, __LINE__, brdp->brdnr);
2683 (int) offset, line, __LINE__, brdp->brdnr);
2735 (int) offset, line, __LINE__, brdp->brdnr);
2780 (int) offset, line, __LINE__, brdp->brdnr);
2845 (int) offset, line, __LINE__, brdp->brdnr);
2911 (int) offset, line, __LINE__, brdp->brdnr);
3443 "type=%d\n", brdp->brdnr, brdp->brdtype);
3453 brdp->brdnr, brdp->iobase, (int) brdp->memaddr,
3585 int brdnr, found = 0;
3624 brdnr = stli_getbrdnr();
3625 if (brdnr < 0)
3627 brdp->brdnr = (unsigned int)brdnr;
3644 stli_brds[brdp->brdnr] = brdp;
3649 brdp->brdnr * STL_MAXPORTS + i, NULL);
3677 int brdnr, retval = -EIO;
3688 brdnr = stli_getbrdnr();
3689 if (brdnr < 0) {
3696 brdp->brdnr = (unsigned int)brdnr;
3697 stli_brds[brdp->brdnr] = brdp;
3718 tty_register_device(stli_serial, brdp->brdnr * STL_MAXPORTS + i,
3723 stli_brds[brdp->brdnr] = NULL;
3740 stli_brds[brdp->brdnr] = NULL;
3791 brdp->brdnr = stli_nrbrds;
3799 stli_brds[brdp->brdnr] = brdp;
3804 brdp->brdnr * STL_MAXPORTS + i, NULL);
3874 unsigned int brdnr;
3879 brdnr = iminor(fp->f_path.dentry->d_inode);
3880 if (brdnr >= stli_nrbrds)
3882 brdp = stli_brds[brdnr];
3932 unsigned int brdnr;
3937 brdnr = iminor(fp->f_path.dentry->d_inode);
3939 if (brdnr >= stli_nrbrds)
3941 brdp = stli_brds[brdnr];
4005 stli_brdstats.brd = brdp->brdnr;
4030 static struct stliport *stli_getport(unsigned int brdnr, unsigned int panelnr,
4036 if (brdnr >= STL_MAXBRDS)
4038 brdp = stli_brds[brdnr];
4066 brdp = stli_brds[portp->brdnr];
4081 stli_comstats.brd = portp->brdnr;
4149 brdp = stli_brds[portp->brdnr];
4180 brdp = stli_brds[portp->brdnr];
4194 stli_comstats.brd = portp->brdnr;
4217 portp = stli_getport(stli_dummyport.brdnr, stli_dummyport.panelnr,
4239 if (stli_dummybrd.brdnr >= STL_MAXBRDS)
4241 brdp = stli_brds[stli_dummybrd.brdnr];
4260 int brdnr, rc, done;
4298 brdnr = iminor(fp->f_dentry->d_inode);
4299 if (brdnr >= STL_MAXBRDS)
4301 brdp = stli_brds[brdnr];