Searched refs:lmdev (Results 1 – 2 of 2) sorted by relevance
311 struct lm_device *lmdev; in ap_init_of() local316 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()
27 struct lm_device *lmdev = to_lm_device(dev); in lm_bus_probe() local30 return lmdrv->probe(lmdev); in lm_bus_probe()35 struct lm_device *lmdev = to_lm_device(dev); in lm_bus_remove() local39 lmdrv->remove(lmdev); in lm_bus_remove()