Lines Matching refs:protocol_id
30 for (; id->protocol_id; id++) in scmi_dev_match_id()
31 if (id->protocol_id == scmi_dev->protocol_id) { in scmi_dev_match_id()
59 return sdev->protocol_id == id_table->protocol_id && in scmi_match_by_id_table()
69 id_table.protocol_id = prot_id; in scmi_child_dev_find()
79 const struct scmi_protocol *scmi_protocol_get(int protocol_id) in scmi_protocol_get() argument
83 proto = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_get()
85 pr_warn("SCMI Protocol 0x%x not found!\n", protocol_id); in scmi_protocol_get()
89 pr_debug("Found SCMI Protocol 0x%x\n", protocol_id); in scmi_protocol_get()
94 void scmi_protocol_put(int protocol_id) in scmi_protocol_put() argument
98 proto = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_put()
192 scmi_dev->protocol_id = protocol; in scmi_device_create()