Lines Matching refs:GRETH_REGSAVE
84 #define GRETH_REGSAVE(a, v) (__raw_writel(cpu_to_be32(v), &(a)))
85 #define GRETH_REGORIN(a, v) (GRETH_REGSAVE(a, (GRETH_REGLOAD(a) | (v))))
86 #define GRETH_REGANDIN(a, v) (GRETH_REGSAVE(a, (GRETH_REGLOAD(a) & (v))))
325 GRETH_REGSAVE(greth->regs->tx_desc_p, greth->tx_bd_base_phys);
326 GRETH_REGSAVE(greth->regs->rx_desc_p, greth->rx_bd_base_phys);
978 GRETH_REGSAVE(regs->esa_msb, addr->sa_data[0] << 8 | addr->sa_data[1]);
979 GRETH_REGSAVE(regs->esa_lsb,
1005 GRETH_REGSAVE(regs->hash_msb, mc_filter[1]);
1006 GRETH_REGSAVE(regs->hash_lsb, mc_filter[0]);
1023 GRETH_REGSAVE(regs->hash_msb, -1);
1024 GRETH_REGSAVE(regs->hash_lsb, -1);
1026 GRETH_REGSAVE(regs->control, cfg);
1032 GRETH_REGSAVE(regs->control, cfg);
1040 GRETH_REGSAVE(regs->control, cfg);
1180 GRETH_REGSAVE(greth->regs->mdio, ((phy & 0x1F) << 11) | ((reg & 0x1F) << 6) | 2);
1201 GRETH_REGSAVE(greth->regs->mdio,
1424 GRETH_REGSAVE(regs->control, GRETH_RESET);
1527 GRETH_REGSAVE(regs->esa_msb, dev->dev_addr[0] << 8 | dev->dev_addr[1]);
1528 GRETH_REGSAVE(regs->esa_lsb, dev->dev_addr[2] << 24 | dev->dev_addr[3] << 16 |
1532 GRETH_REGSAVE(regs->status, 0xFF);