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

Lines Matching refs:bdp

255 	struct qe_bd *bdp = qe_port->tx_bd_base;
258 if (in_be16(&bdp->status) & BD_SC_READY)
262 if (in_be16(&bdp->status) & BD_SC_WRAP)
269 bdp++;
327 struct qe_bd *bdp;
333 bdp = qe_port->rx_cur;
338 bdp = qe_port->tx_cur;
340 p = qe2cpu_addr(bdp->buf, qe_port);
343 out_be16(&bdp->length, 1);
344 setbits16(&bdp->status, BD_SC_READY);
346 if (in_be16(&bdp->status) & BD_SC_WRAP)
347 bdp = qe_port->tx_bd_base;
349 bdp++;
350 qe_port->tx_cur = bdp;
363 bdp = qe_port->tx_cur;
365 while (!(in_be16(&bdp->status) & BD_SC_READY) &&
368 p = qe2cpu_addr(bdp->buf, qe_port);
378 out_be16(&bdp->length, count);
379 setbits16(&bdp->status, BD_SC_READY);
382 if (in_be16(&bdp->status) & BD_SC_WRAP)
383 bdp = qe_port->tx_bd_base;
385 bdp++;
387 qe_port->tx_cur = bdp;
471 struct qe_bd *bdp;
478 bdp = qe_port->rx_cur;
480 status = in_be16(&bdp->status);
487 i = in_be16(&bdp->length);
498 cp = qe2cpu_addr(bdp->buf, qe_port);
518 clrsetbits_be16(&bdp->status, BD_SC_BR | BD_SC_FR | BD_SC_PR |
520 if (in_be16(&bdp->status) & BD_SC_WRAP)
521 bdp = qe_port->rx_bd_base;
523 bdp++;
528 qe_port->rx_cur = bdp;
602 struct qe_bd *bdp;
608 bdp = qe_port->rx_bd_base;
611 out_be16(&bdp->status, BD_SC_EMPTY | BD_SC_INTRPT);
612 out_be32(&bdp->buf, cpu2qe_addr(bd_virt, qe_port));
613 out_be16(&bdp->length, 0);
615 bdp++;
619 out_be16(&bdp->status, BD_SC_WRAP | BD_SC_EMPTY | BD_SC_INTRPT);
620 out_be32(&bdp->buf, cpu2qe_addr(bd_virt, qe_port));
621 out_be16(&bdp->length, 0);
630 bdp = qe_port->tx_bd_base;
632 out_be16(&bdp->status, BD_SC_INTRPT);
633 out_be32(&bdp->buf, cpu2qe_addr(bd_virt, qe_port));
634 out_be16(&bdp->length, 0);
636 bdp++;
644 out_be16(&bdp->status, BD_SC_WRAP | BD_SC_INTRPT);
645 out_be32(&bdp->buf, cpu2qe_addr(bd_virt, qe_port));
646 out_be16(&bdp->length, 0);