Lines Matching +full:scmi +full:- +full:clock
4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/drivers/firmware/scmi/clk.h>
27 proto = dev->data; in scmi_clock_on_off()
28 data = proto->data; in scmi_clock_on_off()
31 if (clk_id >= data->clk_num) { in scmi_clock_on_off()
32 return -EINVAL; in scmi_clock_on_off()
60 proto = dev->data; in scmi_clock_get_rate()
61 data = proto->data; in scmi_clock_get_rate()
64 if (clk_id >= data->clk_num) { in scmi_clock_get_rate()
65 return -EINVAL; in scmi_clock_get_rate()
84 proto = dev->data; in scmi_clock_init()
85 data = proto->data; in scmi_clock_init()
89 LOG_ERR("failed to fetch clock attributes: %d", ret); in scmi_clock_init()
93 data->clk_num = SCMI_CLK_ATTRIBUTES_CLK_NUM(attributes); in scmi_clock_init()