Lines Matching refs:parent
230 static struct scmi_device *scmi_child_dev_find(struct device *parent, in scmi_child_dev_find() argument
239 dev = device_find_child(parent, &id_table, scmi_match_by_id_table); in scmi_child_dev_find()
317 of_node_full_name(scmi_dev->dev.parent->of_node), in __scmi_device_destroy()
329 __scmi_device_create(struct device_node *np, struct device *parent, in __scmi_device_create() argument
342 scmi_dev = scmi_child_dev_find(parent, protocol, name); in __scmi_device_create()
355 dev_warn(parent, in __scmi_device_create()
379 scmi_dev->dev.parent = parent; in __scmi_device_create()
390 of_node_full_name(parent->of_node), in __scmi_device_create()
424 struct device *parent, int protocol, in scmi_device_create() argument
432 return __scmi_device_create(np, parent, protocol, name); in scmi_device_create()
446 sdev = __scmi_device_create(np, parent, in scmi_device_create()
454 of_node_full_name(parent->of_node), in scmi_device_create()
464 void scmi_device_destroy(struct device *parent, int protocol, const char *name) in scmi_device_destroy() argument
468 scmi_dev = scmi_child_dev_find(parent, protocol, name); in scmi_device_destroy()