Searched refs:res_ctrl (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/spi/ |
D | spi-ti-qspi.c | 441 struct resource *r, *res_ctrl, *res_mmap; in ti_qspi_probe() local 487 res_ctrl = platform_get_resource_byname(pdev, in ti_qspi_probe() 489 if (res_ctrl == NULL) { in ti_qspi_probe() 490 res_ctrl = platform_get_resource(pdev, IORESOURCE_MEM, 2); in ti_qspi_probe() 491 if (res_ctrl == NULL) { in ti_qspi_probe() 511 if (res_ctrl) { in ti_qspi_probe() 513 qspi->ctrl_base = devm_ioremap_resource(&pdev->dev, res_ctrl); in ti_qspi_probe()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 1943 struct resource *res, *res_ctrl; in davinci_emac_probe() local 2003 res_ctrl = platform_get_resource(pdev, IORESOURCE_MEM, 1); in davinci_emac_probe() 2004 if (res_ctrl) { in davinci_emac_probe() 2006 devm_ioremap_resource(&pdev->dev, res_ctrl); in davinci_emac_probe() 2062 rc = davinci_emac_try_get_mac(pdev, res_ctrl ? 0 : 1, priv->mac_addr); in davinci_emac_probe()
|