Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/firmware/arm_scmi/
Dbus.c190 scmi_dev_match_id(struct scmi_device *scmi_dev, struct scmi_driver *scmi_drv) in scmi_dev_match_id() argument
198 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() local
214 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() local
251 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() local
263 scmi_drv->remove(scmi_dev); in scmi_dev_remove()
[all …]
Ddriver.c2198 static void scmi_set_handle(struct scmi_device *scmi_dev) in scmi_set_handle() argument
2200 scmi_dev->handle = scmi_handle_get(&scmi_dev->dev); in scmi_set_handle()
2201 if (scmi_dev->handle) in scmi_set_handle()
2202 scmi_device_link_add(&scmi_dev->dev, scmi_dev->handle->dev); in scmi_set_handle()