Home
last modified time | relevance | path

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

/drivers/input/serio/
Dxilinx_ps2.c232 struct resource r_mem; /* IO mem resources */ in xps2_of_probe() local
243 error = of_address_to_resource(dev->of_node, 0, &r_mem); in xps2_of_probe()
268 phys_addr = r_mem.start; in xps2_of_probe()
269 remap_size = resource_size(&r_mem); in xps2_of_probe()
335 struct resource r_mem; /* IO mem resources */ in xps2_of_remove() local
341 if (of_address_to_resource(of_dev->dev.of_node, 0, &r_mem)) in xps2_of_remove()
344 release_mem_region(r_mem.start, resource_size(&r_mem)); in xps2_of_remove()
/drivers/staging/axis-fifo/
Daxis-fifo.c812 struct resource *r_mem; /* IO mem resources */ in axis_fifo_probe() local
845 r_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in axis_fifo_probe()
846 if (!r_mem) { in axis_fifo_probe()
853 fifo->base_addr = devm_ioremap_resource(fifo->dt_device, r_mem); in axis_fifo_probe()
863 DRIVER_NAME, &r_mem->start); in axis_fifo_probe()
887 &r_mem->start); in axis_fifo_probe()
941 &r_mem->start, &fifo->base_addr, fifo->irq, in axis_fifo_probe()
/drivers/i2c/busses/
Di2c-cadence.c1237 struct resource *r_mem; in cdns_i2c_probe() local
1255 id->membase = devm_platform_get_and_ioremap_resource(pdev, 0, &r_mem); in cdns_i2c_probe()
1273 "Cadence I2C at %08lx", (unsigned long)r_mem->start); in cdns_i2c_probe()
1326 id->i2c_clk / 1000, (unsigned long)r_mem->start, id->irq); in cdns_i2c_probe()