Searched refs:rl_data (Results 1 – 6 of 6) sorted by relevance
120 static struct rl_sla *find_parent(struct adf_rl *rl_data, in find_parent() argument132 parent_sla = rl_data->sla[input_parent_id]; in find_parent()147 if (rl_data->root[i] && rl_data->root[i]->srv == sla_in->srv) { in find_parent()148 root = rl_data->root[i]; in find_parent()164 if (rl_data->cluster[i] && rl_data->cluster[i]->parent == root) in find_parent()165 return rl_data->cluster[i]; in find_parent()193 u32 adf_rl_get_sla_arr_of_type(struct adf_rl *rl_data, enum rl_node_type type, in adf_rl_get_sla_arr_of_type() argument198 *sla_arr = rl_data->leaf; in adf_rl_get_sla_arr_of_type()201 *sla_arr = rl_data->cluster; in adf_rl_get_sla_arr_of_type()204 *sla_arr = rl_data->root; in adf_rl_get_sla_arr_of_type()[all …]
154 u32 adf_rl_get_sla_arr_of_type(struct adf_rl *rl_data, enum rl_node_type type,
316 struct adf_rl *rl_data = accel_dev->rate_limiting; in adf_gen4_vfmig_get_slas() local327 max_num_sla = adf_rl_get_sla_arr_of_type(rl_data, RL_LEAF, &sla_type_arr); in adf_gen4_vfmig_get_slas()
341 struct adf_rl_hw_data rl_data; member
306 static void adf_init_rl_data(struct adf_rl_hw_data *rl_data) in adf_init_rl_data() argument308 rl_data->pciout_tb_offset = ADF_GEN4_RL_TOKEN_PCIEOUT_BUCKET_OFFSET; in adf_init_rl_data()309 rl_data->pciin_tb_offset = ADF_GEN4_RL_TOKEN_PCIEIN_BUCKET_OFFSET; in adf_init_rl_data()310 rl_data->r2l_offset = ADF_GEN4_RL_R2L_OFFSET; in adf_init_rl_data()311 rl_data->l2c_offset = ADF_GEN4_RL_L2C_OFFSET; in adf_init_rl_data()312 rl_data->c2s_offset = ADF_GEN4_RL_C2S_OFFSET; in adf_init_rl_data()314 rl_data->pcie_scale_div = ADF_420XX_RL_PCIE_SCALE_FACTOR_DIV; in adf_init_rl_data()315 rl_data->pcie_scale_mul = ADF_420XX_RL_PCIE_SCALE_FACTOR_MUL; in adf_init_rl_data()316 rl_data->dcpr_correction = ADF_420XX_RL_DCPR_CORRECTION; in adf_init_rl_data()317 rl_data->max_tp[ADF_SVC_ASYM] = ADF_420XX_RL_MAX_TP_ASYM; in adf_init_rl_data()[all …]
218 static void adf_init_rl_data(struct adf_rl_hw_data *rl_data) in adf_init_rl_data() argument220 rl_data->pciout_tb_offset = ADF_GEN4_RL_TOKEN_PCIEOUT_BUCKET_OFFSET; in adf_init_rl_data()221 rl_data->pciin_tb_offset = ADF_GEN4_RL_TOKEN_PCIEIN_BUCKET_OFFSET; in adf_init_rl_data()222 rl_data->r2l_offset = ADF_GEN4_RL_R2L_OFFSET; in adf_init_rl_data()223 rl_data->l2c_offset = ADF_GEN4_RL_L2C_OFFSET; in adf_init_rl_data()224 rl_data->c2s_offset = ADF_GEN4_RL_C2S_OFFSET; in adf_init_rl_data()226 rl_data->pcie_scale_div = ADF_4XXX_RL_PCIE_SCALE_FACTOR_DIV; in adf_init_rl_data()227 rl_data->pcie_scale_mul = ADF_4XXX_RL_PCIE_SCALE_FACTOR_MUL; in adf_init_rl_data()228 rl_data->dcpr_correction = ADF_4XXX_RL_DCPR_CORRECTION; in adf_init_rl_data()229 rl_data->max_tp[ADF_SVC_ASYM] = ADF_4XXX_RL_MAX_TP_ASYM; in adf_init_rl_data()[all …]