Home
last modified time | relevance | path

Searched refs:scmi_clock_ctx (Results 1 – 2 of 2) sorted by relevance

/SCP-firmware-master/module/scmi_clock/test/
A Dmod_scmi_clock_unit_test.c34 static struct mod_scmi_clock_ctx scmi_clock_ctx; variable
61 scmi_clock_ctx.config = config_scmi_clock.data; in setUp()
62 scmi_clock_ctx.max_pending_transactions = scmi_clock_ctx.config->max_pending_transactions; in setUp()
63 scmi_clock_ctx.agent_table = scmi_clock_ctx.config->agent_table; in setUp()
65 scmi_clock_ctx.clock_devices = FWK_ARRAY_SIZE(agent_device_table_ospm); in setUp()
68 scmi_clock_ctx.clock_ops = in setUp()
69 fwk_mm_calloc((unsigned int)scmi_clock_ctx.clock_devices, in setUp()
73 for (unsigned int i = 0; i < (unsigned int)scmi_clock_ctx.clock_devices; i++) { in setUp()
74 scmi_clock_ctx.clock_ops[i].service_id = FWK_ID_NONE; in setUp()
77 scmi_clock_ctx.scmi_api = &from_protocol_api; in setUp()
[all …]
/SCP-firmware-master/module/scmi_clock/src/
A Dmod_scmi_clock.c129 static struct mod_scmi_clock_ctx scmi_clock_ctx; variable
792 return scmi_clock_ctx.scmi_api->respond( in scmi_clock_protocol_version_handler()
855 return scmi_clock_ctx.scmi_api->respond( in scmi_clock_protocol_message_attributes_handler()
1112 return scmi_clock_ctx.scmi_api->respond( in scmi_clock_rate_set_handler()
1210 return scmi_clock_ctx.scmi_api->respond( in scmi_clock_config_set_handler()
1422 return scmi_clock_ctx.scmi_api->respond( in scmi_clock_message_handler()
1446 scmi_clock_ctx.config = config; in scmi_clock_init()
1455 scmi_clock_ctx.clock_devices = clock_devices; in scmi_clock_init()
1458 scmi_clock_ctx.clock_ops = in scmi_clock_init()
1480 &scmi_clock_ctx.scmi_api); in scmi_clock_bind()
[all …]

Completed in 6 milliseconds