Home
last modified time | relevance | path

Searched refs:npd (Results 1 – 8 of 8) sorted by relevance

/linux/arch/arm/mach-s3c/
H A Ddevs.c227 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 Dplatformdata.c18 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 Dpinctrl-cv18xx.h88 u16 npd; member
H A Dpinctrl-cv18xx.c81 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 Dpinctrl-cv1800b.c442 .npd = ARRAY_SIZE(cv1800b_power_domain_desc),
H A Dpinctrl-sg2002.c522 .npd = ARRAY_SIZE(sg2002_power_domain_desc),
H A Dpinctrl-sg2000.c751 .npd = ARRAY_SIZE(sg2000_power_domain_desc),
H A Dpinctrl-cv1812h.c751 .npd = ARRAY_SIZE(cv1812h_power_domain_desc),