Lines Matching defs:bc

218 	volatile struct board_chan *bc;
531 bc = (volatile struct board_chan *)(ptr + CHANSTRUCT);
537 for (i = 0; i < sc->numports; i++, bc++) {
542 port->bc = bc;
557 (((bc->tseg - sc->mem_seg) << 4) & 0x1fff);
559 (((bc->rseg - sc->mem_seg) << 4) & 0x1fff);
560 port->txwin = FEPWIN | ((bc->tseg - sc->mem_seg) >> 9);
561 port->rxwin = FEPWIN | ((bc->rseg - sc->mem_seg) >> 9);
563 port->txbuf = ptr + ((bc->tseg - sc->mem_seg) << 4);
564 port->rxbuf = ptr + ((bc->rseg - sc->mem_seg) << 4);
568 (((bc->tseg - sc->mem_seg) << 4) % sc->win_size);
570 (((bc->rseg - sc->mem_seg) << 4) % sc->win_size);
572 (((bc->tseg - sc->mem_seg) << 4) / sc->win_size);
574 (((bc->rseg - sc->mem_seg) << 4) / sc->win_size);
576 port->txbufsize = bc->tmax + 1;
577 port->rxbufsize = bc->rmax + 1;
587 bc->edelay = 100;
614 mstat = port->bc->mstat;
666 volatile struct board_chan *bc;
675 bc = port->bc;
685 bc->rout = bc->rin; /* clear input queue */
686 bc->idata = 1;
687 bc->iempty = 1;
688 bc->ilow = 1;
689 bc->mint = port->cd | port->sc->csigs->ri;
690 bc->tin = bc->tout;
728 volatile struct board_chan *bc;
733 bc = port->bc;
737 bc->idata = 0;
738 bc->iempty = 0;
739 bc->ilow = 0;
740 bc->mint = 0;
742 (!tp->t_actout && !(bc->mstat & port->cd) &&
1090 volatile struct board_chan *bc;
1184 bc = port->bc;
1191 bc->rout = bc->rin;
1192 bc->idata = 0;
1193 bc->iempty = 0;
1194 bc->ilow = 0;
1195 bc->mint = 0;
1207 head = bc->rin;
1208 tail = bc->rout;
1212 bc->rout = head;
1239 bc->rout = tail;
1240 head = bc->rin;
1245 if (bc->orun) {
1250 bc->orun = 0;
1259 bc->idata = 1;
1313 volatile struct board_chan *bc;
1321 bc = port->bc;
1338 bc->idata = 1;
1350 head = bc->tin;
1352 tail = bc->tout;
1372 bc->tin = head;
1373 bc->iempty = 1;
1374 bc->ilow = 1;
1377 tail = bc->tout;