Lines Matching refs:greth_read_bd
160 static inline u32 greth_read_bd(u32 *bd) in greth_read_bd() function
178 greth_read_bd(&rx_bdp->addr), in greth_clean_rings()
193 greth_read_bd(&tx_bdp->addr), in greth_clean_rings()
202 greth_read_bd(&tx_bdp->addr), in greth_clean_rings()
218 greth_read_bd(&rx_bdp->addr), in greth_clean_rings()
225 greth_read_bd(&tx_bdp->addr), in greth_clean_rings()
320 greth_read_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat) | GRETH_BD_WR); in greth_init_rings()
426 dma_addr = greth_read_bd(&bdp->addr); in greth_start_xmit()
556 greth_read_bd(&bdp->stat) | GRETH_BD_EN); in greth_start_xmit_gbit()
570 greth_read_bd(&bdp->addr), in greth_start_xmit_gbit()
571 greth_read_bd(&bdp->stat) & GRETH_BD_LEN, in greth_start_xmit_gbit()
630 stat = greth_read_bd(&bdp->stat); in greth_clean_tx()
695 stat = greth_read_bd(&bdp_last_frag->stat); in greth_clean_tx_gbit()
710 greth_read_bd(&bdp->addr), in greth_clean_tx_gbit()
719 greth_read_bd(&bdp->addr), in greth_clean_tx_gbit()
755 status = greth_read_bd(&bdp->stat); in greth_rx()
761 dma_addr = greth_read_bd(&bdp->addr); in greth_rx()
872 status = greth_read_bd(&bdp->stat); in greth_rx_gbit()
909 greth_read_bd(&bdp->addr), in greth_rx_gbit()
914 greth_print_rx_packet(phys_to_virt(greth_read_bd(&bdp->addr)), pkt_len); in greth_rx_gbit()
1129 buff[i] = greth_read_bd(&greth_regs[i]); in greth_get_regs()