Searched refs:npd (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/arch/arm/plat-samsung/
H A Ddevs.c338 struct s3c2410_platform_i2c *npd; s3c_i2c0_set_platdata() local
345 npd = s3c_set_platdata(pd, sizeof(struct s3c2410_platform_i2c), s3c_i2c0_set_platdata()
348 if (!npd->cfg_gpio) s3c_i2c0_set_platdata()
349 npd->cfg_gpio = s3c_i2c0_cfg_gpio; s3c_i2c0_set_platdata()
367 struct s3c2410_platform_i2c *npd; s3c_i2c1_set_platdata() local
374 npd = s3c_set_platdata(pd, sizeof(struct s3c2410_platform_i2c), s3c_i2c1_set_platdata()
377 if (!npd->cfg_gpio) s3c_i2c1_set_platdata()
378 npd->cfg_gpio = s3c_i2c1_cfg_gpio; s3c_i2c1_set_platdata()
397 struct s3c2410_platform_i2c *npd; s3c_i2c2_set_platdata() local
404 npd = s3c_set_platdata(pd, sizeof(struct s3c2410_platform_i2c), s3c_i2c2_set_platdata()
407 if (!npd->cfg_gpio) s3c_i2c2_set_platdata()
408 npd->cfg_gpio = s3c_i2c2_cfg_gpio; s3c_i2c2_set_platdata()
427 struct s3c2410_platform_i2c *npd; s3c_i2c3_set_platdata() local
434 npd = s3c_set_platdata(pd, sizeof(struct s3c2410_platform_i2c), s3c_i2c3_set_platdata()
437 if (!npd->cfg_gpio) s3c_i2c3_set_platdata()
438 npd->cfg_gpio = s3c_i2c3_cfg_gpio; s3c_i2c3_set_platdata()
457 struct s3c2410_platform_i2c *npd; s3c_i2c4_set_platdata() local
464 npd = s3c_set_platdata(pd, sizeof(struct s3c2410_platform_i2c), s3c_i2c4_set_platdata()
467 if (!npd->cfg_gpio) s3c_i2c4_set_platdata()
468 npd->cfg_gpio = s3c_i2c4_cfg_gpio; s3c_i2c4_set_platdata()
487 struct s3c2410_platform_i2c *npd; s3c_i2c5_set_platdata() local
494 npd = s3c_set_platdata(pd, sizeof(struct s3c2410_platform_i2c), s3c_i2c5_set_platdata()
497 if (!npd->cfg_gpio) s3c_i2c5_set_platdata()
498 npd->cfg_gpio = s3c_i2c5_cfg_gpio; s3c_i2c5_set_platdata()
517 struct s3c2410_platform_i2c *npd; s3c_i2c6_set_platdata() local
524 npd = s3c_set_platdata(pd, sizeof(struct s3c2410_platform_i2c), s3c_i2c6_set_platdata()
527 if (!npd->cfg_gpio) s3c_i2c6_set_platdata()
528 npd->cfg_gpio = s3c_i2c6_cfg_gpio; s3c_i2c6_set_platdata()
547 struct s3c2410_platform_i2c *npd; s3c_i2c7_set_platdata() local
554 npd = s3c_set_platdata(pd, sizeof(struct s3c2410_platform_i2c), s3c_i2c7_set_platdata()
557 if (!npd->cfg_gpio) s3c_i2c7_set_platdata()
558 npd->cfg_gpio = s3c_i2c7_cfg_gpio; s3c_i2c7_set_platdata()
619 struct samsung_keypad_platdata *npd; samsung_keypad_set_platdata() local
621 npd = s3c_set_platdata(pd, sizeof(struct samsung_keypad_platdata), samsung_keypad_set_platdata()
624 if (!npd->cfg_gpio) samsung_keypad_set_platdata()
625 npd->cfg_gpio = samsung_keypad_cfg_gpio; samsung_keypad_set_platdata()
650 struct s3c2410fb_mach_info *npd; s3c24xx_fb_set_platdata() local
652 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_lcd); s3c24xx_fb_set_platdata()
653 if (npd) { s3c24xx_fb_set_platdata()
654 npd->displays = kmemdup(pd->displays, s3c24xx_fb_set_platdata()
655 sizeof(struct s3c2410fb_display) * npd->num_displays, s3c24xx_fb_set_platdata()
657 if (!npd->displays) s3c24xx_fb_set_platdata()
727 struct s3c2410_platform_nand *npd; s3c_nand_set_platdata() local
736 npd = s3c_set_platdata(nand, sizeof(struct s3c2410_platform_nand), s3c_nand_set_platdata()
738 if (!npd) s3c_nand_set_platdata()
743 size = sizeof(struct s3c2410_nand_set) * npd->nr_sets; s3c_nand_set_platdata()
745 struct s3c2410_nand_set *from = npd->sets; s3c_nand_set_platdata()
750 npd->sets = to; /* set, even if we failed */ s3c_nand_set_platdata()
757 for (i = 0; i < npd->nr_sets; i++) { s3c_nand_set_platdata()
1047 struct s3c_hsotg_plat *npd; s3c_hsotg_set_platdata() local
1049 npd = s3c_set_platdata(pd, sizeof(struct s3c_hsotg_plat), s3c_hsotg_set_platdata()
1052 if (!npd->phy_init) s3c_hsotg_set_platdata()
1053 npd->phy_init = s5p_usb_phy_init; s3c_hsotg_set_platdata()
1054 if (!npd->phy_exit) s3c_hsotg_set_platdata()
1055 npd->phy_exit = s5p_usb_phy_exit; s3c_hsotg_set_platdata()
H A Dplatformdata.c23 void *npd; s3c_set_platdata() local
31 npd = kmemdup(pd, pdsize, GFP_KERNEL); s3c_set_platdata()
32 if (!npd) { s3c_set_platdata()
37 pdev->dev.platform_data = npd; s3c_set_platdata()
38 return npd; s3c_set_platdata()
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_init_chip.c880 struct ipath_portdata *npd; ipath_init_chip() local
887 npd = create_portdata0(dd); ipath_init_chip()
888 if (npd) { ipath_init_chip()
890 dd->ipath_pd[0] = npd; ipath_init_chip()
891 pd = npd; ipath_init_chip()

Completed in 132 milliseconds