Lines Matching refs:npd
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()
290 if (!npd->cfg_gpio) in samsung_keypad_set_platdata()
291 npd->cfg_gpio = samsung_keypad_cfg_gpio; in samsung_keypad_set_platdata()
356 struct dwc2_hsotg_plat *npd; in dwc2_hsotg_set_platdata() local
358 npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_usb_hsotg); in dwc2_hsotg_set_platdata()
360 if (!npd->phy_init) in dwc2_hsotg_set_platdata()
361 npd->phy_init = s3c_usb_phy_init; in dwc2_hsotg_set_platdata()
362 if (!npd->phy_exit) in dwc2_hsotg_set_platdata()
363 npd->phy_exit = s3c_usb_phy_exit; in dwc2_hsotg_set_platdata()