Lines Matching refs:GRETH_REGLOAD
81 #define GRETH_REGLOAD(a) (be32_to_cpu(__raw_readl(&(a)))) macro
83 #define GRETH_REGORIN(a, v) (GRETH_REGSAVE(a, (GRETH_REGLOAD(a) | (v))))
84 #define GRETH_REGANDIN(a, v) (GRETH_REGSAVE(a, (GRETH_REGLOAD(a) & (v))))
407 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_start_xmit()
595 status = GRETH_REGLOAD(greth->regs->status); in greth_interrupt()
601 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_interrupt()
992 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_poll()
1004 if (GRETH_REGLOAD(greth->regs->status) & mask) { in greth_poll()
1067 cfg = GRETH_REGLOAD(regs->control); in greth_set_multicast_list()
1154 while (GRETH_REGLOAD(greth->regs->mdio) & GRETH_MII_BUSY) { in wait_for_mdio()
1174 if (!(GRETH_REGLOAD(greth->regs->mdio) & GRETH_MII_NVALID)) { in greth_mdio_read()
1175 data = (GRETH_REGLOAD(greth->regs->mdio) >> 16) & 0xFFFF; in greth_mdio_read()
1212 ctrl = GRETH_REGLOAD(greth->regs->control) & in greth_link_change()
1393 while (GRETH_REGLOAD(regs->control) & GRETH_RESET) { in greth_of_probe()
1403 greth->phyaddr = (GRETH_REGLOAD(regs->mdio) >> 11) & 0x1F; in greth_of_probe()
1406 tmp = GRETH_REGLOAD(regs->control); in greth_of_probe()