Searched refs:bregs (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | sunbmac.c | 129 static void bigmac_tx_reset(void __iomem *bregs) argument 133 sbus_writel(0, bregs + BMAC_TXCFG); 138 while ((sbus_readl(bregs + BMAC_TXCFG) & ~(BIGMAC_TXCFG_FIFO)) != 0 && 145 sbus_readl(bregs + BMAC_TXCFG)); 149 static void bigmac_rx_reset(void __iomem *bregs) argument 153 sbus_writel(0, bregs + BMAC_RXCFG); 154 while (sbus_readl(bregs + BMAC_RXCFG) && --tries) 160 sbus_readl(bregs + BMAC_RXCFG)); 167 bigmac_tx_reset(bp->bregs); 168 bigmac_rx_reset(bp->bregs); 171 bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) argument 628 void __iomem *bregs = bp->bregs; local 999 void __iomem *bregs = bp->bregs; local [all...] |
H A D | sunhme.c | 851 static void happy_meal_tx_reset(struct happy_meal *hp, void __iomem *bregs) argument 858 hme_write32(hp, bregs + BMAC_TXSWRESET, 0); 859 while ((hme_read32(hp, bregs + BMAC_TXSWRESET) & 1) && --tries) 871 static void happy_meal_rx_reset(struct happy_meal *hp, void __iomem *bregs) argument 878 hme_write32(hp, bregs + BMAC_RXSWRESET, 0); 879 while ((hme_read32(hp, bregs + BMAC_RXSWRESET) & 1) && --tries) 913 static void happy_meal_get_counters(struct happy_meal *hp, void __iomem *bregs) argument 917 stats->rx_crc_errors += hme_read32(hp, bregs + BMAC_RCRCECTR); 918 hme_write32(hp, bregs + BMAC_RCRCECTR, 0); 920 stats->rx_frame_errors += hme_read32(hp, bregs 1394 void __iomem *bregs = hp->bigmacregs; local 1687 void __iomem *bregs = hp->bigmacregs; local 2333 void __iomem *bregs = hp->bigmacregs; local [all...] |
H A D | sunbmac.h | 308 void __iomem *bregs; /* BigMAC Registers */ member in struct:bigmac
|
Completed in 93 milliseconds