Lines Matching defs:res
242 struct resource res;
251 of_address_to_resource(np, 0, &res);
254 printk("Found RTC (m48t59) at i/o 0x%x\n", res.start);
256 rtc_dev = platform_device_register_simple("rtc-m48t59", 0, &res, 1);
275 struct resource res;
283 of_address_to_resource(np, 0, &res);
285 printk(KERN_INFO "sbc8560: Found BRSTCR at i/o 0x%x\n", res.start);
287 brstcr = ioremap(res.start, res.end - res.start);