• 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:bc

447 	struct board_chan __iomem *bc;
456 bc = ch->brdchan;
463 if (bc)
464 writeb(0, &bc->idata);
511 struct board_chan __iomem *bc;
531 bc = ch->brdchan;
538 head = readw(&bc->tin) & (size - 1);
539 tail = readw(&bc->tout);
541 if (tail != readw(&bc->tout))
542 tail = readw(&bc->tout);
589 writew(head, &bc->tin);
593 writeb(1, &bc->ilow);
606 struct board_chan __iomem *bc;
616 bc = ch->brdchan;
617 head = readw(&bc->tin) & (ch->txbufsize - 1);
618 tail = readw(&bc->tout);
620 if (tail != readw(&bc->tout))
621 tail = readw(&bc->tout);
630 writeb(1, &bc->ilow);
646 struct board_chan __iomem *bc;
658 bc = ch->brdchan;
659 tail = readw(&bc->tout);
660 head = readw(&bc->tin);
664 readb(&bc->tbusy) == 0)
667 head = readw(&bc->tin) & (ch->txbufsize - 1);
699 struct board_chan __iomem *bc;
710 bc = ch->brdchan;
711 tail = readw(&bc->tout);
759 struct board_chan __iomem *bc;
798 bc = ch->brdchan;
799 if (bc == NULL) {
826 ch->imodem = readb(&bc->mstat);
832 head = readw(&bc->rin);
833 writew(head, &bc->rout);
859 writeb(1, &bc->idata);
1179 struct board_chan __iomem *bc;
1232 * The below assignment will set bc to point at the BEGINING of the
1236 bc = memaddr + CHANSTRUCT;
1258 * Remember ch is the main drivers channels structure, while bc is the
1261 for (i = 0; i < bd->numports; i++, ch++, bc++) {
1267 ch->brdchan = bc;
1325 tseg = readw(&bc->tseg);
1326 rseg = readw(&bc->rseg);
1368 ch->txbufsize = readw(&bc->tmax) + 1;
1371 ch->rxbufsize = readw(&bc->rmax) + 1;
1384 writew(100, &bc->edelay);
1385 writeb(1, &bc->idata);
1387 ch->startc = readb(&bc->startc);
1388 ch->stopc = readb(&bc->stopc);
1389 ch->startca = readb(&bc->startca);
1390 ch->stopca = readb(&bc->stopca);
1468 struct board_chan __iomem *bc;
1504 bc = ch->brdchan;
1508 bc = ch->brdchan;
1509 if (bc == NULL)
1552 BUG_ON(!bc);
1553 writew(1, &bc->idata);
1731 struct board_chan __iomem *bc;
1734 bc = ch->brdchan;
1735 epcaassert(bc != NULL, "bc out of range");
1740 cmdHead = readw(&bc->rin);
1741 writew(cmdHead, &bc->rout);
1742 cmdHead = readw(&bc->tin);
1792 writeb(ch->dcd, &bc->mint);
1795 writeb(0, &bc->mint);
1796 ch->imodem = readb(&bc->mstat);
1847 struct board_chan __iomem *bc;
1861 bc = ch->brdchan;
1862 BUG_ON(!bc);
1869 head = readw(&bc->rin);
1871 tail = readw(&bc->rout) & wrapmask;
1879 writew(head, &bc->rout);
1886 if (readb(&bc->orun)) {
1887 writeb(0, &bc->orun);
1916 writew(tail, &bc->rout);
1987 struct board_chan __iomem *bc;
1992 bc = ch->brdchan;
1998 mstat = readb(&bc->mstat);
2066 struct board_chan __iomem *bc;
2071 bc = ch->brdchan;
2150 dflow.startc = readb(&bc->startc);
2151 dflow.stopc = readb(&bc->stopc);
2153 dflow.startc = readb(&bc->startca);
2154 dflow.stopc = readb(&bc->stopca);
2295 struct board_chan __iomem *bc;
2297 bc = ch->brdchan;
2299 writeb(1, &bc->ilow);
2390 struct board_chan __iomem *bc = ch->brdchan;
2398 writeb(1, &bc->iempty);