Home
last modified time | relevance | path

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

/drivers/leds/
Dleds-nic78bx.c125 struct resource *io_rc; in nic78bx_probe() local
135 io_rc = platform_get_resource(pdev, IORESOURCE_IO, 0); in nic78bx_probe()
136 if (!io_rc) { in nic78bx_probe()
141 if (resource_size(io_rc) < NIC78BX_USER_LED_IO_SIZE) { in nic78bx_probe()
146 if (!devm_request_region(dev, io_rc->start, resource_size(io_rc), in nic78bx_probe()
152 led_data->io_base = io_rc->start; in nic78bx_probe()
/drivers/watchdog/
Dnic7018_wdt.c173 struct resource *io_rc; in nic7018_probe() local
182 io_rc = platform_get_resource(pdev, IORESOURCE_IO, 0); in nic7018_probe()
183 if (!io_rc) { in nic7018_probe()
188 if (!devm_request_region(dev, io_rc->start, resource_size(io_rc), in nic7018_probe()
194 wdt->io_base = io_rc->start; in nic7018_probe()
/drivers/pinctrl/intel/
Dpinctrl-lynxpoint.c808 struct resource *io_rc; in lp_gpio_probe() local
843 io_rc = platform_get_resource(pdev, IORESOURCE_IO, 0); in lp_gpio_probe()
844 if (!io_rc) { in lp_gpio_probe()
849 regs = devm_ioport_map(dev, io_rc->start, resource_size(io_rc)); in lp_gpio_probe()
851 dev_err(dev, "failed mapping IO region %pR\n", &io_rc); in lp_gpio_probe()