Lines Matching refs:pd
177 struct platform_device *pd;
179 list_for_each_entry(pd, &sh_early_platform_device_list, dev.devres_head)
180 if (platform_match(&pd->dev, &epdrv->pdrv->driver))
181 if (pd->id == id)
182 return pd;
195 struct platform_device *pd;
197 list_for_each_entry(pd, &sh_early_platform_device_list, dev.devres_head)
198 if (platform_match(&pd->dev, &epdrv->pdrv->driver))
199 if (pd->id >= id)
332 struct platform_device *pd, *pd2;
335 list_for_each_entry_safe(pd, pd2, &sh_early_platform_device_list,
337 list_del(&pd->dev.devres_head);
338 memset(&pd->dev.devres_head, 0, sizeof(pd->dev.devres_head));