Home
last modified time | relevance | path

Searched refs:channel_id (Results 1 – 13 of 13) sorted by relevance

/optee_os-3.20.0/core/include/drivers/
A Dscmi-msg.h82 void scmi_smt_fastcall_smc_entry(unsigned int channel_id);
98 void scmi_smt_interrupt_entry(unsigned int channel_id);
114 void scmi_smt_threaded_entry(unsigned int channel_id);
135 TEE_Result scmi_msg_threaded_entry(unsigned int channel_id,
161 assert(plat_scmi_get_channel(channel_id)); in scmi_smt_channel_handle()
163 return channel_id; in scmi_smt_channel_handle()
194 size_t plat_scmi_clock_count(unsigned int channel_id);
256 int32_t plat_scmi_clock_get_state(unsigned int channel_id,
276 size_t plat_scmi_rd_count(unsigned int channel_id);
284 const char *plat_scmi_rd_get_name(unsigned int channel_id,
[all …]
/optee_os-3.20.0/core/drivers/scmi-msg/
A Dentry.c101 msg->channel_id, msg->protocol_id, msg->message_id); in scmi_process_message()
107 void scmi_smt_fastcall_smc_entry(unsigned int channel_id) in scmi_smt_fastcall_smc_entry() argument
109 assert(!plat_scmi_get_channel(channel_id)->threaded); in scmi_smt_fastcall_smc_entry()
111 scmi_entry_smt(channel_id, fastcall_payload[get_core_pos()]); in scmi_smt_fastcall_smc_entry()
116 void scmi_smt_interrupt_entry(unsigned int channel_id) in scmi_smt_interrupt_entry() argument
118 assert(!plat_scmi_get_channel(channel_id)->threaded); in scmi_smt_interrupt_entry()
120 scmi_entry_smt(channel_id, interrupt_payload[get_core_pos()]); in scmi_smt_interrupt_entry()
125 void scmi_smt_threaded_entry(unsigned int channel_id) in scmi_smt_threaded_entry() argument
127 assert(plat_scmi_get_channel(channel_id)->threaded); in scmi_smt_threaded_entry()
134 TEE_Result scmi_msg_threaded_entry(unsigned int channel_id, in scmi_msg_threaded_entry() argument
[all …]
A Dclock.c18 size_t __weak plat_scmi_clock_count(unsigned int channel_id __unused) in plat_scmi_clock_count()
88 size_t clk_count = plat_scmi_clock_count(msg->channel_id); in report_attributes()
144 plat_scmi_clock_count(msg->channel_id)); in scmi_clock_attributes()
146 name = plat_scmi_clock_get_name(msg->channel_id, clock_id); in scmi_clock_attributes()
178 plat_scmi_clock_count(msg->channel_id)); in scmi_clock_rate_get()
180 rate = plat_scmi_clock_get_rate(msg->channel_id, clock_id); in scmi_clock_rate_get()
206 plat_scmi_clock_count(msg->channel_id)); in scmi_clock_rate_set()
234 plat_scmi_clock_count(msg->channel_id)); in scmi_clock_config_set()
290 plat_scmi_clock_count(msg->channel_id)); in scmi_clock_describe_rates()
310 status = plat_scmi_clock_rates_array(msg->channel_id, in scmi_clock_describe_rates()
[all …]
A Dvoltage_domain.c91 size_t domain_count = plat_scmi_voltd_count(msg->channel_id); in report_attributes()
149 plat_scmi_voltd_count(msg->channel_id)); in scmi_voltd_domain_attributes()
151 name = plat_scmi_voltd_get_name(msg->channel_id, domain_id); in scmi_voltd_domain_attributes()
200 plat_scmi_voltd_count(msg->channel_id)); in scmi_voltd_describe_levels()
219 status = plat_scmi_voltd_levels_array(msg->channel_id, in scmi_voltd_describe_levels()
246 status = plat_scmi_voltd_levels_by_step(msg->channel_id, in scmi_voltd_describe_levels()
288 plat_scmi_voltd_count(msg->channel_id)); in scmi_voltd_config_set()
314 plat_scmi_voltd_count(msg->channel_id)); in scmi_voltd_config_get()
316 if (plat_scmi_voltd_get_config(msg->channel_id, domain_id, in scmi_voltd_config_get()
342 plat_scmi_voltd_count(msg->channel_id)); in scmi_voltd_level_set()
[all …]
A Dreset_domain.c18 size_t __weak plat_scmi_rd_count(unsigned int channel_id __unused) in plat_scmi_rd_count()
36 int32_t __weak plat_scmi_rd_set_state(unsigned int channel_id __unused, in plat_scmi_rd_set_state()
62 .attributes = plat_scmi_rd_count(msg->channel_id), in report_attributes()
107 if (in_args->domain_id >= plat_scmi_rd_count(msg->channel_id)) { in reset_domain_attributes()
113 plat_scmi_rd_count(msg->channel_id)); in reset_domain_attributes()
115 name = plat_scmi_rd_get_name(msg->channel_id, domain_id); in reset_domain_attributes()
138 plat_scmi_rd_count(msg->channel_id)); in reset_request()
145 if (in_args->domain_id >= plat_scmi_rd_count(msg->channel_id)) { in reset_request()
151 out_args.status = plat_scmi_rd_autonomous(msg->channel_id, in reset_request()
155 out_args.status = plat_scmi_rd_set_state(msg->channel_id, in reset_request()
[all …]
A Dshm_msg.c44 TEE_Result scmi_entry_msg(unsigned int channel_id, void *in_buf, size_t in_size, in scmi_entry_msg() argument
47 struct scmi_msg_channel *channel = plat_scmi_get_channel(channel_id); in scmi_entry_msg()
53 DMSG("Invalid channel ID %u", channel_id); in scmi_entry_msg()
70 DMSG("SCMI channel %u busy", channel_id); in scmi_entry_msg()
80 msg.channel_id = channel_id; in scmi_entry_msg()
A Dsmt.c68 void scmi_entry_smt(unsigned int channel_id, uint32_t *payload_buf) in scmi_entry_smt() argument
77 channel = plat_scmi_get_channel(channel_id); in scmi_entry_smt()
79 DMSG("Invalid channel ID %u", channel_id); in scmi_entry_smt()
85 DMSG("No shared buffer for channel ID %u", channel_id); in scmi_entry_smt()
90 DMSG("SCMI channel %u busy", channel_id); in scmi_entry_smt()
123 msg.channel_id = channel_id; in scmi_entry_smt()
A Dcommon.h77 unsigned int channel_id; member
135 void scmi_entry_smt(unsigned int channel_id, uint32_t *payload_buf);
148 TEE_Result scmi_entry_msg(unsigned int channel_id, void *in_buf, size_t in_size,
A Dbase.c149 list = plat_scmi_protocol_list(msg->channel_id); in discover_list_protocols()
/optee_os-3.20.0/core/arch/arm/include/scmi/
A Dscmi_server.h18 TEE_Result scmi_server_smt_process_thread(unsigned int channel_id);
30 TEE_Result scmi_server_msg_process_thread(unsigned int channel_id, void *in_buf,
40 TEE_Result scmi_server_get_channel(unsigned int channel_id, int *handle);
47 TEE_Result scmi_server_smt_process_thread(unsigned int channel_id __unused) in scmi_server_smt_process_thread()
53 TEE_Result scmi_server_msg_process_thread(unsigned int channel_id __unused, in scmi_server_msg_process_thread()
/optee_os-3.20.0/core/pta/
A Dscmi.c52 unsigned int channel_id = params[0].value.a; in cmd_process_smt_channel() local
60 channel = plat_scmi_get_channel(channel_id); in cmd_process_smt_channel()
64 scmi_smt_threaded_entry(channel_id); in cmd_process_smt_channel()
70 return scmi_server_smt_process_thread(channel_id); in cmd_process_smt_channel()
82 unsigned int channel_id = params[0].value.a; in cmd_process_smt_message() local
94 channel = plat_scmi_get_channel(channel_id); in cmd_process_smt_message()
104 scmi_smt_threaded_entry(channel_id); in cmd_process_smt_message()
121 unsigned int channel_id = params[0].value.a; in cmd_process_msg_channel() local
136 channel = plat_scmi_get_channel(channel_id); in cmd_process_msg_channel()
173 unsigned int channel_id = params[0].value.a; in cmd_get_channel_handle() local
[all …]
/optee_os-3.20.0/core/lib/scmi-server/
A Dscmi_server.c33 TEE_Result scmi_server_get_channel(unsigned int channel_id, int *handle) in scmi_server_get_channel() argument
37 fwk_id = scmi_get_device(channel_id); in scmi_server_get_channel()
47 TEE_Result scmi_server_smt_process_thread(unsigned int channel_id) in scmi_server_smt_process_thread() argument
52 res = scmi_server_get_channel(channel_id, &fwk_id); in scmi_server_smt_process_thread()
59 TEE_Result scmi_server_msg_process_thread(unsigned int channel_id, in scmi_server_msg_process_thread() argument
66 res = scmi_server_get_channel(channel_id, &fwk_id); in scmi_server_msg_process_thread()
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/
A Dscmi_server.c281 assert(channel_id < ARRAY_SIZE(scmi_channel)); in find_resource()
283 return scmi_channel + channel_id; in find_resource()
291 if (channel_id >= max_id) in plat_scmi_get_channel()
380 size_t plat_scmi_clock_count(unsigned int channel_id) in plat_scmi_clock_count() argument
390 const char *plat_scmi_clock_get_name(unsigned int channel_id, in plat_scmi_clock_get_name() argument
401 int32_t plat_scmi_clock_rates_array(unsigned int channel_id, in plat_scmi_clock_rates_array() argument
479 static struct stm32_scmi_rd *find_rd(unsigned int channel_id, in find_rd() argument
504 size_t plat_scmi_rd_count(unsigned int channel_id) in plat_scmi_rd_count() argument
591 size_t plat_scmi_voltd_count(unsigned int channel_id) in plat_scmi_voltd_count() argument
856 int32_t plat_scmi_voltd_get_config(unsigned int channel_id, in plat_scmi_voltd_get_config() argument
[all …]

Completed in 15 milliseconds