Searched refs:rsrc_regs (Results 1 – 2 of 2) sorted by relevance
171 struct resource rsrc_regs; member465 #define EMAC_ETHTOOL_REGS_SIZE(dev) ((dev)->rsrc_regs.end - \466 (dev)->rsrc_regs.start + 1)468 #define EMAC4_ETHTOOL_REGS_SIZE(dev) ((dev)->rsrc_regs.end - \469 (dev)->rsrc_regs.start + 1)
2759 if (of_address_to_resource(np, 0, &dev->rsrc_regs)) { in emac_probe()2765 dev->emacp = ioremap(dev->rsrc_regs.start, in emac_probe()2766 resource_size(&dev->rsrc_regs)); in emac_probe()