Searched refs:scmi_dev (Results 1 – 2 of 2) sorted by relevance
190 scmi_dev_match_id(struct scmi_device *scmi_dev, struct scmi_driver *scmi_drv) in scmi_dev_match_id() argument198 if (id->protocol_id == scmi_dev->protocol_id) { in scmi_dev_match_id()201 else if (!strcmp(id->name, scmi_dev->name)) in scmi_dev_match_id()211 struct scmi_device *scmi_dev = to_scmi_dev(dev); in scmi_dev_match() local214 id = scmi_dev_match_id(scmi_dev, scmi_drv); in scmi_dev_match()249 struct scmi_device *scmi_dev = to_scmi_dev(dev); in scmi_dev_probe() local251 if (!scmi_dev->handle) in scmi_dev_probe()254 return scmi_drv->probe(scmi_dev); in scmi_dev_probe()260 struct scmi_device *scmi_dev = to_scmi_dev(dev); in scmi_dev_remove() local263 scmi_drv->remove(scmi_dev); in scmi_dev_remove()[all …]
2227 static void scmi_set_handle(struct scmi_device *scmi_dev) in scmi_set_handle() argument2229 scmi_dev->handle = scmi_handle_get(&scmi_dev->dev); in scmi_set_handle()2230 if (scmi_dev->handle) in scmi_set_handle()2231 scmi_device_link_add(&scmi_dev->dev, scmi_dev->handle->dev); in scmi_set_handle()