Lines Matching defs:npd
150 struct s3c2410fb_mach_info *npd;
152 npd = kmemdup(pd, sizeof(*npd), GFP_KERNEL);
153 if (npd) {
154 s3c_device_lcd.dev.platform_data = npd;
155 npd->displays = kmemdup(pd->displays,
156 sizeof(struct s3c2410fb_display) * npd->num_displays,
158 if (!npd->displays)
226 struct s3c2410_udc_mach_info *npd;
228 npd = kmalloc(sizeof(*npd), GFP_KERNEL);
229 if (npd) {
230 memcpy(npd, pd, sizeof(*npd));
231 s3c_device_usbgadget.dev.platform_data = npd;
346 struct s3c24xx_mci_pdata *npd;
348 npd = kmemdup(pdata, sizeof(struct s3c24xx_mci_pdata), GFP_KERNEL);
349 if (!npd)
352 s3c_device_sdi.dev.platform_data = npd;