Lines Matching refs:pd

165 void __init s3c_fb_set_platdata(struct s3c_fb_platdata *pd)  in s3c_fb_set_platdata()  argument
167 s3c_set_platdata(pd, sizeof(struct s3c_fb_platdata), in s3c_fb_set_platdata()
181 void __init s3c_hwmon_set_platdata(struct s3c_hwmon_pdata *pd) in s3c_hwmon_set_platdata() argument
183 s3c_set_platdata(pd, sizeof(struct s3c_hwmon_pdata), in s3c_hwmon_set_platdata()
214 void s3c_sdhci0_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci0_set_platdata() argument
216 s3c_sdhci_set_platdata(pd, &s3c_hsmmc0_def_platdata); in s3c_sdhci0_set_platdata()
244 void s3c_sdhci1_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci1_set_platdata() argument
246 s3c_sdhci_set_platdata(pd, &s3c_hsmmc1_def_platdata); in s3c_sdhci1_set_platdata()
276 void s3c_sdhci2_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci2_set_platdata() argument
278 s3c_sdhci_set_platdata(pd, &s3c_hsmmc2_def_platdata); in s3c_sdhci2_set_platdata()
306 void s3c_sdhci3_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci3_set_platdata() argument
308 s3c_sdhci_set_platdata(pd, &s3c_hsmmc3_def_platdata); in s3c_sdhci3_set_platdata()
333 void __init s3c_i2c0_set_platdata(struct s3c2410_platform_i2c *pd) in s3c_i2c0_set_platdata() argument
337 if (!pd) { in s3c_i2c0_set_platdata()
338 pd = &default_i2c_data; in s3c_i2c0_set_platdata()
339 pd->bus_num = 0; in s3c_i2c0_set_platdata()
342 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c0); in s3c_i2c0_set_platdata()
361 void __init s3c_i2c1_set_platdata(struct s3c2410_platform_i2c *pd) in s3c_i2c1_set_platdata() argument
365 if (!pd) { in s3c_i2c1_set_platdata()
366 pd = &default_i2c_data; in s3c_i2c1_set_platdata()
367 pd->bus_num = 1; in s3c_i2c1_set_platdata()
370 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c1); in s3c_i2c1_set_platdata()
390 void __init s3c_i2c2_set_platdata(struct s3c2410_platform_i2c *pd) in s3c_i2c2_set_platdata() argument
394 if (!pd) { in s3c_i2c2_set_platdata()
395 pd = &default_i2c_data; in s3c_i2c2_set_platdata()
396 pd->bus_num = 2; in s3c_i2c2_set_platdata()
399 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c2); in s3c_i2c2_set_platdata()
419 void __init s3c_i2c3_set_platdata(struct s3c2410_platform_i2c *pd) in s3c_i2c3_set_platdata() argument
423 if (!pd) { in s3c_i2c3_set_platdata()
424 pd = &default_i2c_data; in s3c_i2c3_set_platdata()
425 pd->bus_num = 3; in s3c_i2c3_set_platdata()
428 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c3); in s3c_i2c3_set_platdata()
448 void __init s3c_i2c4_set_platdata(struct s3c2410_platform_i2c *pd) in s3c_i2c4_set_platdata() argument
452 if (!pd) { in s3c_i2c4_set_platdata()
453 pd = &default_i2c_data; in s3c_i2c4_set_platdata()
454 pd->bus_num = 4; in s3c_i2c4_set_platdata()
457 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c4); in s3c_i2c4_set_platdata()
477 void __init s3c_i2c5_set_platdata(struct s3c2410_platform_i2c *pd) in s3c_i2c5_set_platdata() argument
481 if (!pd) { in s3c_i2c5_set_platdata()
482 pd = &default_i2c_data; in s3c_i2c5_set_platdata()
483 pd->bus_num = 5; in s3c_i2c5_set_platdata()
486 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c5); in s3c_i2c5_set_platdata()
506 void __init s3c_i2c6_set_platdata(struct s3c2410_platform_i2c *pd) in s3c_i2c6_set_platdata() argument
510 if (!pd) { in s3c_i2c6_set_platdata()
511 pd = &default_i2c_data; in s3c_i2c6_set_platdata()
512 pd->bus_num = 6; in s3c_i2c6_set_platdata()
515 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c6); in s3c_i2c6_set_platdata()
535 void __init s3c_i2c7_set_platdata(struct s3c2410_platform_i2c *pd) in s3c_i2c7_set_platdata() argument
539 if (!pd) { in s3c_i2c7_set_platdata()
540 pd = &default_i2c_data; in s3c_i2c7_set_platdata()
541 pd->bus_num = 7; in s3c_i2c7_set_platdata()
544 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c7); in s3c_i2c7_set_platdata()
606 void __init samsung_keypad_set_platdata(struct samsung_keypad_platdata *pd) in samsung_keypad_set_platdata() argument
610 npd = s3c_set_platdata(pd, sizeof(*npd), &samsung_device_keypad); in samsung_keypad_set_platdata()
636 void __init s3c24xx_fb_set_platdata(struct s3c2410fb_mach_info *pd) in s3c24xx_fb_set_platdata() argument
640 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_lcd); in s3c24xx_fb_set_platdata()
642 npd->displays = kmemdup(pd->displays, in s3c24xx_fb_set_platdata()
800 void __init samsung_pwm_set_platdata(struct samsung_pwm_variant *pd) in samsung_pwm_set_platdata() argument
802 samsung_device_pwm.dev.platform_data = pd; in samsung_pwm_set_platdata()
952 void __init s3c64xx_ts_set_platdata(struct s3c2410_ts_mach_info *pd) in s3c64xx_ts_set_platdata() argument
954 if (!pd) in s3c64xx_ts_set_platdata()
955 pd = &default_ts_data; in s3c64xx_ts_set_platdata()
957 s3c_set_platdata(pd, sizeof(struct s3c2410_ts_mach_info), in s3c64xx_ts_set_platdata()
1012 void __init s3c24xx_udc_set_platdata(struct s3c2410_udc_mach_info *pd) in s3c24xx_udc_set_platdata() argument
1014 s3c_set_platdata(pd, sizeof(*pd), &s3c_device_usbgadget); in s3c24xx_udc_set_platdata()
1037 void __init dwc2_hsotg_set_platdata(struct dwc2_hsotg_plat *pd) in dwc2_hsotg_set_platdata() argument
1041 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_usb_hsotg); in dwc2_hsotg_set_platdata()
1069 void __init s3c24xx_hsudc_set_platdata(struct s3c24xx_hsudc_platdata *pd) in s3c24xx_hsudc_set_platdata() argument
1071 s3c_set_platdata(pd, sizeof(*pd), &s3c_device_usb_hsudc); in s3c24xx_hsudc_set_platdata()
1072 pd->phy_init = s3c_hsudc_init_phy; in s3c24xx_hsudc_set_platdata()
1073 pd->phy_uninit = s3c_hsudc_uninit_phy; in s3c24xx_hsudc_set_platdata()
1113 struct s3c64xx_spi_info pd; in s3c64xx_spi0_set_platdata() local
1121 pd.num_cs = num_cs; in s3c64xx_spi0_set_platdata()
1122 pd.src_clk_nr = src_clk_nr; in s3c64xx_spi0_set_platdata()
1123 pd.cfg_gpio = (cfg_gpio) ? cfg_gpio : s3c64xx_spi0_cfg_gpio; in s3c64xx_spi0_set_platdata()
1125 s3c_set_platdata(&pd, sizeof(pd), &s3c64xx_device_spi0); in s3c64xx_spi0_set_platdata()
1149 struct s3c64xx_spi_info pd; in s3c64xx_spi1_set_platdata() local
1157 pd.num_cs = num_cs; in s3c64xx_spi1_set_platdata()
1158 pd.src_clk_nr = src_clk_nr; in s3c64xx_spi1_set_platdata()
1159 pd.cfg_gpio = (cfg_gpio) ? cfg_gpio : s3c64xx_spi1_cfg_gpio; in s3c64xx_spi1_set_platdata()
1161 s3c_set_platdata(&pd, sizeof(pd), &s3c64xx_device_spi1); in s3c64xx_spi1_set_platdata()
1185 struct s3c64xx_spi_info pd; in s3c64xx_spi2_set_platdata() local
1193 pd.num_cs = num_cs; in s3c64xx_spi2_set_platdata()
1194 pd.src_clk_nr = src_clk_nr; in s3c64xx_spi2_set_platdata()
1195 pd.cfg_gpio = (cfg_gpio) ? cfg_gpio : s3c64xx_spi2_cfg_gpio; in s3c64xx_spi2_set_platdata()
1197 s3c_set_platdata(&pd, sizeof(pd), &s3c64xx_device_spi2); in s3c64xx_spi2_set_platdata()