/linux-6.3-rc2/net/atm/ |
A D | mpc.c | 136 mpc = mpc->next; in find_mpc_by_itfnum() 150 mpc = mpc->next; in find_mpc_by_vcc() 164 mpc = mpc->next; in find_mpc_by_lec() 320 mpc->new_ops = *mpc->old_ops; in start_mpc() 846 start_mpc(mpc, mpc->dev); in atm_mpoa_mpoad_attach() 892 mpc->in_ops->destroy_cache(mpc); in mpoad_close() 893 mpc->eg_ops->destroy_cache(mpc); in mpoad_close() 1304 mpc->in_ops->destroy_cache(mpc); in mps_death() 1427 mpc->in_ops->clear_count(mpc); in mpc_cache_check() 1436 mpc->in_ops->refresh(mpc); in mpc_cache_check() [all …]
|
A D | mpoa_caches.c | 150 msg_to_mpoad(&msg, mpc); in cache_hit() 173 msg_to_mpoad(&msg, mpc); in cache_hit() 327 while (mpc->in_cache != NULL) in in_destroy_cache() 328 mpc->in_ops->remove_entry(mpc->in_cache, mpc); in in_destroy_cache() 338 entry = mpc->eg_cache; in eg_cache_get_by_cache_id() 359 entry = mpc->eg_cache; in eg_cache_get_by_tag() 381 entry = mpc->eg_cache; in eg_cache_get_by_vcc() 401 entry = mpc->eg_cache; in eg_cache_get_by_src_ip() 529 mpc->eg_ops->remove_entry(mpc->eg_cache, mpc); in eg_destroy_cache() 563 mpc->in_ops = &ingress_ops; in atm_mpoa_init_cache() [all …]
|
A D | mpoa_proc.c | 107 struct mpoa_client *mpc; in mpc_start() local 111 for (mpc = mpcs; mpc; mpc = mpc->next) in mpc_start() 113 return mpc; in mpc_start() 133 struct mpoa_client *mpc = v; in mpc_show() local 145 seq_printf(m, "\nInterface %d:\n\n", mpc->dev_num); in mpc_show() 149 for (in_entry = mpc->in_cache; in_entry; in_entry = in_entry->next) { in mpc_show() 168 for (eg_entry = mpc->eg_cache; eg_entry; eg_entry = eg_entry->next) { in mpc_show()
|
A D | mpoa_caches.h | 15 void atm_mpoa_init_cache(struct mpoa_client *mpc); 51 void (*destroy_cache)(struct mpoa_client *mpc); 77 void (*destroy_cache)(struct mpoa_client *mpc);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/ |
A D | mpc.h | 203 struct mpc *mpc, argument 226 struct mpc *mpc, 247 struct mpc *mpc, 263 struct mpc *mpc, 279 struct mpc *mpc, 297 struct mpc *mpc, 320 struct mpc *mpc, 357 struct mpc *mpc, 393 struct mpc *mpc, 397 struct mpc *mpc, [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/ |
A D | dcn32_mpc.c | 68 struct mpc *mpc, in mpc32_power_on_blnd_lut() argument 124 struct mpc *mpc, in mpc32_configure_post1dlut() argument 167 struct mpc *mpc, in mpc32_program_post1dluta_settings() argument 196 struct mpc *mpc, in mpc32_program_post1dlutb_settings() argument 224 struct mpc *mpc, in mpc32_program_post1dlut_pwl() argument 258 struct mpc *mpc, in mpc32_program_post1dlut() argument 325 struct mpc *mpc, in mpc32_configure_shaper_lut() argument 340 struct mpc *mpc, in mpc32_program_shaper_luta_settings() argument 490 struct mpc *mpc, in mpc32_program_shaper_lutb_settings() argument 641 struct mpc *mpc, in mpc32_program_shaper_lut() argument [all …]
|
A D | dcn32_hwseq.c | 414 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn32_set_mpc_shaper_3dlut() local 433 result = mpc->funcs->program_3dlut(mpc, in dcn32_set_mpc_shaper_3dlut() 437 result = mpc->funcs->program_shaper(mpc, in dcn32_set_mpc_shaper_3dlut() 450 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn32_set_mcm_luts() local 465 result = mpc->funcs->program_1dlut(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts() 481 result = mpc->funcs->program_shaper(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts() 487 result = mpc->funcs->program_3dlut(mpc, NULL, mpcc_id); in dcn32_set_mcm_luts() 497 struct mpc *mpc = dc->res_pool->mpc; in dcn32_set_input_transfer_func() local 539 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn32_set_output_transfer_func() local 562 mpc->funcs->set_output_gamma(mpc, mpcc_id, params); in dcn32_set_output_transfer_func() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_mpc.c | 48 struct mpc *mpc, in mpc3_is_dwb_idle() argument 63 struct mpc *mpc, in mpc3_set_dwb_mux() argument 74 struct mpc *mpc, in mpc3_disable_dwb_mux() argument 84 struct mpc *mpc, in mpc3_set_out_rate_control() argument 174 struct mpc *mpc, in mpc3_ogam_get_reg_field() argument 331 struct mpc *mpc, in mpc3_set_output_gamma() argument 379 struct mpc *mpc, in mpc3_set_denorm() argument 418 struct mpc *mpc, in mpc3_set_denorm_clamp() argument 463 struct mpc *mpc, in mpc3_configure_shaper_lut() argument 477 struct mpc *mpc, in mpc3_program_shaper_luta_settings() argument [all …]
|
A D | dcn30_mpc.h | 1025 struct mpc *mpc, 1030 struct mpc *mpc, 1035 struct mpc *mpc, 1041 struct mpc *mpc, 1047 struct mpc *mpc, 1052 struct mpc *mpc, 1056 struct mpc *mpc, 1061 struct mpc *mpc, 1066 struct mpc *mpc, 1071 struct mpc *mpc, [all …]
|
A D | dcn30_hwseq.c | 98 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_mpc_shaper_3dlut() local 129 acquired_rmu = mpc->funcs->acquire_rmu(mpc, mpcc_id, in dcn30_set_mpc_shaper_3dlut() 134 result = mpc->funcs->program_3dlut(mpc, &stream->lut3d_func->lut_3d, in dcn30_set_mpc_shaper_3dlut() 136 result = mpc->funcs->program_shaper(mpc, shaper_lut, in dcn30_set_mpc_shaper_3dlut() 140 mpc->funcs->release_rmu(mpc, mpcc_id); in dcn30_set_mpc_shaper_3dlut() 194 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_output_transfer_func() local 209 &mpc->blender_params, false)) in dcn30_set_output_transfer_func() 210 params = &mpc->blender_params; in dcn30_set_output_transfer_func() 217 mpc->funcs->set_output_gamma(mpc, mpcc_id, params); in dcn30_set_output_transfer_func() 237 dc->res_pool->mpc->funcs->set_dwb_mux(dc->res_pool->mpc, in dcn30_set_writeback() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_mpc.h | 142 struct mpc *mpc, 151 struct mpc *mpc, 156 struct mpc *mpc); 159 struct mpc *mpc, 163 struct mpc *mpc, 167 struct mpc *mpc, 172 struct mpc *mpc, 177 struct mpc *mpc, 181 struct mpc *mpc, 185 struct mpc *mpc, [all …]
|
A D | dcn10_mpc.c | 40 void mpc1_set_bg_color(struct mpc *mpc, in mpc1_set_bg_color() argument 77 struct mpc *mpc, in mpc1_update_blending() argument 95 struct mpc *mpc, in mpc1_update_stereo_mix() argument 109 void mpc1_assert_idle_mpcc(struct mpc *mpc, int id) in mpc1_assert_idle_mpcc() argument 145 bool mpc1_is_mpcc_idle(struct mpc *mpc, int mpcc_id) in mpc1_is_mpcc_idle() argument 196 struct mpc *mpc, in mpc1_insert_plane() argument 262 mpc->funcs->update_blending(mpc, blnd_cfg, mpcc_id); in mpc1_insert_plane() 287 struct mpc *mpc, in mpc1_remove_mpcc() argument 370 void mpc1_mpc_init(struct mpc *mpc) in mpc1_mpc_init() argument 412 struct mpc *mpc, in mpc1_init_mpcc_list_from_hw() argument [all …]
|
A D | dcn10_resource.c | 926 if (pool->base.mpc != NULL) { in dcn10_resource_destruct() 927 kfree(TO_DCN10_MPC(pool->base.mpc)); in dcn10_resource_destruct() 928 pool->base.mpc = NULL; in dcn10_resource_destruct() 1389 dc->caps.color.mpc.gamut_remap = 0; in dcn10_resource_construct() 1390 dc->caps.color.mpc.num_3dluts = 0; in dcn10_resource_construct() 1391 dc->caps.color.mpc.shared_3d_lut = 0; in dcn10_resource_construct() 1392 dc->caps.color.mpc.ogam_ram = 0; in dcn10_resource_construct() 1396 dc->caps.color.mpc.ogam_rom_caps.pq = 0; in dcn10_resource_construct() 1398 dc->caps.color.mpc.ocsc = 0; in dcn10_resource_construct() 1641 pool->base.mpc = dcn10_mpc_create(ctx); in dcn10_resource_construct() [all …]
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | mpparse.c | 149 mpc->signature[0], mpc->signature[1], in smp_check_mpc() 150 mpc->signature[2], mpc->signature[3]); in smp_check_mpc() 153 if (mpf_checksum((unsigned char *)mpc, mpc->length)) { in smp_check_mpc() 157 if (mpc->spec != 0x01 && mpc->spec != 0x04) { in smp_check_mpc() 190 1, mpc, mpc->length, 1); in smp_dump_mptable() 795 mpc->checksum -= mpf_checksum((unsigned char *)mpc, mpc->length); in replace_intsrc_all() 868 if (!mpc) { in update_mp_table() 889 old = mpf_checksum((unsigned char *)mpc, mpc->length); in update_mp_table() 891 new = mpf_checksum((unsigned char *)mpc, mpc->length); in update_mp_table() 904 memcpy(mpc_new, mpc, mpc->length); in update_mp_table() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_mpc.c | 49 struct mpc *mpc, in mpc2_update_blending() argument 74 struct mpc *mpc, in mpc2_set_denorm() argument 112 struct mpc *mpc, in mpc2_set_denorm_clamp() argument 132 struct mpc *mpc, in mpc2_set_output_csc() argument 186 struct mpc *mpc, in mpc2_set_ocsc_default() argument 245 struct mpc *mpc, in mpc2_ogam_get_reg_field() argument 273 struct mpc *mpc, int mpcc_id, in mpc20_power_on_ogam_lut() argument 284 struct mpc *mpc, int mpcc_id, in mpc20_configure_ogam_lut() argument 377 struct mpc *mpc, int mpcc_id, in mpc20_program_ogam_pwl() argument 428 struct mpc *mpc, in mpc2_set_output_gamma() argument [all …]
|
A D | dcn20_mpc.h | 261 struct mpc base; 278 struct mpc *mpc, 283 struct mpc *mpc, 288 struct mpc *mpc, 293 struct mpc *mpc, 299 struct mpc *mpc, 305 struct mpc *mpc, 309 void mpc2_assert_idle_mpcc(struct mpc *mpc, int id); 310 void mpc2_assert_mpcc_idle_before_connect(struct mpc *mpc, int mpcc_id); 311 void mpc20_power_on_ogam_lut(struct mpc *mpc, int mpcc_id, bool power_on);
|
A D | dcn20_hwseq.c | 673 struct mpc *mpc = dc->res_pool->mpc; in dcn20_enable_stream_timing() local 814 struct mpc *mpc = dc->res_pool->mpc; in dcn20_program_output_csc() local 819 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, true); in dcn20_program_output_csc() 823 mpc->funcs->set_output_csc(mpc, in dcn20_program_output_csc() 829 mpc->funcs->set_ocsc_default(mpc, in dcn20_program_output_csc() 840 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn20_set_output_transfer_func() local 870 mpc->funcs->set_output_gamma(mpc, mpcc_id, params); in dcn20_set_output_transfer_func() 2551 struct mpc *mpc = dc->res_pool->mpc; in dcn20_update_visual_confirm_color() local 2567 mpc->funcs->set_bg_color(mpc, color, mpcc_id); in dcn20_update_visual_confirm_color() 2578 struct mpc *mpc = dc->res_pool->mpc; in dcn20_update_mpcc() local [all …]
|
/linux-6.3-rc2/arch/mips/sgi-ip30/ |
A D | ip30-smp.c | 79 struct mpconf *mpc; in ip30_smp_setup() local 85 mpc = (struct mpconf *)MPCONF(i); in ip30_smp_setup() 86 if (mpc->magic == MPCONF_MAGIC) { in ip30_smp_setup() 91 i, mpc->prid, mpc->physid, mpc->virtid); in ip30_smp_setup() 112 struct mpconf *mpc = (struct mpconf *)MPCONF(cpu); in ip30_smp_boot_secondary() local 115 mpc->stackaddr = (void *)__KSTK_TOS(idle); in ip30_smp_boot_secondary() 118 mpc->lnch_parm = task_thread_info(idle); in ip30_smp_boot_secondary() 123 mpc->launch = smp_bootstrap; in ip30_smp_boot_secondary()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn201/ |
A D | dcn201_hwseq.c | 304 res_pool->mpc->funcs->mpc_init(res_pool->mpc); in dcn201_init_hw() 394 struct mpc *mpc = dc->res_pool->mpc; in dcn201_plane_atomic_disconnect() local 408 mpc->funcs->remove_mpcc_from_secondary(mpc, mpc_tree_params, mpcc_to_remove); in dcn201_plane_atomic_disconnect() 415 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, mpcc_to_remove); in dcn201_plane_atomic_disconnect() 443 struct mpc *mpc = dc->res_pool->mpc; in dcn201_update_mpcc() local 500 mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); in dcn201_update_mpcc() 510 mpc->funcs->remove_mpcc_from_secondary(mpc, mpc_tree_params, remove_mpcc); in dcn201_update_mpcc() 517 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, remove_mpcc); in dcn201_update_mpcc() 520 mpc->funcs->assert_mpcc_idle_before_connect( in dcn201_update_mpcc() 521 dc->res_pool->mpc, mpcc_id); in dcn201_update_mpcc() [all …]
|
A D | dcn201_resource.c | 926 if (pool->base.mpc != NULL) { in dcn201_resource_destruct() 927 kfree(TO_DCN201_MPC(pool->base.mpc)); in dcn201_resource_destruct() 928 pool->base.mpc = NULL; in dcn201_resource_destruct() 1143 dc->caps.color.mpc.gamut_remap = 0; in dcn201_resource_construct() 1144 dc->caps.color.mpc.num_3dluts = 0; in dcn201_resource_construct() 1145 dc->caps.color.mpc.shared_3d_lut = 0; in dcn201_resource_construct() 1146 dc->caps.color.mpc.ogam_ram = 1; in dcn201_resource_construct() 1150 dc->caps.color.mpc.ogam_rom_caps.pq = 0; in dcn201_resource_construct() 1151 dc->caps.color.mpc.ogam_rom_caps.hlg = 0; in dcn201_resource_construct() 1152 dc->caps.color.mpc.ocsc = 1; in dcn201_resource_construct() [all …]
|
A D | dcn201_mpc.c | 43 struct mpc *mpc, in mpc201_set_out_rate_control() argument 49 struct dcn201_mpc *mpc201 = TO_DCN201_MPC(mpc); in mpc201_set_out_rate_control()
|
/linux-6.3-rc2/drivers/infiniband/hw/mana/ |
A D | qp.c | 36 req->vport = mpc->port_handle; in mana_ib_cfg_vport_steering() 104 struct mana_port_context *mpc; in mana_ib_create_qp_rss() local 166 mpc = netdev_priv(ndev); in mana_ib_create_qp_rss() 198 ret = mana_create_wq_obj(mpc, mpc->port_handle, GDMA_RQ, in mana_ib_create_qp_rss() 271 struct mana_port_context *mpc; in mana_ib_create_qp_raw() local 310 mpc = netdev_priv(ndev); in mana_ib_create_qp_raw() 355 err = mana_create_wq_obj(mpc, mpc->port_handle, GDMA_SQ, &wq_spec, in mana_ib_create_qp_raw() 438 struct mana_port_context *mpc; in mana_ib_destroy_qp_rss() local 447 mpc = netdev_priv(ndev); in mana_ib_destroy_qp_rss() 466 struct mana_port_context *mpc; in mana_ib_destroy_qp_raw() local [all …]
|
A D | main.c | 12 struct mana_port_context *mpc; in mana_ib_uncfg_vport() local 18 mpc = netdev_priv(ndev); in mana_ib_uncfg_vport() 26 mana_uncfg_vport(mpc); in mana_ib_uncfg_vport() 35 struct mana_port_context *mpc; in mana_ib_cfg_vport() local 42 mpc = netdev_priv(ndev); in mana_ib_cfg_vport() 54 err = mana_cfg_vport(mpc, pd->pdn, doorbell_id); in mana_ib_cfg_vport() 65 pd->tx_shortform_allowed = mpc->tx_shortform_allowed; in mana_ib_cfg_vport() 66 pd->tx_vp_offset = mpc->tx_vp_offset; in mana_ib_cfg_vport() 69 mpc->port_handle, pd->pdn, doorbell_id); in mana_ib_cfg_vport()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn314/ |
A D | dcn314_hwseq.c | 188 struct mpc *mpc = dc->res_pool->mpc; in dcn314_update_odm() local 206 if (mpc->funcs->set_out_rate_control) { in dcn314_update_odm() 208 mpc->funcs->set_out_rate_control( in dcn314_update_odm() 209 mpc, opp_inst[i], in dcn314_update_odm()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn303/ |
A D | dcn303_resource.c | 960 if (pool->mpc != NULL) { in dcn303_resource_destruct() 961 kfree(TO_DCN20_MPC(pool->mpc)); in dcn303_resource_destruct() 962 pool->mpc = NULL; in dcn303_resource_destruct() 1205 dc->caps.color.mpc.gamut_remap = 1; in dcn303_resource_construct() 1207 dc->caps.color.mpc.ogam_ram = 1; in dcn303_resource_construct() 1208 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn303_resource_construct() 1209 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn303_resource_construct() 1211 dc->caps.color.mpc.ogam_rom_caps.pq = 0; in dcn303_resource_construct() 1212 dc->caps.color.mpc.ogam_rom_caps.hlg = 0; in dcn303_resource_construct() 1213 dc->caps.color.mpc.ocsc = 1; in dcn303_resource_construct() [all …]
|