Lines Matching refs:bdp
397 struct greth_bd *bdp;
425 bdp = greth->tx_bd_base + greth->tx_next;
426 dma_addr = greth_read_bd(&bdp->addr);
444 greth_write_bd(&bdp->stat, status);
466 struct greth_bd *bdp;
506 bdp = greth->tx_bd_base + greth->tx_next;
507 greth_write_bd(&bdp->stat, status);
513 greth_write_bd(&bdp->addr, dma_addr);
521 bdp = greth->tx_bd_base + curr_tx;
538 greth_write_bd(&bdp->stat, status);
546 greth_write_bd(&bdp->addr, dma_addr);
554 bdp = greth->tx_bd_base + greth->tx_next;
555 greth_write_bd(&bdp->stat,
556 greth_read_bd(&bdp->stat) | GRETH_BD_EN);
568 bdp = greth->tx_bd_base + greth->tx_next + i;
570 greth_read_bd(&bdp->addr),
571 greth_read_bd(&bdp->stat) & GRETH_BD_LEN,
573 greth_write_bd(&bdp->stat, 0);
621 struct greth_bd *bdp;
627 bdp = greth->tx_bd_base + greth->tx_last;
630 stat = greth_read_bd(&bdp->stat);
675 struct greth_bd *bdp, *bdp_last_frag;
705 bdp = greth->tx_bd_base + tx_last;
710 greth_read_bd(&bdp->addr),
716 bdp = greth->tx_bd_base + tx_last;
719 greth_read_bd(&bdp->addr),
741 struct greth_bd *bdp;
752 bdp = greth->rx_bd_base + greth->rx_cur;
755 status = greth_read_bd(&bdp->stat);
761 dma_addr = greth_read_bd(&bdp->addr);
822 greth_write_bd(&bdp->stat, status);
857 struct greth_bd *bdp;
868 bdp = greth->rx_bd_base + greth->rx_cur;
872 status = greth_read_bd(&bdp->stat);
909 greth_read_bd(&bdp->addr),
914 greth_print_rx_packet(phys_to_virt(greth_read_bd(&bdp->addr)), pkt_len);
929 greth_write_bd(&bdp->addr, dma_addr);
959 greth_write_bd(&bdp->stat, status);