Searched refs:npd (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/arch/arm/mach-s3c/ |
D | devs.c | 335 struct s3c2410_platform_i2c *npd; in s3c_i2c0_set_platdata() local 342 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c0); in s3c_i2c0_set_platdata() 344 if (!npd->cfg_gpio) in s3c_i2c0_set_platdata() 345 npd->cfg_gpio = s3c_i2c0_cfg_gpio; in s3c_i2c0_set_platdata() 363 struct s3c2410_platform_i2c *npd; in s3c_i2c1_set_platdata() local 370 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c1); in s3c_i2c1_set_platdata() 372 if (!npd->cfg_gpio) in s3c_i2c1_set_platdata() 373 npd->cfg_gpio = s3c_i2c1_cfg_gpio; in s3c_i2c1_set_platdata() 392 struct s3c2410_platform_i2c *npd; in s3c_i2c2_set_platdata() local 399 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c2); in s3c_i2c2_set_platdata() [all …]
|
D | platformdata.c | 18 void *npd; in s3c_set_platdata() local 26 npd = kmemdup(pd, pdsize, GFP_KERNEL); in s3c_set_platdata() 27 if (!npd) in s3c_set_platdata() 30 pdev->dev.platform_data = npd; in s3c_set_platdata() 31 return npd; in s3c_set_platdata()
|
/Linux-v5.10/Documentation/arm/samsung-s3c24xx/ |
D | overview.rst | 284 struct s3c2410_xxx_mach_info *npd; 286 npd = kmalloc(sizeof(struct s3c2410_xxx_mach_info), GFP_KERNEL); 287 if (npd) { 288 memcpy(npd, pd, sizeof(struct s3c2410_xxx_mach_info)); 289 s3c_device_xxx.dev.platform_data = npd;
|