Searched refs:scmi_dev (Results 1 – 2 of 2) sorted by relevance
23 scmi_dev_match_id(struct scmi_device *scmi_dev, struct scmi_driver *scmi_drv) in scmi_dev_match_id() argument31 if (id->protocol_id == scmi_dev->protocol_id) { in scmi_dev_match_id()34 else if (!strcmp(id->name, scmi_dev->name)) in scmi_dev_match_id()44 struct scmi_device *scmi_dev = to_scmi_dev(dev); in scmi_dev_match() local47 id = scmi_dev_match_id(scmi_dev, scmi_drv); in scmi_dev_match()106 struct scmi_device *scmi_dev = to_scmi_dev(dev); in scmi_dev_probe() local108 if (!scmi_dev->handle) in scmi_dev_probe()111 return scmi_drv->probe(scmi_dev); in scmi_dev_probe()117 struct scmi_device *scmi_dev = to_scmi_dev(dev); in scmi_dev_remove() local120 scmi_drv->remove(scmi_dev); in scmi_dev_remove()[all …]
102 void scmi_set_handle(struct scmi_device *scmi_dev);