Lines Matching refs:domain_id
83 static inline struct perf_plugins_dev_ctx *perf_ph_get_ctx(fwk_id_t domain_id) in perf_ph_get_ctx() argument
85 return &perf_plugins_ctx.dev_ctx[fwk_id_get_element_idx(domain_id)]; in perf_ph_get_ctx()
88 static inline fwk_id_t get_phy_domain_id(fwk_id_t domain_id) in get_phy_domain_id() argument
91 FWK_MODULE_IDX_DVFS, fwk_id_get_element_idx(domain_id)); in get_phy_domain_id()
107 fwk_id_t domain_id; in plugin_set_limits() local
119 domain_id = get_phy_domain_id(data->domain_id); in plugin_set_limits()
120 dev_ctx = perf_ph_get_ctx(domain_id); in plugin_set_limits()
135 status = perf_set_limits(domain_id, 0, &req_limits); in plugin_set_limits()
218 phy_dom_idx = fwk_id_get_element_idx(dev_ctx->perf_table.domain_id); in plugins_policy_sync_level_limits()
247 dev_ctx = perf_ph_get_ctx(fc_update->domain_id); in plugins_policy_update()
261 dev_ctx = perf_ph_get_ctx(fc_update->domain_id); in plugins_policy_update_no_plugins()
321 snapshot->domain_id = FWK_ID_SUB_ELEMENT( in assign_data_for_plugins()
362 dev_ctx = perf_ph_get_ctx(fc_update->domain_id); in store_and_aggregate()
364 this_dom_idx = fwk_id_get_sub_element_idx(fc_update->domain_id); in store_and_aggregate()
394 phy_ix = fwk_id_get_element_idx(fc_update->domain_id); in store_and_aggregate()
424 dev_ctx = perf_ph_get_ctx(fc_update->domain_id); in perf_plugins_handler_update()
426 this_dom_idx = fwk_id_get_sub_element_idx(fc_update->domain_id); in perf_plugins_handler_update()
450 fc_update->domain_id, &perf_snapshot, dom_type); in perf_plugins_handler_update()
474 dev_ctx = perf_ph_get_ctx(fc_update->domain_id); in perf_plugins_handler_get()
476 this_dom_idx = fwk_id_get_sub_element_idx(fc_update->domain_id); in perf_plugins_handler_get()
589 dev_ctx->perf_table.domain_id = FWK_ID_ELEMENT(FWK_MODULE_IDX_DVFS, i); in perf_plugins_handler_init()
603 perf_plugins_ctx.full_perf_table.domain_id = in perf_plugins_handler_init()