Searched refs:npd (Results 1 – 8 of 8) sorted by relevance
/linux/arch/arm/mach-s3c/ |
H A D | devs.c | 227 struct s3c2410_platform_i2c *npd; in s3c_i2c0_set_platdata() local 234 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c0); in s3c_i2c0_set_platdata() 236 if (!npd->cfg_gpio) in s3c_i2c0_set_platdata() 237 npd->cfg_gpio = s3c_i2c0_cfg_gpio; in s3c_i2c0_set_platdata() 255 struct s3c2410_platform_i2c *npd; in s3c_i2c1_set_platdata() local 262 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_i2c1); in s3c_i2c1_set_platdata() 264 if (!npd->cfg_gpio) in s3c_i2c1_set_platdata() 265 npd->cfg_gpio = s3c_i2c1_cfg_gpio; in s3c_i2c1_set_platdata() 286 struct samsung_keypad_platdata *npd; in samsung_keypad_set_platdata() local 288 npd = s3c_set_platdata(pd, sizeof(*npd), &samsung_device_keypad); in samsung_keypad_set_platdata() [all …]
|
H A 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/drivers/pinctrl/sophgo/ |
H A D | pinctrl-cv18xx.h | 88 u16 npd; member
|
H A D | pinctrl-cv18xx.c | 81 if (domain >= pctrl->data->npd) in cv1800_set_power_cfg() 722 if (pctrl_data->npins == 0 || pctrl_data->npd == 0) in cv1800_pinctrl_probe() 729 pctrl->power_cfg = devm_kcalloc(dev, pctrl_data->npd, in cv1800_pinctrl_probe()
|
H A D | pinctrl-cv1800b.c | 442 .npd = ARRAY_SIZE(cv1800b_power_domain_desc),
|
H A D | pinctrl-sg2002.c | 522 .npd = ARRAY_SIZE(sg2002_power_domain_desc),
|
H A D | pinctrl-sg2000.c | 751 .npd = ARRAY_SIZE(sg2000_power_domain_desc),
|
H A D | pinctrl-cv1812h.c | 751 .npd = ARRAY_SIZE(cv1812h_power_domain_desc),
|