Home
last modified time | relevance | path

Searched refs:scmi_dev (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/firmware/arm_scmi/
Dbus.c210 scmi_dev_match_id(struct scmi_device *scmi_dev, const struct scmi_driver *scmi_drv) in scmi_dev_match_id() argument
218 if (id->protocol_id == scmi_dev->protocol_id) { in scmi_dev_match_id()
221 else if (!strcmp(id->name, scmi_dev->name)) in scmi_dev_match_id()
231 struct scmi_device *scmi_dev = to_scmi_dev(dev); in scmi_dev_match() local
234 id = scmi_dev_match_id(scmi_dev, scmi_drv); in scmi_dev_match()
269 struct scmi_device *scmi_dev = to_scmi_dev(dev); in scmi_dev_probe() local
271 if (!scmi_dev->handle) in scmi_dev_probe()
274 return scmi_drv->probe(scmi_dev); in scmi_dev_probe()
280 struct scmi_device *scmi_dev = to_scmi_dev(dev); in scmi_dev_remove() local
283 scmi_drv->remove(scmi_dev); in scmi_dev_remove()
[all …]
Ddriver.c2522 static void scmi_set_handle(struct scmi_device *scmi_dev) in scmi_set_handle() argument
2524 scmi_dev->handle = scmi_handle_get(&scmi_dev->dev); in scmi_set_handle()
2525 if (scmi_dev->handle) in scmi_set_handle()
2526 scmi_device_link_add(&scmi_dev->dev, scmi_dev->handle->dev); in scmi_set_handle()