Searched refs:r_mem (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/input/serio/ |
H A D | xilinx_ps2.c | 232 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()
|
/openbmc/linux/arch/mips/txx9/generic/ |
H A D | pci.c | 117 struct resource r_mem[2]; in txx9_alloc_pci_controller() member 126 new->r_mem[0].name = "PCI mem"; in txx9_alloc_pci_controller() 127 new->r_mem[1].name = "PCI mmio"; in txx9_alloc_pci_controller() 129 new->c.mem_resource = new->r_mem; in txx9_alloc_pci_controller()
|
/openbmc/linux/drivers/staging/axis-fifo/ |
H A D | axis-fifo.c | 806 struct resource *r_mem; /* IO mem resources */ in axis_fifo_probe() local 841 fifo->base_addr = devm_platform_get_and_ioremap_resource(pdev, 0, &r_mem); in axis_fifo_probe() 850 snprintf(device_name, 32, "%s_%pa", DRIVER_NAME, &r_mem->start); in axis_fifo_probe()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-cadence.c | 1282 struct resource *r_mem; in cdns_i2c_probe() local 1311 id->membase = devm_platform_get_and_ioremap_resource(pdev, 0, &r_mem); in cdns_i2c_probe() 1328 "Cadence I2C at %08lx", (unsigned long)r_mem->start); in cdns_i2c_probe() 1398 id->i2c_clk / 1000, (unsigned long)r_mem->start, irq); in cdns_i2c_probe()
|