Home
last modified time | relevance | path

Searched refs:bregs (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/sun/
H A Dsunhme.c901 static void happy_meal_tx_reset(struct happy_meal *hp, void __iomem *bregs) in happy_meal_tx_reset() argument
908 hme_write32(hp, bregs + BMAC_TXSWRESET, 0); in happy_meal_tx_reset()
909 while ((hme_read32(hp, bregs + BMAC_TXSWRESET) & 1) && --tries) in happy_meal_tx_reset()
921 static void happy_meal_rx_reset(struct happy_meal *hp, void __iomem *bregs) in happy_meal_rx_reset() argument
928 hme_write32(hp, bregs + BMAC_RXSWRESET, 0); in happy_meal_rx_reset()
929 while ((hme_read32(hp, bregs + BMAC_RXSWRESET) & 1) && --tries) in happy_meal_rx_reset()
963 static void happy_meal_get_counters(struct happy_meal *hp, void __iomem *bregs) in happy_meal_get_counters() argument
967 stats->rx_crc_errors += hme_read32(hp, bregs + BMAC_RCRCECTR); in happy_meal_get_counters()
968 hme_write32(hp, bregs + BMAC_RCRCECTR, 0); in happy_meal_get_counters()
970 stats->rx_frame_errors += hme_read32(hp, bregs + BMAC_UNALECTR); in happy_meal_get_counters()
[all …]
H A Dsunbmac.h292 void __iomem *bregs; /* BigMAC Registers */ member