Home
last modified time | relevance | path

Searched refs:channel_count (Results 1 – 7 of 7) sorted by relevance

/optee_os/core/arch/riscv/kernel/
H A Dsbi_mpxy_rpmi.c52 ret = sbi_mpxy_get_channel_count(&sbi_mpxy_rpmi_ctx->channel_count); in sbi_mpxy_rpmi_probe_channels()
53 if (ret || !sbi_mpxy_rpmi_ctx->channel_count) { in sbi_mpxy_rpmi_probe_channels()
59 calloc(sbi_mpxy_rpmi_ctx->channel_count, sizeof(*channel_ids)); in sbi_mpxy_rpmi_probe_channels()
65 ret = sbi_mpxy_get_channel_ids(sbi_mpxy_rpmi_ctx->channel_count, in sbi_mpxy_rpmi_probe_channels()
73 calloc(sbi_mpxy_rpmi_ctx->channel_count, in sbi_mpxy_rpmi_probe_channels()
80 for (i = 0; i < sbi_mpxy_rpmi_ctx->channel_count; i++) { in sbi_mpxy_rpmi_probe_channels()
128 sbi_mpxy_rpmi_ctx->channel_count = valid_channels; in sbi_mpxy_rpmi_probe_channels()
H A Dsbi_mpxy.c130 int sbi_mpxy_get_channel_ids(uint32_t channel_count, uint32_t *channel_ids) in sbi_mpxy_get_channel_ids() argument
141 if (!channel_count || !channel_ids) in sbi_mpxy_get_channel_ids()
166 count = returned < (channel_count - start_index) ? in sbi_mpxy_get_channel_ids()
168 (channel_count - start_index); in sbi_mpxy_get_channel_ids()
172 } while (remaining && start_index < channel_count); in sbi_mpxy_get_channel_ids()
398 int sbi_mpxy_get_channel_count(uint32_t *channel_count) in sbi_mpxy_get_channel_count() argument
408 if (!channel_count) in sbi_mpxy_get_channel_count()
431 *channel_count = remaining + returned; in sbi_mpxy_get_channel_count()
/optee_os/core/lib/scmi-server/
H A Dscmi_server_scpfw.c69 for (j = 0; j < agent_cfg->channel_count; j++) { in scmi_scpfw_free_agent()
84 assert(!old_agent_config[0].channel_count); in scmi_scpfw_get_configuration()
281 agent_cfg->channel_count = 1; in optee_scmi_server_probe()
283 calloc(agent_cfg->channel_count, in optee_scmi_server_probe()
287 agent_cfg->channel_count = 0; in optee_scmi_server_probe()
291 for (i = 0; i < agent_cfg->channel_count; i++) { in optee_scmi_server_probe()
/optee_os/core/arch/riscv/include/
H A Dsbi_mpxy.h146 int sbi_mpxy_get_channel_ids(uint32_t channel_count, uint32_t *channel_ids);
161 int sbi_mpxy_get_channel_count(uint32_t *channel_count);
H A Dsbi_mpxy_rpmi.h94 uint32_t channel_count; member
/optee_os/core/lib/scmi-server/include/
H A Dscmi_agent_configuration.h72 size_t channel_count; member
/optee_os/core/arch/arm/plat-stm32mp1/
H A Dscmi_server.c390 const size_t channel_count = ARRAY_SIZE(scmi_channel); in plat_scmi_protocol_count_paranoid() local
392 for (n = 0; n < channel_count; n++) in plat_scmi_protocol_count_paranoid()
395 if (n < channel_count) in plat_scmi_protocol_count_paranoid()
398 for (n = 0; n < channel_count; n++) in plat_scmi_protocol_count_paranoid()
401 if (n < channel_count) in plat_scmi_protocol_count_paranoid()
404 for (n = 0; n < channel_count; n++) in plat_scmi_protocol_count_paranoid()
407 if (n < channel_count) in plat_scmi_protocol_count_paranoid()
411 for (n = 0; n < channel_count; n++) in plat_scmi_protocol_count_paranoid()
414 if (n < channel_count) in plat_scmi_protocol_count_paranoid()