Lines Matching refs:platdata
33 const char *name, void *platdata, in device_bind_common() argument
62 dev->platdata = platdata; in device_bind_common()
88 bool alloc = !platdata; in device_bind_common()
100 dev->platdata = calloc(1, in device_bind_common()
102 if (!dev->platdata) { in device_bind_common()
106 if (CONFIG_IS_ENABLED(OF_PLATDATA) && platdata) { in device_bind_common()
107 memcpy(dev->platdata, platdata, in device_bind_common()
205 free(dev->platdata); in device_bind_common()
206 dev->platdata = NULL; in device_bind_common()
226 const char *name, void *platdata, int of_offset, in device_bind() argument
229 return device_bind_common(parent, drv, name, platdata, 0, in device_bind()
249 (void *)info->platdata, 0, ofnode_null(), platdata_size, in device_bind_by_name()
436 return dev->platdata; in dev_get_platdata()