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

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

Completed in 38 milliseconds