Home
last modified time | relevance | path

Searched refs:res_regs (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/irqchip/
H A Dirq-imgpdc.c298 struct resource *res_regs; in pdc_intc_probe() local
308 res_regs = platform_get_resource(pdev, IORESOURCE_MEM, 0); in pdc_intc_probe()
309 if (res_regs == NULL) { in pdc_intc_probe()
322 priv->pdc_base = devm_ioremap(&pdev->dev, res_regs->start, in pdc_intc_probe()
323 resource_size(res_regs)); in pdc_intc_probe()
/linux/drivers/net/ethernet/arc/
H A Demac_main.c856 struct resource res_regs; in arc_emac_probe() local
871 err = of_address_to_resource(dev->of_node, 0, &res_regs); in arc_emac_probe()
893 priv->regs = devm_ioremap_resource(dev, &res_regs); in arc_emac_probe()