Lines Matching refs:lmdev
311 struct lm_device *lmdev;
316 lmdev = kzalloc(sizeof(struct lm_device), GFP_KERNEL);
317 if (!lmdev)
320 lmdev->resource.start = 0xc0000000 + 0x10000000 * i;
321 lmdev->resource.end = lmdev->resource.start + 0x0fffffff;
322 lmdev->resource.flags = IORESOURCE_MEM;
323 lmdev->irq = IRQ_AP_EXPINT0 + i;
324 lmdev->id = i;
326 lm_device_register(lmdev);