Searched refs:rsrc_regs (Results 1 - 2 of 2) sorted by relevance

/drivers/net/ethernet/ibm/emac/
H A Dcore.h171 struct resource rsrc_regs; member in struct:emac_instance
465 #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)
H A Dcore.c2759 if (of_address_to_resource(np, 0, &dev->rsrc_regs)) {
2765 dev->emacp = ioremap(dev->rsrc_regs.start,
2766 resource_size(&dev->rsrc_regs));

Completed in 401 milliseconds