Lines Matching defs:pbuf
880 struct pio_buf *pbuf;
905 pbuf = &sc->sr[sc->sr_tail].pbuf;
906 if (pbuf->cb)
907 (*pbuf->cb)(pbuf->arg, PRC_SC_DISABLE);
1412 struct pio_buf *pbuf = NULL;
1470 pbuf = &sc->sr[head].pbuf;
1471 pbuf->sent_at = sc->fill;
1472 pbuf->cb = cb;
1473 pbuf->arg = arg;
1474 pbuf->sc = sc; /* could be filled in at sc->sr init time */
1483 * in pbuf once we move the head
1490 pbuf->start = sc->base_addr + fill_wrap * PIO_BLOCK_SIZE;
1491 pbuf->end = sc->base_addr + sc->size;
1492 pbuf->qw_written = 0;
1493 pbuf->carry_bytes = 0;
1494 pbuf->carry.val64 = 0;
1496 return pbuf;
1658 struct pio_buf *pbuf;
1685 pbuf = &sc->sr[tail].pbuf;
1687 if (sent_before(free, pbuf->sent_at)) {
1691 if (pbuf->cb) {
1694 (*pbuf->cb)(pbuf->arg, code);