Home
last modified time | relevance | path

Searched refs:agent_id (Results 1 – 9 of 9) sorted by relevance

/arm-trusted-firmware-2.8.0/include/drivers/
A Dscmi-msg.h50 void scmi_smt_fastcall_smc_entry(unsigned int agent_id);
59 void scmi_smt_interrupt_entry(unsigned int agent_id);
68 struct scmi_msg_channel *plat_scmi_get_channel(unsigned int agent_id);
83 const uint8_t *plat_scmi_protocol_list(unsigned int agent_id);
98 size_t plat_scmi_clock_count(unsigned int agent_id);
106 const char *plat_scmi_clock_get_name(unsigned int agent_id,
129 int32_t plat_scmi_clock_rates_by_step(unsigned int agent_id,
139 unsigned long plat_scmi_clock_get_rate(unsigned int agent_id,
149 int32_t plat_scmi_clock_set_rate(unsigned int agent_id, unsigned int scmi_id,
177 size_t plat_scmi_rstd_count(unsigned int agent_id);
[all …]
/arm-trusted-firmware-2.8.0/plat/st/stm32mp1/
A Dstm32mp1_scmi.c68 assert(agent_id < ARRAY_SIZE(scmi_channel)); in plat_scmi_get_channel()
70 return &scmi_channel[agent_id]; in plat_scmi_get_channel()
152 assert(agent_id < ARRAY_SIZE(agent_resources)); in find_resource()
154 return &agent_resources[agent_id]; in find_resource()
238 size_t plat_scmi_clock_count(unsigned int agent_id) in plat_scmi_clock_count() argument
249 const char *plat_scmi_clock_get_name(unsigned int agent_id, in plat_scmi_clock_get_name() argument
252 struct stm32_scmi_clk *clock = find_clock(agent_id, scmi_id); in plat_scmi_clock_get_name()
265 struct stm32_scmi_clk *clock = find_clock(agent_id, scmi_id); in plat_scmi_clock_rates_array()
286 unsigned long plat_scmi_clock_get_rate(unsigned int agent_id, in plat_scmi_clock_get_rate() argument
289 struct stm32_scmi_clk *clock = find_clock(agent_id, scmi_id); in plat_scmi_clock_get_rate()
[all …]
/arm-trusted-firmware-2.8.0/drivers/scmi-msg/
A Dpower_domain.c24 size_t plat_scmi_pd_count(unsigned int agent_id __unused) in plat_scmi_pd_count()
29 const char *plat_scmi_pd_get_name(unsigned int agent_id __unused, in plat_scmi_pd_get_name()
47 unsigned int plat_scmi_pd_get_state(unsigned int agent_id __unused, in plat_scmi_pd_get_state()
53 int32_t plat_scmi_pd_set_state(unsigned int agent_id __unused, in plat_scmi_pd_set_state()
90 return_values.attributes = plat_scmi_pd_count(msg->agent_id); in report_attributes()
91 len = plat_scmi_pd_statistics(msg->agent_id, &addr); in report_attributes()
139 if (pd_id >= plat_scmi_pd_count(msg->agent_id)) { in scmi_pd_attributes()
144 name = plat_scmi_pd_get_name(msg->agent_id, pd_id); in scmi_pd_attributes()
173 if (pd_id >= plat_scmi_pd_count(msg->agent_id)) { in scmi_pd_state_get()
178 state = plat_scmi_pd_get_state(msg->agent_id, pd_id); in scmi_pd_state_get()
[all …]
A Dclock.c26 size_t plat_scmi_clock_count(unsigned int agent_id __unused) in plat_scmi_clock_count()
58 int32_t plat_scmi_clock_set_rate(unsigned int agent_id __unused, in plat_scmi_clock_set_rate()
65 int32_t plat_scmi_clock_get_state(unsigned int agent_id __unused, in plat_scmi_clock_get_state()
95 size_t agent_count = plat_scmi_clock_count(msg->agent_id); in report_attributes()
147 if (clock_id >= plat_scmi_clock_count(msg->agent_id)) { in scmi_clock_attributes()
153 name = plat_scmi_clock_get_name(msg->agent_id, clock_id); in scmi_clock_attributes()
183 if (clock_id >= plat_scmi_clock_count(msg->agent_id)) { in scmi_clock_rate_get()
188 rate = plat_scmi_clock_get_rate(msg->agent_id, clock_id); in scmi_clock_rate_get()
210 if (clock_id >= plat_scmi_clock_count(msg->agent_id)) { in scmi_clock_rate_set()
237 if (clock_id >= plat_scmi_clock_count(msg->agent_id)) { in scmi_clock_config_set()
[all …]
A Dreset_domain.c23 size_t plat_scmi_rstd_count(unsigned int agent_id __unused) in plat_scmi_rstd_count()
28 const char *plat_scmi_rstd_get_name(unsigned int agent_id __unused, in plat_scmi_rstd_get_name()
34 int32_t plat_scmi_rstd_autonomous(unsigned int agent_id __unused, in plat_scmi_rstd_autonomous()
41 int32_t plat_scmi_rstd_set_state(unsigned int agent_id __unused, in plat_scmi_rstd_set_state()
67 .attributes = plat_scmi_rstd_count(msg->agent_id), in report_attributes()
114 if (domain_id >= plat_scmi_rstd_count(msg->agent_id)) { in reset_domain_attributes()
119 name = plat_scmi_rstd_get_name(msg->agent_id, domain_id); in reset_domain_attributes()
149 if (domain_id >= plat_scmi_rstd_count(msg->agent_id)) { in reset_request()
155 out_args.status = plat_scmi_rstd_autonomous(msg->agent_id, in reset_request()
159 out_args.status = plat_scmi_rstd_set_state(msg->agent_id, in reset_request()
[all …]
A Dsmt.c108 static void scmi_proccess_smt(unsigned int agent_id, uint32_t *payload_buf) in scmi_proccess_smt() argument
117 chan = plat_scmi_get_channel(agent_id); in scmi_proccess_smt()
128 VERBOSE("SCMI channel %u busy", agent_id); in scmi_proccess_smt()
160 msg.agent_id = agent_id; in scmi_proccess_smt()
179 void scmi_smt_fastcall_smc_entry(unsigned int agent_id) in scmi_smt_fastcall_smc_entry() argument
181 scmi_proccess_smt(agent_id, in scmi_smt_fastcall_smc_entry()
185 void scmi_smt_interrupt_entry(unsigned int agent_id) in scmi_smt_interrupt_entry() argument
187 scmi_proccess_smt(agent_id, in scmi_smt_interrupt_entry()
A Dcommon.h77 unsigned int agent_id; member
A Dentry.c88 msg->agent_id, msg->protocol_id, msg->message_id); in scmi_process_message()
A Dbase.c150 list = plat_scmi_protocol_list(msg->agent_id); in discover_list_protocols()

Completed in 10 milliseconds