Lines Matching defs:parent
230 static struct scmi_device *scmi_child_dev_find(struct device *parent,
239 dev = device_find_child(parent, &id_table, scmi_match_by_id_table);
314 of_node_full_name(scmi_dev->dev.parent->of_node),
327 __scmi_device_create(struct device_node *np, struct device *parent,
334 * If the same protocol/name device already exist under the same parent
340 scmi_dev = scmi_child_dev_find(parent, protocol, name);
349 * different SCMI server instances (parent)
353 dev_warn(parent,
377 scmi_dev->dev.parent = parent;
388 of_node_full_name(parent->of_node),
403 * @parent: The parent device to use identifying a specific SCMI instance
423 struct device *parent, int protocol,
431 return __scmi_device_create(np, parent, protocol, name);
445 sdev = __scmi_device_create(np, parent,
453 of_node_full_name(parent->of_node),
463 void scmi_device_destroy(struct device *parent, int protocol, const char *name)
467 scmi_dev = scmi_child_dev_find(parent, protocol, name);