Home
last modified time | relevance | path

Searched refs:device_count (Results 1 – 25 of 27) sorted by relevance

12

/SCP-firmware-master/module/optee/mbx/src/
A Dmod_optee_mbx.c50 unsigned int device_count; member
61 if (device_idx < mbx_ctx.device_count) { in optee_mbx_signal_smt_message()
85 if (device_idx < mbx_ctx.device_count) { in optee_mbx_signal_msg_message()
107 return mbx_ctx.device_count; in optee_mbx_get_devices_count()
112 if (id >= mbx_ctx.device_count) in optee_mbx_get_device()
163 static int mbx_init(fwk_id_t module_id, unsigned int device_count, in mbx_init() argument
167 if (device_count == 0) in mbx_init()
170 mbx_ctx.device_ctx_table = fwk_mm_calloc(device_count, in mbx_init()
176 mbx_ctx.device_count = device_count; in mbx_init()
235 if (elt_idx >= mbx_ctx.device_count) { in mbx_process_bind_request()
/SCP-firmware-master/product/rcar/module/rcar_mfismh/src/
A Dmod_rcar_mfismh.c61 unsigned int device_count; member
83 for (device_idx = 0; device_idx < mfismh_ctx.device_count; device_idx++) { in mfismh_isr()
89 if (device_idx >= mfismh_ctx.device_count) in mfismh_isr()
130 unsigned int device_count, in mfismh_init() argument
133 if (device_count == 0) in mfismh_init()
137 fwk_mm_calloc(device_count, sizeof(mfismh_ctx.device_ctx_table[0])); in mfismh_init()
141 mfismh_ctx.device_count = device_count; in mfismh_init()
/SCP-firmware-master/product/morello/module/morello_mhu/src/
A Dmod_mhu.c60 unsigned int device_count; member
79 for (device_idx = 0; device_idx < mhu_ctx.device_count; device_idx++) { in mhu_isr()
85 if (device_idx >= mhu_ctx.device_count) in mhu_isr()
137 unsigned int device_count, in mhu_init() argument
140 if (device_count == 0) in mhu_init()
144 fwk_mm_calloc(device_count, sizeof(mhu_ctx.device_ctx_table[0])); in mhu_init()
148 mhu_ctx.device_count = device_count; in mhu_init()
/SCP-firmware-master/product/n1sdp/module/n1sdp_mhu/src/
A Dmod_mhu.c60 unsigned int device_count; member
79 for (device_idx = 0; device_idx < mhu_ctx.device_count; device_idx++) { in mhu_isr()
85 if (device_idx >= mhu_ctx.device_count) in mhu_isr()
135 static int mhu_init(fwk_id_t module_id, unsigned int device_count, in mhu_init() argument
138 if (device_count == 0) in mhu_init()
141 mhu_ctx.device_ctx_table = fwk_mm_calloc(device_count, in mhu_init()
144 mhu_ctx.device_count = device_count; in mhu_init()
/SCP-firmware-master/module/mhu/src/
A Dmod_mhu.c61 unsigned int device_count; member
81 for (device_idx = 0; device_idx < mhu_ctx.device_count; device_idx++) { in mhu_isr()
88 if (device_idx >= mhu_ctx.device_count) { in mhu_isr()
144 static int mhu_init(fwk_id_t module_id, unsigned int device_count, in mhu_init() argument
147 if (device_count == 0) { in mhu_init()
151 mhu_ctx.device_ctx_table = fwk_mm_calloc(device_count, in mhu_init()
154 mhu_ctx.device_count = device_count; in mhu_init()
/SCP-firmware-master/product/optee-fvp/fw/
A Dconfig_scmi_clock.c90 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
95 .device_count = FWK_ARRAY_SIZE(agent_device_table_perf),
/SCP-firmware-master/product/n1sdp/module/n1sdp_remote_pd/src/
A Dmod_n1sdp_remote_pd.c174 static int remote_pd_init(fwk_id_t module_id, unsigned int device_count, in remote_pd_init() argument
181 if (device_count == 0) { in remote_pd_init()
185 remote_pd_ctx.dev_ctx_table = fwk_mm_calloc(device_count, in remote_pd_init()
188 remote_pd_ctx.pd_count = device_count; in remote_pd_init()
/SCP-firmware-master/product/morello/scp_ramfw_soc/
A Dconfig_scmi_clock.c35 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
/SCP-firmware-master/product/tc0/scp_ramfw/
A Dconfig_scmi_clock.c41 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
/SCP-firmware-master/product/tc1/scp_ramfw/
A Dconfig_scmi_clock.c41 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
/SCP-firmware-master/product/tc2/scp_ramfw/
A Dconfig_scmi_clock.c41 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
/SCP-firmware-master/product/sgm776/scp_ramfw/
A Dconfig_scmi_clock.c45 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
/SCP-firmware-master/module/mhu3/src/
A Dmod_mhu3.c69 unsigned int device_count; member
91 for (device_idx = 0U; device_idx < mhu3_ctx.device_count; device_idx++) { in mhu3_isr()
98 if (device_idx >= mhu3_ctx.device_count) { in mhu3_isr()
326 unsigned int device_count, in mhu3_init() argument
329 if (device_count == 0U) { in mhu3_init()
334 fwk_mm_calloc(device_count, sizeof(mhu3_ctx.device_ctx_table[0])); in mhu3_init()
336 mhu3_ctx.device_count = device_count; in mhu3_init()
/SCP-firmware-master/product/sgm775/scp_ramfw/
A Dconfig_scmi_clock.c49 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
/SCP-firmware-master/module/scmi_clock/test/
A Dconfig_scmi_clock.h62 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
/SCP-firmware-master/product/juno/scp_ramfw/
A Dconfig_scmi_clock.c62 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
A Dconfig_resource_perms.c507 .device_count = (uint32_t)JUNO_RES_PERMS_DEVICES_COUNT,
/SCP-firmware-master/module/scmi_clock/include/
A Dmod_scmi_clock.h98 uint8_t device_count; member
/SCP-firmware-master/product/n1sdp/module/n1sdp_timer_sync/src/
A Dmod_n1sdp_timer_sync.c188 static int n1sdp_timer_sync_init(fwk_id_t module_id, unsigned int device_count, in n1sdp_timer_sync_init() argument
191 if (device_count == 0) { in n1sdp_timer_sync_init()
195 tsync_ctx.device_ctx_table = fwk_mm_calloc(device_count, in n1sdp_timer_sync_init()
/SCP-firmware-master/module/resource_perms/src/
A Dmod_resource_perms.c48 uint32_t device_count; member
1229 if ((resources_perms_ctx.device_count == 0) || in mod_res_agent_set_device_permission()
1234 if (device_id >= resources_perms_ctx.device_count) { in mod_res_agent_set_device_permission()
1243 for (i = 0; i < resources_perms_ctx.device_count; i++) { in mod_res_agent_set_device_permission()
1249 if (i == resources_perms_ctx.device_count) { in mod_res_agent_set_device_permission()
1297 if ((resources_perms_ctx.device_count == 0) || in mod_res_agent_set_device_protocol_permission()
1302 if (device_id >= resources_perms_ctx.device_count) { in mod_res_agent_set_device_protocol_permission()
1311 for (i = 0; i < resources_perms_ctx.device_count; i++) { in mod_res_agent_set_device_protocol_permission()
1317 if (i == resources_perms_ctx.device_count) { in mod_res_agent_set_device_protocol_permission()
1450 if ((resources_perms_ctx.device_count == 0) || in mod_res_agent_reset_config()
[all …]
/SCP-firmware-master/product/rcar/scp_ramfw/
A Dconfig_scmi_clock.c1031 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
1035 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
1039 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
1043 .device_count = FWK_ARRAY_SIZE(agent_device_table_ospm),
/SCP-firmware-master/product/optee-stm32mp1/fw/
A Dconfig_scmi_clocks.c137 .device_count = FWK_ARRAY_SIZE(scmi_clock_device),
/SCP-firmware-master/module/scmi_clock/src/
A Dmod_scmi_clock.c215 if (scmi_clock_idx >= agent_entry->device_count) { in get_clock_device_entry()
272 if (scmi_clock_idx >= agent_entry->device_count) { in get_agent_clock_state()
308 if (scmi_clock_idx >= agent_entry->device_count) { in set_agent_clock_state()
540 for (clock_idx = 0; clock_idx < (unsigned int)agent->device_count; in mod_scmi_clock_config_set_policy()
816 agent->device_count in scmi_clock_protocol_attributes_handler()
/SCP-firmware-master/module/resource_perms/include/
A Dmod_resource_perms.h555 uint32_t device_count; member
/SCP-firmware-master/module/cmn650/src/
A Dmod_cmn650.c828 unsigned int device_count, in cmn650_init() argument
832 if (device_count == 0) in cmn650_init()
836 ctx = fwk_mm_calloc(device_count, sizeof(struct cmn650_device_ctx)); in cmn650_init()

Completed in 36 milliseconds

12