Lines Matching full:pd
15 void __init *s3c_set_platdata(void *pd, size_t pdsize, in s3c_set_platdata() argument
20 if (!pd) { in s3c_set_platdata()
26 npd = kmemdup(pd, pdsize, GFP_KERNEL); in s3c_set_platdata()
34 void s3c_sdhci_set_platdata(struct s3c_sdhci_platdata *pd, in s3c_sdhci_set_platdata() argument
37 set->cd_type = pd->cd_type; in s3c_sdhci_set_platdata()
38 set->ext_cd_init = pd->ext_cd_init; in s3c_sdhci_set_platdata()
39 set->ext_cd_cleanup = pd->ext_cd_cleanup; in s3c_sdhci_set_platdata()
40 set->ext_cd_gpio = pd->ext_cd_gpio; in s3c_sdhci_set_platdata()
41 set->ext_cd_gpio_invert = pd->ext_cd_gpio_invert; in s3c_sdhci_set_platdata()
43 if (pd->max_width) in s3c_sdhci_set_platdata()
44 set->max_width = pd->max_width; in s3c_sdhci_set_platdata()
45 if (pd->cfg_gpio) in s3c_sdhci_set_platdata()
46 set->cfg_gpio = pd->cfg_gpio; in s3c_sdhci_set_platdata()
47 if (pd->host_caps) in s3c_sdhci_set_platdata()
48 set->host_caps |= pd->host_caps; in s3c_sdhci_set_platdata()
49 if (pd->host_caps2) in s3c_sdhci_set_platdata()
50 set->host_caps2 |= pd->host_caps2; in s3c_sdhci_set_platdata()
51 if (pd->pm_caps) in s3c_sdhci_set_platdata()
52 set->pm_caps |= pd->pm_caps; in s3c_sdhci_set_platdata()