Lines Matching refs:pd
1240 struct platform_device *pd; in early_platform_match() local
1242 list_for_each_entry(pd, &early_platform_device_list, dev.devres_head) in early_platform_match()
1243 if (platform_match(&pd->dev, &epdrv->pdrv->driver)) in early_platform_match()
1244 if (pd->id == id) in early_platform_match()
1245 return pd; in early_platform_match()
1258 struct platform_device *pd; in early_platform_left() local
1260 list_for_each_entry(pd, &early_platform_device_list, dev.devres_head) in early_platform_left()
1261 if (platform_match(&pd->dev, &epdrv->pdrv->driver)) in early_platform_left()
1262 if (pd->id >= id) in early_platform_left()
1395 struct platform_device *pd, *pd2; in early_platform_cleanup() local
1398 list_for_each_entry_safe(pd, pd2, &early_platform_device_list, in early_platform_cleanup()
1400 list_del(&pd->dev.devres_head); in early_platform_cleanup()
1401 memset(&pd->dev.devres_head, 0, sizeof(pd->dev.devres_head)); in early_platform_cleanup()