/linux-2.6.39/arch/arm/plat-s3c24xx/ |
D | devs.c | 150 struct s3c2410fb_mach_info *npd; in s3c24xx_fb_set_platdata() local 152 npd = kmemdup(pd, sizeof(*npd), GFP_KERNEL); in s3c24xx_fb_set_platdata() 153 if (npd) { in s3c24xx_fb_set_platdata() 154 s3c_device_lcd.dev.platform_data = npd; in s3c24xx_fb_set_platdata() 155 npd->displays = kmemdup(pd->displays, in s3c24xx_fb_set_platdata() 156 sizeof(struct s3c2410fb_display) * npd->num_displays, in s3c24xx_fb_set_platdata() 158 if (!npd->displays) in s3c24xx_fb_set_platdata() 225 struct s3c2410_udc_mach_info *npd; in s3c24xx_udc_set_platdata() local 227 npd = kmalloc(sizeof(*npd), GFP_KERNEL); in s3c24xx_udc_set_platdata() 228 if (npd) { in s3c24xx_udc_set_platdata() [all …]
|
/linux-2.6.39/arch/arm/plat-samsung/ |
D | dev-nand.c | 85 struct s3c2410_platform_nand *npd; in s3c_nand_set_platdata() local 94 npd = kmemdup(nand, sizeof(struct s3c2410_platform_nand), GFP_KERNEL); in s3c_nand_set_platdata() 95 if (!npd) { in s3c_nand_set_platdata() 102 size = sizeof(struct s3c2410_nand_set) * npd->nr_sets; in s3c_nand_set_platdata() 104 struct s3c2410_nand_set *from = npd->sets; in s3c_nand_set_platdata() 109 npd->sets = to; /* set, even if we failed */ in s3c_nand_set_platdata() 116 for (i = 0; i < npd->nr_sets; i++) { in s3c_nand_set_platdata() 127 s3c_device_nand.dev.platform_data = npd; in s3c_nand_set_platdata()
|
D | dev-i2c2.c | 58 struct s3c2410_platform_i2c *npd; in s3c_i2c2_set_platdata() local 63 npd = kmemdup(pd, sizeof(struct s3c2410_platform_i2c), GFP_KERNEL); in s3c_i2c2_set_platdata() 64 if (!npd) in s3c_i2c2_set_platdata() 66 else if (!npd->cfg_gpio) in s3c_i2c2_set_platdata() 67 npd->cfg_gpio = s3c_i2c2_cfg_gpio; in s3c_i2c2_set_platdata() 69 s3c_device_i2c2.dev.platform_data = npd; in s3c_i2c2_set_platdata()
|
D | dev-i2c3.c | 56 struct s3c2410_platform_i2c *npd; in s3c_i2c3_set_platdata() local 61 npd = kmemdup(pd, sizeof(struct s3c2410_platform_i2c), GFP_KERNEL); in s3c_i2c3_set_platdata() 62 if (!npd) in s3c_i2c3_set_platdata() 64 else if (!npd->cfg_gpio) in s3c_i2c3_set_platdata() 65 npd->cfg_gpio = s3c_i2c3_cfg_gpio; in s3c_i2c3_set_platdata() 67 s3c_device_i2c3.dev.platform_data = npd; in s3c_i2c3_set_platdata()
|
D | dev-i2c4.c | 56 struct s3c2410_platform_i2c *npd; in s3c_i2c4_set_platdata() local 61 npd = kmemdup(pd, sizeof(struct s3c2410_platform_i2c), GFP_KERNEL); in s3c_i2c4_set_platdata() 62 if (!npd) in s3c_i2c4_set_platdata() 64 else if (!npd->cfg_gpio) in s3c_i2c4_set_platdata() 65 npd->cfg_gpio = s3c_i2c4_cfg_gpio; in s3c_i2c4_set_platdata() 67 s3c_device_i2c4.dev.platform_data = npd; in s3c_i2c4_set_platdata()
|
D | dev-i2c5.c | 56 struct s3c2410_platform_i2c *npd; in s3c_i2c5_set_platdata() local 61 npd = kmemdup(pd, sizeof(struct s3c2410_platform_i2c), GFP_KERNEL); in s3c_i2c5_set_platdata() 62 if (!npd) in s3c_i2c5_set_platdata() 64 else if (!npd->cfg_gpio) in s3c_i2c5_set_platdata() 65 npd->cfg_gpio = s3c_i2c5_cfg_gpio; in s3c_i2c5_set_platdata() 67 s3c_device_i2c5.dev.platform_data = npd; in s3c_i2c5_set_platdata()
|
D | dev-i2c6.c | 56 struct s3c2410_platform_i2c *npd; in s3c_i2c6_set_platdata() local 61 npd = kmemdup(pd, sizeof(struct s3c2410_platform_i2c), GFP_KERNEL); in s3c_i2c6_set_platdata() 62 if (!npd) in s3c_i2c6_set_platdata() 64 else if (!npd->cfg_gpio) in s3c_i2c6_set_platdata() 65 npd->cfg_gpio = s3c_i2c6_cfg_gpio; in s3c_i2c6_set_platdata() 67 s3c_device_i2c6.dev.platform_data = npd; in s3c_i2c6_set_platdata()
|
D | dev-i2c7.c | 56 struct s3c2410_platform_i2c *npd; in s3c_i2c7_set_platdata() local 61 npd = kmemdup(pd, sizeof(struct s3c2410_platform_i2c), GFP_KERNEL); in s3c_i2c7_set_platdata() 62 if (!npd) in s3c_i2c7_set_platdata() 64 else if (!npd->cfg_gpio) in s3c_i2c7_set_platdata() 65 npd->cfg_gpio = s3c_i2c7_cfg_gpio; in s3c_i2c7_set_platdata() 67 s3c_device_i2c7.dev.platform_data = npd; in s3c_i2c7_set_platdata()
|
D | dev-i2c1.c | 57 struct s3c2410_platform_i2c *npd; in s3c_i2c1_set_platdata() local 62 npd = kmemdup(pd, sizeof(struct s3c2410_platform_i2c), GFP_KERNEL); in s3c_i2c1_set_platdata() 63 if (!npd) in s3c_i2c1_set_platdata() 65 else if (!npd->cfg_gpio) in s3c_i2c1_set_platdata() 66 npd->cfg_gpio = s3c_i2c1_cfg_gpio; in s3c_i2c1_set_platdata() 68 s3c_device_i2c1.dev.platform_data = npd; in s3c_i2c1_set_platdata()
|
D | dev-i2c0.c | 60 struct s3c2410_platform_i2c *npd; in s3c_i2c0_set_platdata() local 65 npd = kmemdup(pd, sizeof(struct s3c2410_platform_i2c), GFP_KERNEL); in s3c_i2c0_set_platdata() 66 if (!npd) in s3c_i2c0_set_platdata() 68 else if (!npd->cfg_gpio) in s3c_i2c0_set_platdata() 69 npd->cfg_gpio = s3c_i2c0_cfg_gpio; in s3c_i2c0_set_platdata() 71 s3c_device_i2c0.dev.platform_data = npd; in s3c_i2c0_set_platdata()
|
D | platformdata.c | 21 void *npd; in s3c_set_platdata() local 29 npd = kmemdup(pd, pdsize, GFP_KERNEL); in s3c_set_platdata() 30 if (!npd) { in s3c_set_platdata() 35 pdev->dev.platform_data = npd; in s3c_set_platdata() 36 return npd; in s3c_set_platdata()
|
D | dev-hwmon.c | 30 struct s3c_hwmon_pdata *npd; in s3c_hwmon_set_platdata() local 37 npd = kmemdup(pd, sizeof(struct s3c_hwmon_pdata), GFP_KERNEL); in s3c_hwmon_set_platdata() 38 if (!npd) in s3c_hwmon_set_platdata() 41 s3c_device_hwmon.dev.platform_data = npd; in s3c_hwmon_set_platdata()
|
D | dev-keypad.c | 43 struct samsung_keypad_platdata *npd; in samsung_keypad_set_platdata() local 45 npd = s3c_set_platdata(pd, sizeof(struct samsung_keypad_platdata), in samsung_keypad_set_platdata() 48 if (!npd->cfg_gpio) in samsung_keypad_set_platdata() 49 npd->cfg_gpio = samsung_keypad_cfg_gpio; in samsung_keypad_set_platdata()
|
D | dev-ts.c | 48 struct s3c2410_ts_mach_info *npd; in s3c24xx_ts_set_platdata() local 55 npd = kmemdup(pd, sizeof(struct s3c2410_ts_mach_info), GFP_KERNEL); in s3c24xx_ts_set_platdata() 56 if (!npd) in s3c24xx_ts_set_platdata() 59 s3c_device_ts.dev.platform_data = npd; in s3c24xx_ts_set_platdata()
|
D | dev-usb.c | 63 struct s3c2410_hcd_info *npd; in s3c_ohci_set_platdata() local 65 npd = kmemdup(info, sizeof(struct s3c2410_hcd_info), GFP_KERNEL); in s3c_ohci_set_platdata() 66 if (!npd) in s3c_ohci_set_platdata() 69 s3c_device_ohci.dev.platform_data = npd; in s3c_ohci_set_platdata()
|
D | dev-fb.c | 61 struct s3c_fb_platdata *npd; in s3c_fb_set_platdata() local 68 npd = kmemdup(pd, sizeof(struct s3c_fb_platdata), GFP_KERNEL); in s3c_fb_set_platdata() 69 if (!npd) in s3c_fb_set_platdata() 72 s3c_device_fb.dev.platform_data = npd; in s3c_fb_set_platdata()
|
/linux-2.6.39/fs/exportfs/ |
D | expfs.c | 144 struct dentry *npd; in reconnect_path() local 174 npd = lookup_one_len(nbuf, ppd, strlen(nbuf)); in reconnect_path() 176 if (IS_ERR(npd)) { in reconnect_path() 177 err = PTR_ERR(npd); in reconnect_path() 189 if (npd == pd) in reconnect_path() 193 dput(npd); in reconnect_path()
|
/linux-2.6.39/arch/arm/mach-omap2/ |
D | board-igep0020.c | 639 unsigned npd, wreset, btreset; in igep2_wlan_bt_init() local 643 npd = IGEP2_RB_GPIO_WIFI_NPD; in igep2_wlan_bt_init() 647 npd = IGEP2_RC_GPIO_WIFI_NPD; in igep2_wlan_bt_init() 654 if ((gpio_request(npd, "GPIO_WIFI_NPD") == 0) && in igep2_wlan_bt_init() 655 (gpio_direction_output(npd, 1) == 0)) { in igep2_wlan_bt_init() 656 gpio_export(npd, 0); in igep2_wlan_bt_init()
|
/linux-2.6.39/Documentation/arm/Samsung-S3C24XX/ |
D | Overview.txt | 280 struct s3c2410_xxx_mach_info *npd; 282 npd = kmalloc(sizeof(struct s3c2410_xxx_mach_info), GFP_KERNEL); 283 if (npd) { 284 memcpy(npd, pd, sizeof(struct s3c2410_xxx_mach_info)); 285 s3c_device_xxx.dev.platform_data = npd;
|
/linux-2.6.39/drivers/infiniband/hw/ipath/ |
D | ipath_init_chip.c | 888 struct ipath_portdata *npd; in ipath_init_chip() local 895 npd = create_portdata0(dd); in ipath_init_chip() 896 if (npd) { in ipath_init_chip() 898 dd->ipath_pd[0] = npd; in ipath_init_chip() 899 pd = npd; in ipath_init_chip()
|