Lines Matching refs:proto
25 int scmi_clock_rate_get(struct scmi_protocol *proto, in scmi_clock_rate_get() argument
33 if (!proto || !rate) { in scmi_clock_rate_get()
37 if (proto->id != SCMI_PROTOCOL_CLOCK) { in scmi_clock_rate_get()
42 SCMI_COMMAND, proto->id, 0x0); in scmi_clock_rate_get()
50 ret = scmi_send_message(proto, &msg, &reply); in scmi_clock_rate_get()
64 int scmi_clock_config_set(struct scmi_protocol *proto, in scmi_clock_config_set() argument
71 if (!proto || !cfg) { in scmi_clock_config_set()
75 if (proto->id != SCMI_PROTOCOL_CLOCK) { in scmi_clock_config_set()
95 SCMI_COMMAND, proto->id, 0x0); in scmi_clock_config_set()
103 ret = scmi_send_message(proto, &msg, &reply); in scmi_clock_config_set()
115 int scmi_clock_protocol_attributes(struct scmi_protocol *proto, uint32_t *attributes) in scmi_clock_protocol_attributes() argument
122 if (!proto || !attributes) { in scmi_clock_protocol_attributes()
126 if (proto->id != SCMI_PROTOCOL_CLOCK) { in scmi_clock_protocol_attributes()
131 SCMI_COMMAND, proto->id, 0x0); in scmi_clock_protocol_attributes()
140 ret = scmi_send_message(proto, &msg, &reply); in scmi_clock_protocol_attributes()