Lines Matching refs:uc_pdata
31 struct dm_rproc_uclass_pdata *uc_pdata, in for_each_remoteproc_device() argument
37 struct dm_rproc_uclass_pdata *uc_pdata; in for_each_remoteproc_device() local
44 uc_pdata = dev_get_uclass_platdata(dev); in for_each_remoteproc_device()
45 ret = fn(dev, uc_pdata, data); in for_each_remoteproc_device()
63 struct dm_rproc_uclass_pdata *uc_pdata, in _rproc_name_is_unique() argument
69 if (!uc_pdata->name || !check_name) in _rproc_name_is_unique()
73 if (strlen(uc_pdata->name) != strlen(check_name)) in _rproc_name_is_unique()
76 if (!strcmp(uc_pdata->name, check_name)) in _rproc_name_is_unique()
110 struct dm_rproc_uclass_pdata *uc_pdata; in rproc_pre_probe() local
113 uc_pdata = dev_get_uclass_platdata(dev); in rproc_pre_probe()
127 uc_pdata->name = fdt_getprop(blob, node, in rproc_pre_probe()
131 uc_pdata->mem_type = RPROC_INTERNAL_MEMORY_MAPPED; in rproc_pre_probe()
135 uc_pdata->mem_type = RPROC_INTERNAL_MEMORY_MAPPED; in rproc_pre_probe()
146 uc_pdata->name = pdata->name; in rproc_pre_probe()
147 uc_pdata->mem_type = pdata->mem_type; in rproc_pre_probe()
148 uc_pdata->driver_plat_data = pdata->driver_plat_data; in rproc_pre_probe()
152 if (!uc_pdata->name) in rproc_pre_probe()
153 uc_pdata->name = dev->name; in rproc_pre_probe()
154 if (!uc_pdata->name) { in rproc_pre_probe()
159 if (!rproc_name_is_unique(dev, uc_pdata->name)) { in rproc_pre_probe()
160 debug("%s duplicate name '%s'\n", dev->name, uc_pdata->name); in rproc_pre_probe()
226 struct dm_rproc_uclass_pdata *uc_pdata, in _rproc_probe_dev() argument
247 struct dm_rproc_uclass_pdata *uc_pdata, in _rproc_dev_is_probed() argument
278 struct dm_rproc_uclass_pdata *uc_pdata; in rproc_load() local
289 uc_pdata = dev_get_uclass_platdata(dev); in rproc_load()
298 uc_pdata->name, addr, size); in rproc_load()
335 struct dm_rproc_uclass_pdata *uc_pdata; in _rproc_ops_wrapper() local
349 uc_pdata = dev_get_uclass_platdata(dev); in _rproc_ops_wrapper()
383 debug("%s %s...\n", op_str, uc_pdata->name); in _rproc_ops_wrapper()