scmi_dev 23 drivers/firmware/arm_scmi/bus.c scmi_dev_match_id(struct scmi_device *scmi_dev, struct scmi_driver *scmi_drv) scmi_dev 31 drivers/firmware/arm_scmi/bus.c if (id->protocol_id == scmi_dev->protocol_id) scmi_dev 40 drivers/firmware/arm_scmi/bus.c struct scmi_device *scmi_dev = to_scmi_dev(dev); scmi_dev 43 drivers/firmware/arm_scmi/bus.c id = scmi_dev_match_id(scmi_dev, scmi_drv); scmi_dev 62 drivers/firmware/arm_scmi/bus.c struct scmi_device *scmi_dev = to_scmi_dev(dev); scmi_dev 66 drivers/firmware/arm_scmi/bus.c id = scmi_dev_match_id(scmi_dev, scmi_drv); scmi_dev 70 drivers/firmware/arm_scmi/bus.c if (!scmi_dev->handle) scmi_dev 73 drivers/firmware/arm_scmi/bus.c ret = scmi_protocol_init(scmi_dev->protocol_id, scmi_dev->handle); scmi_dev 77 drivers/firmware/arm_scmi/bus.c return scmi_drv->probe(scmi_dev); scmi_dev 83 drivers/firmware/arm_scmi/bus.c struct scmi_device *scmi_dev = to_scmi_dev(dev); scmi_dev 86 drivers/firmware/arm_scmi/bus.c scmi_drv->remove(scmi_dev); scmi_dev 131 drivers/firmware/arm_scmi/bus.c struct scmi_device *scmi_dev; scmi_dev 133 drivers/firmware/arm_scmi/bus.c scmi_dev = kzalloc(sizeof(*scmi_dev), GFP_KERNEL); scmi_dev 134 drivers/firmware/arm_scmi/bus.c if (!scmi_dev) scmi_dev 139 drivers/firmware/arm_scmi/bus.c kfree(scmi_dev); scmi_dev 143 drivers/firmware/arm_scmi/bus.c scmi_dev->id = id; scmi_dev 144 drivers/firmware/arm_scmi/bus.c scmi_dev->protocol_id = protocol; scmi_dev 145 drivers/firmware/arm_scmi/bus.c scmi_dev->dev.parent = parent; scmi_dev 146 drivers/firmware/arm_scmi/bus.c scmi_dev->dev.of_node = np; scmi_dev 147 drivers/firmware/arm_scmi/bus.c scmi_dev->dev.bus = &scmi_bus_type; scmi_dev 148 drivers/firmware/arm_scmi/bus.c scmi_dev->dev.release = scmi_device_release; scmi_dev 149 drivers/firmware/arm_scmi/bus.c dev_set_name(&scmi_dev->dev, "scmi_dev.%d", id); scmi_dev 151 drivers/firmware/arm_scmi/bus.c retval = device_register(&scmi_dev->dev); scmi_dev 155 drivers/firmware/arm_scmi/bus.c return scmi_dev; scmi_dev 157 drivers/firmware/arm_scmi/bus.c put_device(&scmi_dev->dev); scmi_dev 162 drivers/firmware/arm_scmi/bus.c void scmi_device_destroy(struct scmi_device *scmi_dev) scmi_dev 164 drivers/firmware/arm_scmi/bus.c scmi_handle_put(scmi_dev->handle); scmi_dev 165 drivers/firmware/arm_scmi/bus.c ida_simple_remove(&scmi_bus_id, scmi_dev->id); scmi_dev 166 drivers/firmware/arm_scmi/bus.c device_unregister(&scmi_dev->dev); scmi_dev 169 drivers/firmware/arm_scmi/bus.c void scmi_set_handle(struct scmi_device *scmi_dev) scmi_dev 171 drivers/firmware/arm_scmi/bus.c scmi_dev->handle = scmi_handle_get(&scmi_dev->dev); scmi_dev 199 drivers/firmware/arm_scmi/bus.c struct scmi_device *scmi_dev = to_scmi_dev(dev); scmi_dev 201 drivers/firmware/arm_scmi/bus.c scmi_device_destroy(scmi_dev); scmi_dev 108 drivers/firmware/arm_scmi/common.h void scmi_set_handle(struct scmi_device *scmi_dev); scmi_dev 268 include/linux/scmi_protocol.h void scmi_device_destroy(struct scmi_device *scmi_dev);