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))))
406 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_start_xmit()
594 status = GRETH_REGLOAD(greth->regs->status); in greth_interrupt()
600 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_interrupt()
991 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_poll()
1003 if (GRETH_REGLOAD(greth->regs->status) & mask) { in greth_poll()
1066 cfg = GRETH_REGLOAD(regs->control); in greth_set_multicast_list()
1155 while (GRETH_REGLOAD(greth->regs->mdio) & GRETH_MII_BUSY) { in wait_for_mdio()
1175 if (!(GRETH_REGLOAD(greth->regs->mdio) & GRETH_MII_NVALID)) { in greth_mdio_read()
1176 data = (GRETH_REGLOAD(greth->regs->mdio) >> 16) & 0xFFFF; in greth_mdio_read()
1213 ctrl = GRETH_REGLOAD(greth->regs->control) & in greth_link_change()
1394 while (GRETH_REGLOAD(regs->control) & GRETH_RESET) { in greth_of_probe()
1404 greth->phyaddr = (GRETH_REGLOAD(regs->mdio) >> 11) & 0x1F; in greth_of_probe()
1407 tmp = GRETH_REGLOAD(regs->control); in greth_of_probe()