Lines Matching refs:pdata

24 	const struct dm_test_pdata *pdata = dev->platdata;  in testfdt_drv_ping()  local
27 *pingret = pingval + pdata->ping_add; in testfdt_drv_ping()
39 struct dm_test_pdata *pdata = dev_get_platdata(dev); in testfdt_ofdata_to_platdata() local
41 pdata->ping_add = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in testfdt_ofdata_to_platdata()
43 pdata->base = fdtdec_get_addr(gd->fdt_blob, dev_of_offset(dev), in testfdt_ofdata_to_platdata()
109 struct dm_testprobe_pdata *pdata = dev_get_platdata(dev); in testprobe_drv_probe() local
111 return pdata->probe_err; in testprobe_drv_probe()
308 struct dm_testprobe_pdata *pdata; in dm_test_first_next_device() local
324 pdata = dev_get_platdata(dev); in dm_test_first_next_device()
325 pdata->probe_err = -ENOMEM; in dm_test_first_next_device()
341 pdata = dev_get_platdata(dev); in dm_test_first_next_device()
342 pdata->probe_err = -ENOENT; in dm_test_first_next_device()
415 struct dm_testprobe_pdata *pdata; in dm_test_first_next_ok_device() local
434 pdata = dev_get_platdata(devlist[1]); in dm_test_first_next_ok_device()
435 pdata->probe_err = -ENOENT - 1; in dm_test_first_next_ok_device()
440 pdata = dev_get_platdata(devlist[0]); in dm_test_first_next_ok_device()
441 pdata->probe_err = -ENOENT - 0; in dm_test_first_next_ok_device()
446 pdata = dev_get_platdata(devlist[2]); in dm_test_first_next_ok_device()
447 pdata->probe_err = -ENOENT - 2; in dm_test_first_next_ok_device()
448 pdata = dev_get_platdata(devlist[3]); in dm_test_first_next_ok_device()
449 pdata->probe_err = -ENOENT - 3; in dm_test_first_next_ok_device()