Searched refs:scmi_dev (Results 1 – 3 of 3) 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()71 struct scmi_device *scmi_dev = to_scmi_dev(dev); in scmi_dev_probe() local75 id = scmi_dev_match_id(scmi_dev, scmi_drv); in scmi_dev_probe()79 if (!scmi_dev->handle) in scmi_dev_probe()82 ret = scmi_protocol_init(scmi_dev->protocol_id, scmi_dev->handle); in scmi_dev_probe()88 scmi_dev->protocol_id); in scmi_dev_probe()[all …]
154 void scmi_set_handle(struct scmi_device *scmi_dev);
330 void scmi_device_destroy(struct scmi_device *scmi_dev);