tag | line | file | source code |
brdnr | 258 | drivers/char/istallion.c | int brdnr; |
brdnr | 300 | drivers/char/istallion.c | int brdnr; |
brdnr | 713 | drivers/char/istallion.c | static stliport_t *stli_getport(int brdnr, int panelnr, int portnr); |
brdnr | 873 | drivers/char/istallion.c | int brdnr, portnr, rc; |
brdnr | 880 | drivers/char/istallion.c | brdnr = MKDEV2BRD(minordev); |
brdnr | 881 | drivers/char/istallion.c | if (brdnr >= stli_nrbrds) |
brdnr | 883 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 1042 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1342 | drivers/char/istallion.c | if ((portp->brdnr < 0) && (portp->brdnr >= stli_nrbrds)) |
brdnr | 1344 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1460 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1462 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1624 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1626 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1709 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1711 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1764 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1766 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1814 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 1875 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 1877 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 2003 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 2005 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 2099 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 2101 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 2133 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 2135 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 2197 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 2199 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 2255 | drivers/char/istallion.c | if ((portp->brdnr < 0) || (portp->brdnr >= stli_nrbrds)) |
brdnr | 2257 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 2618 | drivers/char/istallion.c | int brdnr, channr, nrdevs; |
brdnr | 2626 | drivers/char/istallion.c | for (brdnr = 0; (brdnr < stli_nrbrds); brdnr++) { |
brdnr | 2627 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 2881 | drivers/char/istallion.c | portp->brdnr = brdp->brdnr; |
brdnr | 2956 | 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 | 3043 | 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 | 3093 | 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 | 3172 | 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 | 3259 | 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 | 3325 | 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 | 3383 | 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 | 3850 | drivers/char/istallion.c | stli_brds[brdp->brdnr] = brdp; |
brdnr | 3877 | drivers/char/istallion.c | printk("STALLION: unit=%d is unknown board type=%d\n", brdp->brdnr, brdp->brdtype); |
brdnr | 3882 | 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 | 3887 | 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 | 4065 | drivers/char/istallion.c | brdp->brdnr = stli_nrbrds++; |
brdnr | 4118 | drivers/char/istallion.c | brdp->brdnr = i; |
brdnr | 4183 | drivers/char/istallion.c | int brdnr, size, n; |
brdnr | 4189 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
brdnr | 4190 | drivers/char/istallion.c | if (brdnr >= stli_nrbrds) |
brdnr | 4192 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 4233 | drivers/char/istallion.c | int brdnr, size, n; |
brdnr | 4239 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
brdnr | 4240 | drivers/char/istallion.c | if (brdnr >= stli_nrbrds) |
brdnr | 4242 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 4289 | drivers/char/istallion.c | stli_brdstats.brd = brdp->brdnr; |
brdnr | 4313 | drivers/char/istallion.c | static stliport_t *stli_getport(int brdnr, int panelnr, int portnr) |
brdnr | 4318 | drivers/char/istallion.c | if ((brdnr < 0) || (brdnr >= STL_MAXBRDS)) |
brdnr | 4320 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 4350 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 4417 | drivers/char/istallion.c | brdp = stli_brds[portp->brdnr]; |
brdnr | 4422 | drivers/char/istallion.c | portp->stats.brd = portp->brdnr; |
brdnr | 4444 | drivers/char/istallion.c | int brdnr, rc; |
brdnr | 4450 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
brdnr | 4451 | drivers/char/istallion.c | if (brdnr >= stli_nrbrds) |
brdnr | 4453 | drivers/char/istallion.c | brdp = stli_brds[brdnr]; |
brdnr | 233 | drivers/char/stallion.c | int brdnr; |
brdnr | 265 | drivers/char/stallion.c | int brdnr; |
brdnr | 275 | drivers/char/stallion.c | int brdnr; |
brdnr | 412 | drivers/char/stallion.c | #define BRDENABLE(brdnr,pagenr) \ |
brdnr | 413 | drivers/char/stallion.c | if (stl_brds[(brdnr)]->brdtype == BRD_ECH) \ |
brdnr | 414 | drivers/char/stallion.c | outb((stl_brds[(brdnr)]->ioctrlval | ECH_BRDENABLE), \ |
brdnr | 415 | drivers/char/stallion.c | stl_brds[(brdnr)]->ioctrl); \ |
brdnr | 416 | drivers/char/stallion.c | else if (stl_brds[(brdnr)]->brdtype == BRD_ECHPCI) \ |
brdnr | 417 | drivers/char/stallion.c | outb((pagenr), stl_brds[(brdnr)]->ioctrl); |
brdnr | 419 | drivers/char/stallion.c | #define BRDDISABLE(brdnr) \ |
brdnr | 420 | drivers/char/stallion.c | if (stl_brds[(brdnr)]->brdtype == BRD_ECH) \ |
brdnr | 421 | drivers/char/stallion.c | outb((stl_brds[(brdnr)]->ioctrlval | ECH_BRDDISABLE), \ |
brdnr | 422 | drivers/char/stallion.c | stl_brds[(brdnr)]->ioctrl); |
brdnr | 520 | drivers/char/stallion.c | static stlport_t *stl_getport(int brdnr, int panelnr, int portnr); |
brdnr | 669 | drivers/char/stallion.c | int brdnr, panelnr, portnr, rc; |
brdnr | 676 | drivers/char/stallion.c | brdnr = MKDEV2BRD(minordev); |
brdnr | 677 | drivers/char/stallion.c | if (brdnr >= stl_nrbrds) |
brdnr | 679 | drivers/char/stallion.c | brdp = stl_brds[brdnr]; |
brdnr | 1165 | drivers/char/stallion.c | brdp = stl_brds[portp->brdnr]; |
brdnr | 1359 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 1372 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 1399 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 1418 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 1531 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 1537 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2023 | drivers/char/stallion.c | printk("STALLION: cd1400 device not responding, port=%d panel=%d brd=%d\n", portp->portnr, portp->panelnr, portp->brdnr); |
brdnr | 2058 | drivers/char/stallion.c | brdp = stl_brds[portp->brdnr]; |
brdnr | 2193 | drivers/char/stallion.c | printk("SETPORT: portnr=%d panelnr=%d brdnr=%d\n", portp->portnr, portp->panelnr, portp->brdnr); |
brdnr | 2202 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2237 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2265 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2271 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2293 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2297 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2336 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2341 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2375 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2378 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2399 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2402 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2418 | drivers/char/stallion.c | BRDENABLE(portp->brdnr, portp->pagenr); |
brdnr | 2422 | drivers/char/stallion.c | BRDDISABLE(portp->brdnr); |
brdnr | 2481 | drivers/char/stallion.c | BRDENABLE(panelp->brdnr, panelp->pagenr); |
brdnr | 2507 | drivers/char/stallion.c | printk("STALLION: cd1400 not responding, brd=%d panel=%d chip=%d\n", panelp->brdnr, panelp->panelnr, i); |
brdnr | 2537 | drivers/char/stallion.c | portp->brdnr = panelp->brdnr; |
brdnr | 2550 | drivers/char/stallion.c | portp->stats.brd = portp->brdnr; |
brdnr | 2559 | drivers/char/stallion.c | BRDDISABLE(panelp->brdnr); |
brdnr | 2608 | drivers/char/stallion.c | printk("STALLION: invalid irq=%d for brd=%d\n", brdp->irq, brdp->brdnr); |
brdnr | 2620 | drivers/char/stallion.c | panelp->brdnr = brdp->brdnr; |
brdnr | 2666 | drivers/char/stallion.c | printk("STALLION: invalid irq=%d for brd=%d\n", brdp->irq, brdp->brdnr); |
brdnr | 2687 | drivers/char/stallion.c | printk("STALLION: invalid irq=%d for brd=%d\n", brdp->irq, brdp->brdnr); |
brdnr | 2725 | drivers/char/stallion.c | panelp->brdnr = brdp->brdnr; |
brdnr | 2786 | drivers/char/stallion.c | printk("STALLION: unit=%d is unknown board type=%d\n", brdp->brdnr, brdp->brdtype); |
brdnr | 2790 | drivers/char/stallion.c | stl_brds[brdp->brdnr] = brdp; |
brdnr | 2792 | 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 | 2800 | 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 | 2857 | drivers/char/stallion.c | brdp->brdnr = stl_nrbrds++; |
brdnr | 2926 | drivers/char/stallion.c | brdp->brdnr = i; |
brdnr | 2966 | drivers/char/stallion.c | stl_brdstats.brd = brdp->brdnr; |
brdnr | 2992 | drivers/char/stallion.c | static stlport_t *stl_getport(int brdnr, int panelnr, int portnr) |
brdnr | 2997 | drivers/char/stallion.c | if ((brdnr < 0) || (brdnr >= STL_MAXBRDS)) |
brdnr | 2999 | drivers/char/stallion.c | brdp = stl_brds[brdnr]; |
brdnr | 3076 | drivers/char/stallion.c | portp->stats.brd = portp->brdnr; |
brdnr | 3094 | drivers/char/stallion.c | int brdnr, rc; |
brdnr | 3100 | drivers/char/stallion.c | brdnr = MINOR(ip->i_rdev); |
brdnr | 3101 | drivers/char/stallion.c | if (brdnr >= stl_nrbrds) |
brdnr | 3103 | drivers/char/stallion.c | brdp = stl_brds[brdnr]; |