Home
last modified time | relevance | path

Searched refs:lmdev (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/arch/arm/mach-integrator/
Dintegrator_ap.c311 struct lm_device *lmdev; in ap_init_of() local
316 lmdev = kzalloc(sizeof(struct lm_device), GFP_KERNEL); in ap_init_of()
317 if (!lmdev) in ap_init_of()
320 lmdev->resource.start = 0xc0000000 + 0x10000000 * i; in ap_init_of()
321 lmdev->resource.end = lmdev->resource.start + 0x0fffffff; in ap_init_of()
322 lmdev->resource.flags = IORESOURCE_MEM; in ap_init_of()
323 lmdev->irq = irq_of_parse_and_map(syscon, i); in ap_init_of()
324 lmdev->id = i; in ap_init_of()
326 lm_device_register(lmdev); in ap_init_of()
Dlm.c27 struct lm_device *lmdev = to_lm_device(dev); in lm_bus_probe() local
30 return lmdrv->probe(lmdev); in lm_bus_probe()
35 struct lm_device *lmdev = to_lm_device(dev); in lm_bus_remove() local
39 lmdrv->remove(lmdev); in lm_bus_remove()