tag | line | file | source code |
brdnr | 602 | drivers/char/istallion.c | static stliport_t *stli_getport(int brdnr, int panelnr, int portnr); |
brdnr | 756 | drivers/char/istallion.c | int brdnr, portnr, rc; |
brdnr | 763 | drivers/char/istallion.c | brdnr = MKDEV2BRD(minordev); |
brdnr | 764 | drivers/char/istallion.c | if (brdnr >= stli_nrbrds) |
brdnr | 766 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 925 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1225 | drivers/char/istallion.c | if ((portp->brdnr < 0) && (portp->brdnr >= stli_nrbrds)) |
brdnr | 1227 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1351 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1353 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1515 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1517 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1600 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1602 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1655 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1657 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1705 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1766 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1768 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1894 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1896 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1990 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1992 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 2024 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 2026 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 2088 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 2090 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 2146 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 2148 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 2515 | drivers/char/istallion.c | int brdnr, channr, nrdevs; |
brdnr | 2523 | drivers/char/istallion.c | for (brdnr = 0; (brdnr < stli_nrbrds); brdnr++) { |
brdnr | 2524 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 2787 | drivers/char/istallion.c | portp->brdnr = brdp->brdnr; |
brdnr | 2862 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
brdnr | 2949 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
brdnr | 2999 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
brdnr | 3078 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
brdnr | 3165 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
brdnr | 3231 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
brdnr | 3289 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
brdnr | 3722 | drivers/char/istallion.c | stli_brds[brdp->brdnr] = brdp; |
brdnr | 3749 | drivers/char/istallion.c | printk("STALLION: unit=%d is unknown board type=%d\n", brdp->brdnr, brdp->brdtype); |
brdnr | 3754 | drivers/char/istallion.c | printk("STALLION: %s board not found, unit=%d io=%x mem=%x\n", stli_brdnames[brdp->brdtype], brdp->brdnr, brdp->iobase, (int) brdp->memaddr); |
brdnr | 3759 | drivers/char/istallion.c | printk("STALLION: %s found, unit=%d io=%x mem=%x nrpanels=%d nrports=%d\n", stli_brdnames[brdp->brdtype], brdp->brdnr, brdp->iobase, (int) brdp->memaddr, brdp->nrpanels, brdp->nrports); |
brdnr | 3934 | drivers/char/istallion.c | brdp->brdnr = stli_nrbrds++; |
brdnr | 3988 | drivers/char/istallion.c | brdp->brdnr = i; |
brdnr | 4053 | drivers/char/istallion.c | int brdnr, size, n; |
brdnr | 4059 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
brdnr | 4060 | drivers/char/istallion.c | if (brdnr >= stli_nrbrds) |
brdnr | 4062 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 4103 | drivers/char/istallion.c | int brdnr, size, n; |
brdnr | 4109 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
brdnr | 4110 | drivers/char/istallion.c | if (brdnr >= stli_nrbrds) |
brdnr | 4112 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 4159 | drivers/char/istallion.c | stli_brdstats.brd = brdp->brdnr; |
brdnr | 4183 | drivers/char/istallion.c | static stliport_t *stli_getport(int brdnr, int panelnr, int portnr) |
brdnr | 4188 | drivers/char/istallion.c | if ((brdnr < 0) || (brdnr >= STL_MAXBRDS)) |
brdnr | 4190 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 4221 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 4233 | drivers/char/istallion.c | stli_comstats.brd = portp->brdnr; |
brdnr | 4297 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 4307 | drivers/char/istallion.c | stli_comstats.brd = portp->brdnr; |
brdnr | 4326 | drivers/char/istallion.c | portp = stli_getport(stli_dummyport.brdnr, stli_dummyport.panelnr, |
brdnr | 4345 | drivers/char/istallion.c | if ((stli_dummybrd.brdnr < 0) || (stli_dummybrd.brdnr >= STL_MAXBRDS)) |
brdnr | 4347 | drivers/char/istallion.c | brdp = stli_brds[stli_dummybrd.brdnr]; |
brdnr | 4365 | drivers/char/istallion.c | int brdnr, rc, done; |
brdnr | 4414 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
brdnr | 4415 | drivers/char/istallion.c | if (brdnr >= STL_MAXBRDS) |
brdnr | 4417 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 317 | drivers/char/stallion.c | #define BRDENABLE(brdnr,pagenr) \ |
brdnr | 318 | drivers/char/stallion.c | if (stl_brds[(brdnr)]->brdtype == BRD_ECH) \ |
brdnr | 319 | drivers/char/stallion.c | outb((stl_brds[(brdnr)]->ioctrlval | ECH_BRDENABLE), \ |
brdnr | 320 | drivers/char/stallion.c | stl_brds[(brdnr)]->ioctrl); \ |
brdnr | 321 | drivers/char/stallion.c | else if (stl_brds[(brdnr)]->brdtype == BRD_ECHPCI) \ |
brdnr | 322 | drivers/char/stallion.c | outb((pagenr), stl_brds[(brdnr)]->ioctrl); |
brdnr | 324 | drivers/char/stallion.c | #define BRDDISABLE(brdnr) \ |
brdnr | 325 | drivers/char/stallion.c | if (stl_brds[(brdnr)]->brdtype == BRD_ECH) \ |
brdnr | 326 | drivers/char/stallion.c | outb((stl_brds[(brdnr)]->ioctrlval | ECH_BRDDISABLE), \ |
brdnr | 327 | drivers/char/stallion.c | stl_brds[(brdnr)]->ioctrl); |
brdnr | 427 | drivers/char/stallion.c | static stlport_t *stl_getport(int brdnr, int panelnr, int portnr); |
brdnr | 576 | drivers/char/stallion.c | int brdnr, panelnr, portnr, rc; |
brdnr | 583 | drivers/char/stallion.c | brdnr = MKDEV2BRD(minordev); |
brdnr | 584 | drivers/char/stallion.c | if (brdnr >= stl_nrbrds) |
brdnr | 586 | drivers/char/stallion.c | brdp = stl_brds[brdnr]; |
brdnr | 1080 | drivers/char/stallion.c | brdp = stl_brds[portp->brdnr]; |
brdnr | 1274 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 1287 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 1314 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 1333 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 1446 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 1452 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 1667 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 1942 | drivers/char/stallion.c | printk("STALLION: cd1400 device not responding, port=%d panel=%d brd=%d\n", portp->portnr, portp->panelnr, portp->brdnr); |
brdnr | 1977 | drivers/char/stallion.c | brdp = stl_brds[portp->brdnr]; |
brdnr | 2115 | drivers/char/stallion.c | printk("SETPORT: portnr=%d panelnr=%d brdnr=%d\n", portp->portnr, portp->panelnr, portp->brdnr); |
brdnr | 2124 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2159 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2187 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2193 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2215 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2219 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2258 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2263 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2297 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2300 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2321 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2324 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2340 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2344 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2403 | drivers/char/stallion.c | BRDENABLE(panelp->brdnr, panelp->pagenr); |
brdnr | 2429 | drivers/char/stallion.c | printk("STALLION: cd1400 not responding, brd=%d panel=%d chip=%d\n", panelp->brdnr, panelp->panelnr, i); |
brdnr | 2460 | drivers/char/stallion.c | portp->brdnr = panelp->brdnr; |
brdnr | 2473 | drivers/char/stallion.c | portp->stats.brd = portp->brdnr; |
brdnr | 2482 | drivers/char/stallion.c | BRDDISABLE(panelp->brdnr); |
brdnr | 2531 | drivers/char/stallion.c | printk("STALLION: invalid irq=%d for brd=%d\n", brdp->irq, brdp->brdnr); |
brdnr | 2544 | drivers/char/stallion.c | panelp->brdnr = brdp->brdnr; |
brdnr | 2590 | drivers/char/stallion.c | printk("STALLION: invalid irq=%d for brd=%d\n", brdp->irq, brdp->brdnr); |
brdnr | 2611 | drivers/char/stallion.c | printk("STALLION: invalid irq=%d for brd=%d\n", brdp->irq, brdp->brdnr); |
brdnr | 2650 | drivers/char/stallion.c | panelp->brdnr = brdp->brdnr; |
brdnr | 2711 | drivers/char/stallion.c | printk("STALLION: unit=%d is unknown board type=%d\n", brdp->brdnr, brdp->brdtype); |
brdnr | 2715 | drivers/char/stallion.c | stl_brds[brdp->brdnr] = brdp; |
brdnr | 2717 | drivers/char/stallion.c | printk("STALLION: %s board not found, unit=%d io=%x irq=%d\n", stl_brdnames[brdp->brdtype], brdp->brdnr, brdp->ioaddr1, brdp->irq); |
brdnr | 2725 | drivers/char/stallion.c | printk("STALLION: %s found, unit=%d io=%x irq=%d nrpanels=%d nrports=%d\n", stl_brdnames[brdp->brdtype], brdp->brdnr, brdp->ioaddr1, brdp->irq, brdp->nrpanels, brdp->nrports); |
brdnr | 2783 | drivers/char/stallion.c | brdp->brdnr = stl_nrbrds++; |
brdnr | 2853 | drivers/char/stallion.c | brdp->brdnr = i; |
brdnr | 2893 | drivers/char/stallion.c | stl_brdstats.brd = brdp->brdnr; |
brdnr | 2919 | drivers/char/stallion.c | static stlport_t *stl_getport(int brdnr, int panelnr, int portnr) |
brdnr | 2924 | drivers/char/stallion.c | if ((brdnr < 0) || (brdnr >= STL_MAXBRDS)) |
brdnr | 2926 | drivers/char/stallion.c | brdp = stl_brds[brdnr]; |
brdnr | 3012 | drivers/char/stallion.c | portp->stats.brd = portp->brdnr; |
brdnr | 3030 | drivers/char/stallion.c | portp = stl_getport(stl_dummyport.brdnr, stl_dummyport.panelnr, |
brdnr | 3049 | drivers/char/stallion.c | if ((stl_dummybrd.brdnr < 0) || (stl_dummybrd.brdnr >= STL_MAXBRDS)) |
brdnr | 3051 | drivers/char/stallion.c | brdp = stl_brds[stl_dummybrd.brdnr]; |
brdnr | 3068 | drivers/char/stallion.c | int brdnr, rc; |
brdnr | 3074 | drivers/char/stallion.c | brdnr = MINOR(ip->i_rdev); |
brdnr | 3075 | drivers/char/stallion.c | if (brdnr >= STL_MAXBRDS) |
brdnr | 55 | include/linux/istallion.h | int brdnr; |
brdnr | 97 | include/linux/istallion.h | int brdnr; |
brdnr | 72 | include/linux/stallion.h | int brdnr; |
brdnr | 105 | include/linux/stallion.h | int brdnr; |
brdnr | 116 | include/linux/stallion.h | int brdnr; |