Searched refs:agent_id (Results 1 – 9 of 9) sorted by relevance
/trusted-firmware-a-3.4.0/include/drivers/ |
D | scmi-msg.h | 50 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, 118 int32_t plat_scmi_clock_rates_array(unsigned int agent_id, unsigned int scmi_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, [all …]
|
/trusted-firmware-a-3.4.0/plat/st/stm32mp1/ |
D | stm32mp1_scmi.c | 66 struct scmi_msg_channel *plat_scmi_get_channel(unsigned int agent_id) in plat_scmi_get_channel() argument 68 assert(agent_id < ARRAY_SIZE(scmi_channel)); in plat_scmi_get_channel() 70 return &scmi_channel[agent_id]; in plat_scmi_get_channel() 150 static const struct scmi_agent_resources *find_resource(unsigned int agent_id) in find_resource() argument 152 assert(agent_id < ARRAY_SIZE(agent_resources)); in find_resource() 154 return &agent_resources[agent_id]; in find_resource() 210 const uint8_t *plat_scmi_protocol_list(unsigned int agent_id __unused) in plat_scmi_protocol_list() 221 static struct stm32_scmi_clk *find_clock(unsigned int agent_id, in find_clock() argument 224 const struct scmi_agent_resources *resource = find_resource(agent_id); in find_clock() 238 size_t plat_scmi_clock_count(unsigned int agent_id) in plat_scmi_clock_count() argument [all …]
|
/trusted-firmware-a-3.4.0/drivers/scmi-msg/ |
D | power_domain.c | 24 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() 35 unsigned int plat_scmi_pd_statistics(unsigned int agent_id __unused, in plat_scmi_pd_statistics() 41 unsigned int plat_scmi_pd_get_attributes(unsigned int agent_id __unused, in plat_scmi_pd_get_attributes() 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() [all …]
|
D | clock.c | 26 size_t plat_scmi_clock_count(unsigned int agent_id __unused) in plat_scmi_clock_count() 31 const char *plat_scmi_clock_get_name(unsigned int agent_id __unused, in plat_scmi_clock_get_name() 37 int32_t plat_scmi_clock_rates_array(unsigned int agent_id __unused, in plat_scmi_clock_rates_array() 45 int32_t plat_scmi_clock_rates_by_step(unsigned int agent_id __unused, in plat_scmi_clock_rates_by_step() 52 unsigned long plat_scmi_clock_get_rate(unsigned int agent_id __unused, in plat_scmi_clock_get_rate() 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() 71 int32_t plat_scmi_clock_set_state(unsigned int agent_id __unused, in plat_scmi_clock_set_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() [all …]
|
D | reset_domain.c | 23 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 …]
|
D | smt.c | 108 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()
|
D | common.h | 77 unsigned int agent_id; member
|
D | entry.c | 88 msg->agent_id, msg->protocol_id, msg->message_id); in scmi_process_message()
|
D | base.c | 150 list = plat_scmi_protocol_list(msg->agent_id); in discover_list_protocols()
|