Home
last modified time | relevance | path

Searched refs:res_mem (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/gpio/
Dgpio-amdpt.c81 struct resource *res_mem; in pt_gpio_probe() local
93 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in pt_gpio_probe()
94 if (!res_mem) { in pt_gpio_probe()
98 pt_gpio->reg_base = devm_ioremap_resource(dev, res_mem); in pt_gpio_probe()
Dgpio-octeon.c85 struct resource *res_mem; in octeon_gpio_probe() local
94 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in octeon_gpio_probe()
95 reg_base = devm_ioremap_resource(&pdev->dev, res_mem); in octeon_gpio_probe()
/linux-4.19.296/drivers/i2c/busses/
Di2c-octeon-platdrv.c139 struct resource *res_mem; in octeon_i2c_probe() local
170 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in octeon_i2c_probe()
171 i2c->twsi_base = devm_ioremap_resource(&pdev->dev, res_mem); in octeon_i2c_probe()