Searched refs:lmdev (Results 1 – 2 of 2) sorted by relevance
202 struct lm_device *lmdev; in ap_init_of() local207 lmdev = kzalloc(sizeof(struct lm_device), GFP_KERNEL); in ap_init_of()208 if (!lmdev) in ap_init_of()211 lmdev->resource.start = 0xc0000000 + 0x10000000 * i; in ap_init_of()212 lmdev->resource.end = lmdev->resource.start + 0x0fffffff; in ap_init_of()213 lmdev->resource.flags = IORESOURCE_MEM; in ap_init_of()214 lmdev->irq = irq_of_parse_and_map(syscon, i); in ap_init_of()215 lmdev->id = i; in ap_init_of()217 lm_device_register(lmdev); in ap_init_of()
24 struct lm_device *lmdev = to_lm_device(dev); in lm_bus_probe() local27 return lmdrv->probe(lmdev); in lm_bus_probe()32 struct lm_device *lmdev = to_lm_device(dev); in lm_bus_remove() local36 lmdrv->remove(lmdev); in lm_bus_remove()