npd 330 arch/arm/plat-samsung/devs.c struct s3c2410_platform_i2c *npd; npd 337 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c0); npd 339 arch/arm/plat-samsung/devs.c if (!npd->cfg_gpio) npd 340 arch/arm/plat-samsung/devs.c npd->cfg_gpio = s3c_i2c0_cfg_gpio; npd 358 arch/arm/plat-samsung/devs.c struct s3c2410_platform_i2c *npd; npd 365 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c1); npd 367 arch/arm/plat-samsung/devs.c if (!npd->cfg_gpio) npd 368 arch/arm/plat-samsung/devs.c npd->cfg_gpio = s3c_i2c1_cfg_gpio; npd 387 arch/arm/plat-samsung/devs.c struct s3c2410_platform_i2c *npd; npd 394 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c2); npd 396 arch/arm/plat-samsung/devs.c if (!npd->cfg_gpio) npd 397 arch/arm/plat-samsung/devs.c npd->cfg_gpio = s3c_i2c2_cfg_gpio; npd 416 arch/arm/plat-samsung/devs.c struct s3c2410_platform_i2c *npd; npd 423 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c3); npd 425 arch/arm/plat-samsung/devs.c if (!npd->cfg_gpio) npd 426 arch/arm/plat-samsung/devs.c npd->cfg_gpio = s3c_i2c3_cfg_gpio; npd 445 arch/arm/plat-samsung/devs.c struct s3c2410_platform_i2c *npd; npd 452 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c4); npd 454 arch/arm/plat-samsung/devs.c if (!npd->cfg_gpio) npd 455 arch/arm/plat-samsung/devs.c npd->cfg_gpio = s3c_i2c4_cfg_gpio; npd 474 arch/arm/plat-samsung/devs.c struct s3c2410_platform_i2c *npd; npd 481 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c5); npd 483 arch/arm/plat-samsung/devs.c if (!npd->cfg_gpio) npd 484 arch/arm/plat-samsung/devs.c npd->cfg_gpio = s3c_i2c5_cfg_gpio; npd 503 arch/arm/plat-samsung/devs.c struct s3c2410_platform_i2c *npd; npd 510 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c6); npd 512 arch/arm/plat-samsung/devs.c if (!npd->cfg_gpio) npd 513 arch/arm/plat-samsung/devs.c npd->cfg_gpio = s3c_i2c6_cfg_gpio; npd 532 arch/arm/plat-samsung/devs.c struct s3c2410_platform_i2c *npd; npd 539 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c7); npd 541 arch/arm/plat-samsung/devs.c if (!npd->cfg_gpio) npd 542 arch/arm/plat-samsung/devs.c npd->cfg_gpio = s3c_i2c7_cfg_gpio; npd 603 arch/arm/plat-samsung/devs.c struct samsung_keypad_platdata *npd; npd 605 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &samsung_device_keypad); npd 607 arch/arm/plat-samsung/devs.c if (!npd->cfg_gpio) npd 608 arch/arm/plat-samsung/devs.c npd->cfg_gpio = samsung_keypad_cfg_gpio; npd 633 arch/arm/plat-samsung/devs.c struct s3c2410fb_mach_info *npd; npd 635 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_lcd); npd 636 arch/arm/plat-samsung/devs.c if (npd) { npd 637 arch/arm/plat-samsung/devs.c npd->displays = kmemdup(pd->displays, npd 638 arch/arm/plat-samsung/devs.c sizeof(struct s3c2410fb_display) * npd->num_displays, npd 640 arch/arm/plat-samsung/devs.c if (!npd->displays) npd 701 arch/arm/plat-samsung/devs.c struct s3c2410_platform_nand *npd; npd 710 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(nand, sizeof(*npd), &s3c_device_nand); npd 711 arch/arm/plat-samsung/devs.c if (!npd) npd 716 arch/arm/plat-samsung/devs.c size = sizeof(struct s3c2410_nand_set) * npd->nr_sets; npd 718 arch/arm/plat-samsung/devs.c struct s3c2410_nand_set *from = npd->sets; npd 723 arch/arm/plat-samsung/devs.c npd->sets = to; /* set, even if we failed */ npd 730 arch/arm/plat-samsung/devs.c for (i = 0; i < npd->nr_sets; i++) { npd 1008 arch/arm/plat-samsung/devs.c struct dwc2_hsotg_plat *npd; npd 1010 arch/arm/plat-samsung/devs.c npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_usb_hsotg); npd 1012 arch/arm/plat-samsung/devs.c if (!npd->phy_init) npd 1013 arch/arm/plat-samsung/devs.c npd->phy_init = s5p_usb_phy_init; npd 1014 arch/arm/plat-samsung/devs.c if (!npd->phy_exit) npd 1015 arch/arm/plat-samsung/devs.c npd->phy_exit = s5p_usb_phy_exit; npd 18 arch/arm/plat-samsung/platformdata.c void *npd; npd 26 arch/arm/plat-samsung/platformdata.c npd = kmemdup(pd, pdsize, GFP_KERNEL); npd 27 arch/arm/plat-samsung/platformdata.c if (!npd) npd 30 arch/arm/plat-samsung/platformdata.c pdev->dev.platform_data = npd; npd 31 arch/arm/plat-samsung/platformdata.c return npd;