/kernel/linux/linux-5.10/arch/arm/mach-vexpress/ |
H A D | spc.c | 113 struct ve_spc_opp *opps[MAX_CLUSTERS]; member 260 struct ve_spc_opp *opps = info->opps[cluster]; in ve_spc_get_performance() local 270 opps += perf; in ve_spc_get_performance() 271 *freq = opps->freq; in ve_spc_get_performance() 280 struct ve_spc_opp *opps = info->opps[cluster]; in ve_spc_round_performance() local 284 for (idx = 0; idx < max_opp; idx++, opps++) { in ve_spc_round_performance() 285 ftmp = opps->freq; in ve_spc_round_performance() 303 struct ve_spc_opp *opps in ve_spc_find_performance_index() local 404 struct ve_spc_opp *opps; ve_spc_populate_opps() local 431 struct ve_spc_opp *opps; ve_init_opp_table() local [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-versatile/ |
H A D | spc.c | 105 struct ve_spc_opp *opps[MAX_CLUSTERS]; member 252 struct ve_spc_opp *opps = info->opps[cluster]; in ve_spc_get_performance() local 262 opps += perf; in ve_spc_get_performance() 263 *freq = opps->freq; in ve_spc_get_performance() 272 struct ve_spc_opp *opps = info->opps[cluster]; in ve_spc_round_performance() local 276 for (idx = 0; idx < max_opp; idx++, opps++) { in ve_spc_round_performance() 277 ftmp = opps->freq; in ve_spc_round_performance() 295 struct ve_spc_opp *opps in ve_spc_find_performance_index() local 396 struct ve_spc_opp *opps; ve_spc_populate_opps() local 423 struct ve_spc_opp *opps; ve_init_opp_table() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | arm_scpi.c | 307 } opps[MAX_DVFS_OPPS]; member 637 info->opps = kcalloc(info->count, sizeof(*opp), GFP_KERNEL); in scpi_dvfs_get_info() 638 if (!info->opps) { in scpi_dvfs_get_info() 643 for (i = 0, opp = info->opps; i < info->count; i++, opp++) { in scpi_dvfs_get_info() 644 opp->freq = le32_to_cpu(buf.opps[i].freq); in scpi_dvfs_get_info() 645 opp->m_volt = le32_to_cpu(buf.opps[i].m_volt); in scpi_dvfs_get_info() 648 sort(info->opps, info->count, sizeof(*opp), opp_cmp_func, NULL); in scpi_dvfs_get_info() 694 if (!info->opps) in scpi_dvfs_add_opps_to_device() 697 for (opp = info->opps, idx = 0; idx < info->count; idx++, opp++) { in scpi_dvfs_add_opps_to_device() 871 kfree(info->dvfs[i]->opps); in scpi_remove() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | arm_scpi.c | 307 } opps[MAX_DVFS_OPPS]; member 637 info->opps = kcalloc(info->count, sizeof(*opp), GFP_KERNEL); in scpi_dvfs_get_info() 638 if (!info->opps) { in scpi_dvfs_get_info() 643 for (i = 0, opp = info->opps; i < info->count; i++, opp++) { in scpi_dvfs_get_info() 644 opp->freq = le32_to_cpu(buf.opps[i].freq); in scpi_dvfs_get_info() 645 opp->m_volt = le32_to_cpu(buf.opps[i].m_volt); in scpi_dvfs_get_info() 648 sort(info->opps, info->count, sizeof(*opp), opp_cmp_func, NULL); in scpi_dvfs_get_info() 694 if (!info->opps) in scpi_dvfs_add_opps_to_device() 697 for (opp = info->opps, idx = 0; idx < info->count; idx++, opp++) { in scpi_dvfs_add_opps_to_device() 871 kfree(info->dvfs[i]->opps); in scpi_remove() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn201/ |
H A D | dcn201_hwseq.c | 184 opp = dc->res_pool->opps[opp_id_src0]; in dcn201_init_blank() 295 res_pool->opps[i]->mpc_tree_params.opp_id = res_pool->opps[i]->inst; in dcn201_init_hw() 296 res_pool->opps[i]->mpc_tree_params.opp_list = NULL; in dcn201_init_hw() 298 res_pool->opps[i]->mpcc_disconnect_pending[j] = false; in dcn201_init_hw() 320 res_pool->opps[i]->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in dcn201_init_hw() 321 pipe_ctx->stream_res.opp = res_pool->opps[i]; in dcn201_init_hw()
|
H A D | dcn201_resource.c | 946 if (pool->base.opps[i] != NULL) in dcn201_resource_destruct() 947 pool->base.opps[i]->funcs->opp_destroy(&pool->base.opps[i]); in dcn201_resource_destruct() 1222 pool->base.opps[i] = dcn201_opp_create(ctx, i); in dcn201_resource_construct() 1223 if (pool->base.opps[i] == NULL) { in dcn201_resource_construct()
|
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk-scpi.c | 67 const struct scpi_opp *opp = clk->info->opps; in __scpi_dvfs_round_rate() 92 opp = clk->info->opps + idx; in scpi_dvfs_recalc_rate() 107 const struct scpi_opp *opp = clk->info->opps; in __scpi_find_dvfs_index()
|
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-scpi.c | 66 const struct scpi_opp *opp = clk->info->opps; in __scpi_dvfs_round_rate() 91 opp = clk->info->opps + idx; in scpi_dvfs_recalc_rate() 106 const struct scpi_opp *opp = clk->info->opps; in __scpi_find_dvfs_index()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | ip6_offload.c | 162 const struct net_offload **opps) in ipv6_exthdrs_len() 170 *opps = rcu_dereference(inet6_offloads[proto]); in ipv6_exthdrs_len() 171 if (unlikely(!(*opps))) in ipv6_exthdrs_len() 173 if (!((*opps)->flags & INET6_PROTO_GSO_EXTHDR)) in ipv6_exthdrs_len() 161 ipv6_exthdrs_len(struct ipv6hdr *iph, const struct net_offload **opps) ipv6_exthdrs_len() argument
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | ip6_offload.c | 167 const struct net_offload **opps) in ipv6_exthdrs_len() 175 *opps = rcu_dereference(inet6_offloads[proto]); in ipv6_exthdrs_len() 176 if (unlikely(!(*opps))) in ipv6_exthdrs_len() 178 if (!((*opps)->flags & INET6_PROTO_GSO_EXTHDR)) in ipv6_exthdrs_len() 166 ipv6_exthdrs_len(struct ipv6hdr *iph, const struct net_offload **opps) ipv6_exthdrs_len() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | scpi_protocol.h | 21 struct scpi_opp *opps; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | scpi_protocol.h | 21 struct scpi_opp *opps; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce80/ |
H A D | dce80_resource.c | 811 if (pool->base.opps[i] != NULL) in dce80_resource_destruct() 812 dce110_opp_destroy(&pool->base.opps[i]); in dce80_resource_destruct() 1078 pool->base.opps[i] = dce80_opp_create(ctx, i); in dce80_construct() 1079 if (pool->base.opps[i] == NULL) { in dce80_construct() 1276 pool->base.opps[i] = dce80_opp_create(ctx, i); in dce81_construct() 1277 if (pool->base.opps[i] == NULL) { in dce81_construct() 1470 pool->base.opps[i] = dce80_opp_create(ctx, i); in dce83_construct() 1471 if (pool->base.opps[i] == NULL) { in dce83_construct()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce60/ |
H A D | dce60_resource.c | 806 if (pool->base.opps[i] != NULL) in dce60_resource_destruct() 807 dce110_opp_destroy(&pool->base.opps[i]); in dce60_resource_destruct() 1069 pool->base.opps[i] = dce60_opp_create(ctx, i); in dce60_construct() 1070 if (pool->base.opps[i] == NULL) { in dce60_construct() 1267 pool->base.opps[i] = dce60_opp_create(ctx, i); in dce61_construct() 1268 if (pool->base.opps[i] == NULL) { in dce61_construct() 1461 pool->base.opps[i] = dce60_opp_create(ctx, i); in dce64_construct() 1462 if (pool->base.opps[i] == NULL) { in dce64_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce60/ |
H A D | dce60_resource.c | 802 if (pool->base.opps[i] != NULL) in dce60_resource_destruct() 803 dce110_opp_destroy(&pool->base.opps[i]); in dce60_resource_destruct() 1065 pool->base.opps[i] = dce60_opp_create(ctx, i); in dce60_construct() 1066 if (pool->base.opps[i] == NULL) { in dce60_construct() 1263 pool->base.opps[i] = dce60_opp_create(ctx, i); in dce61_construct() 1264 if (pool->base.opps[i] == NULL) { in dce61_construct() 1457 pool->base.opps[i] = dce60_opp_create(ctx, i); in dce64_construct() 1458 if (pool->base.opps[i] == NULL) { in dce64_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce80/ |
H A D | dce80_resource.c | 809 if (pool->base.opps[i] != NULL) in dce80_resource_destruct() 810 dce110_opp_destroy(&pool->base.opps[i]); in dce80_resource_destruct() 1079 pool->base.opps[i] = dce80_opp_create(ctx, i); in dce80_construct() 1080 if (pool->base.opps[i] == NULL) { in dce80_construct() 1279 pool->base.opps[i] = dce80_opp_create(ctx, i); in dce81_construct() 1280 if (pool->base.opps[i] == NULL) { in dce81_construct() 1476 pool->base.opps[i] = dce80_opp_create(ctx, i); in dce83_construct() 1477 if (pool->base.opps[i] == NULL) { in dce83_construct()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.c | 824 if (pool->base.opps[i] != NULL) in dce110_resource_destruct() 825 dce110_opp_destroy(&pool->base.opps[i]); in dce110_resource_destruct() 1146 pipe_ctx->stream_res.opp = pool->opps[underlay_idx]; in dce110_acquire_underlay() 1274 pool->opps[pool->pipe_count] = &dce110_oppv->base; in underlay_create() 1477 pool->base.opps[i] = dce110_opp_create(ctx, i); in dce110_resource_construct() 1478 if (pool->base.opps[i] == NULL) { in dce110_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.c | 817 if (pool->base.opps[i] != NULL) in dce110_resource_destruct() 818 dce110_opp_destroy(&pool->base.opps[i]); in dce110_resource_destruct() 1141 pipe_ctx->stream_res.opp = pool->opps[underlay_idx]; in dce110_acquire_underlay() 1269 pool->opps[pool->pipe_count] = &dce110_oppv->base; in underlay_create() 1476 pool->base.opps[i] = dce110_opp_create(ctx, i); in dce110_resource_construct() 1477 if (pool->base.opps[i] == NULL) { in dce110_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hwseq.c | 1528 if (dc->res_pool->opps[i] != NULL && dc->res_pool->opps[i]->inst == opp_id_src0) { in dcn32_init_blank() 1529 opp = dc->res_pool->opps[i]; in dcn32_init_blank() 1542 if (dc->res_pool->opps[i] != NULL && dc->res_pool->opps[i]->inst == opp_id_src1) { in dcn32_init_blank() 1543 bottom_opp = dc->res_pool->opps[i]; in dcn32_init_blank() 1604 if (dc->res_pool->opps[i] != NULL && dc->res_pool->opps[i]->inst == opp_id_src0) { in dcn32_blank_phantom() 1605 opp = dc->res_pool->opps[i]; in dcn32_blank_phantom()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce100/ |
H A D | dce100_resource.c | 763 if (pool->base.opps[i] != NULL) in dce100_resource_destruct() 764 dce110_opp_destroy(&pool->base.opps[i]); in dce100_resource_destruct() 1115 pool->base.opps[i] = dce100_opp_create(ctx, i); in dce100_resource_construct() 1116 if (pool->base.opps[i] == NULL) { in dce100_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce100/ |
H A D | dce100_resource.c | 761 if (pool->base.opps[i] != NULL) in dce100_resource_destruct() 762 dce110_opp_destroy(&pool->base.opps[i]); in dce100_resource_destruct() 1116 pool->base.opps[i] = dce100_opp_create(ctx, i); in dce100_resource_construct() 1117 if (pool->base.opps[i] == NULL) { in dce100_resource_construct()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hwseq.c | 301 opp = dc->res_pool->opps[opp_id_src0]; in dcn20_init_blank() 310 bottom_opp = dc->res_pool->opps[opp_id_src1]; in dcn20_init_blank() 1437 if (dc->res_pool->opps[opp_inst]->mpcc_disconnect_pending[mpcc_inst]) { in dcn20_update_dchubp_dpp() 1439 dc->res_pool->opps[opp_inst]->mpcc_disconnect_pending[mpcc_inst] = false; in dcn20_update_dchubp_dpp() 2474 res_pool->opps[i]->mpc_tree_params.opp_id = res_pool->opps[i]->inst; in dcn20_fpga_init_hw() 2475 res_pool->opps[i]->mpc_tree_params.opp_list = NULL; in dcn20_fpga_init_hw() 2477 res_pool->opps[i]->mpcc_disconnect_pending[j] = false; in dcn20_fpga_init_hw() 2499 //dc->res_pool->opps[i]->mpc_tree_params.opp_id = dc->res_pool->opps[ in dcn20_fpga_init_hw() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.c | 987 if (pool->base.opps[i] != NULL) in dcn10_resource_destruct() 988 pool->base.opps[i]->funcs->opp_destroy(&pool->base.opps[i]); in dcn10_resource_destruct() 1585 pool->base.opps[j] = dcn10_opp_create(ctx, i); in dcn10_resource_construct() 1586 if (pool->base.opps[j] == NULL) { in dcn10_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.c | 927 if (pool->base.opps[i] != NULL) in dcn10_resource_destruct() 928 pool->base.opps[i]->funcs->opp_destroy(&pool->base.opps[i]); in dcn10_resource_destruct() 1587 pool->base.opps[j] = dcn10_opp_create(ctx, i); in dcn10_resource_construct() 1588 if (pool->base.opps[j] == NULL) { in dcn10_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn302/ |
H A D | dcn302_resource.c | 1048 if (pool->opps[i] != NULL) in dcn302_resource_destruct() 1049 pool->opps[i]->funcs->opp_destroy(&pool->opps[i]); in dcn302_resource_destruct() 1383 pool->opps[i] = dcn302_opp_create(ctx, i); in dcn302_resource_construct() 1384 if (pool->opps[i] == NULL) { in dcn302_resource_construct()
|