Lines Matching refs:GRETH_REGLOAD
84 #define GRETH_REGLOAD(a) (be32_to_cpu(__raw_readl(&(a)))) macro
86 #define GRETH_REGORIN(a, v) (GRETH_REGSAVE(a, (GRETH_REGLOAD(a) | (v))))
87 #define GRETH_REGANDIN(a, v) (GRETH_REGSAVE(a, (GRETH_REGLOAD(a) & (v))))
409 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_start_xmit()
597 status = GRETH_REGLOAD(greth->regs->status); in greth_interrupt()
603 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_interrupt()
994 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_poll()
1006 if (GRETH_REGLOAD(greth->regs->status) & mask) { in greth_poll()
1069 cfg = GRETH_REGLOAD(regs->control); in greth_set_multicast_list()
1179 while (GRETH_REGLOAD(greth->regs->mdio) & GRETH_MII_BUSY) { in wait_for_mdio()
1199 if (!(GRETH_REGLOAD(greth->regs->mdio) & GRETH_MII_NVALID)) { in greth_mdio_read()
1200 data = (GRETH_REGLOAD(greth->regs->mdio) >> 16) & 0xFFFF; in greth_mdio_read()
1237 ctrl = GRETH_REGLOAD(greth->regs->control) & in greth_link_change()
1431 while (GRETH_REGLOAD(regs->control) & GRETH_RESET) { in greth_of_probe()
1441 greth->phyaddr = (GRETH_REGLOAD(regs->mdio) >> 11) & 0x1F; in greth_of_probe()
1444 tmp = GRETH_REGLOAD(regs->control); in greth_of_probe()