Home
last modified time | relevance | path

Searched refs:mpc (Results 1 – 25 of 96) sorted by relevance

1234

/linux-6.15/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dmpc.h326 struct mpc *mpc,
353 struct mpc *mpc,
377 struct mpc *mpc,
406 struct mpc *mpc,
425 struct mpc *mpc,
446 struct mpc *mpc,
474 struct mpc *mpc,
583 struct mpc *mpc,
741 struct mpc *mpc,
759 struct mpc *mpc,
[all …]
/linux-6.15/net/atm/
H A Dmpc.c136 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()
1429 mpc->in_ops->clear_count(mpc); in mpc_cache_check()
1438 mpc->in_ops->refresh(mpc); in mpc_cache_check()
[all …]
H A Dmpoa_caches.c150 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 …]
H A Dmpoa_proc.c107 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()
H A Dmpoa_caches.h15 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.15/drivers/gpu/drm/amd/display/dc/mpc/dcn401/
H A Ddcn401_mpc.c77 struct mpc *mpc, in get3dlut_config() argument
156 if (mpc->ctx->dc->debug.enable_mem_low_power.bits.mpc) in mpc401_populate_lut()
227 if (mpc->ctx->dc->debug.enable_mem_low_power.bits.mpc) in mpc401_populate_lut()
236 struct mpc *mpc, in mpc401_program_lut_mode() argument
308 struct mpc *mpc, in program_gamut_remap() argument
345 mpc->ctx, in program_gamut_remap()
379 mpc->ctx, in program_gamut_remap()
414 mpc->ctx, in program_gamut_remap()
429 struct mpc *mpc, in mpc401_set_gamut_remap() argument
478 static void read_gamut_remap(struct mpc *mpc, in read_gamut_remap() argument
[all …]
H A Ddcn401_mpc.h190 struct mpc base;
208 void mpc401_populate_lut(struct mpc *mpc, const enum MCM_LUT_ID id, const union mcm_lut_params para…
212 struct mpc *mpc,
219 struct mpc *mpc,
225 struct mpc *mpc,
230 struct mpc *mpc,
235 struct mpc *mpc,
240 struct mpc *mpc,
245 struct mpc *mpc,
252 struct mpc *mpc,
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/mpc/dcn32/
H A Ddcn32_mpc.c69 struct mpc *mpc, in mpc32_power_on_blnd_lut() argument
126 struct mpc *mpc, in mpc32_configure_post1dlut() argument
169 struct mpc *mpc, in mpc32_program_post1dluta_settings() argument
198 struct mpc *mpc, in mpc32_program_post1dlutb_settings() argument
226 struct mpc *mpc, in mpc32_program_post1dlut_pwl() argument
263 struct mpc *mpc, in mpc32_program_post1dlut() argument
330 struct mpc *mpc, in mpc32_configure_shaper_lut() argument
345 struct mpc *mpc, in mpc32_program_shaper_luta_settings() argument
495 struct mpc *mpc, in mpc32_program_shaper_lutb_settings() argument
646 struct mpc *mpc, in mpc32_program_shaper_lut() argument
[all …]
H A Ddcn32_mpc.h313 struct mpc *mpc,
317 struct mpc *mpc,
321 struct mpc *mpc,
334 struct mpc *mpc,
338 struct mpc *mpc,
343 struct mpc *mpc,
347 struct mpc *mpc,
351 struct mpc *mpc,
355 struct mpc *mpc,
360 struct mpc *mpc,
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/mpc/dcn30/
H A Ddcn30_mpc.c78 struct mpc *mpc, in mpc3_is_dwb_idle() argument
93 struct mpc *mpc, in mpc3_set_dwb_mux() argument
104 struct mpc *mpc, in mpc3_disable_dwb_mux() argument
114 struct mpc *mpc, in mpc3_set_out_rate_control() argument
202 struct mpc *mpc, in mpc3_ogam_get_reg_field() argument
342 struct mpc *mpc, in mpc3_set_output_gamma() argument
390 struct mpc *mpc, in mpc3_set_denorm() argument
429 struct mpc *mpc, in mpc3_set_denorm_clamp() argument
474 struct mpc *mpc, in mpc3_configure_shaper_lut() argument
488 struct mpc *mpc, in mpc3_program_shaper_luta_settings() argument
[all …]
H A Ddcn30_mpc.h1014 struct mpc *mpc,
1031 struct mpc *mpc,
1036 struct mpc *mpc,
1041 struct mpc *mpc,
1047 struct mpc *mpc,
1053 struct mpc *mpc,
1058 struct mpc *mpc,
1062 struct mpc *mpc,
1071 struct mpc *mpc,
1076 struct mpc *mpc,
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/mpc/dcn20/
H A Ddcn20_mpc.c49 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
431 struct mpc *mpc, in mpc2_set_output_gamma() argument
[all …]
H A Ddcn20_mpc.h261 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);
/linux-6.15/arch/x86/kernel/
H A Dmpparse.c145 mpc->signature[0], mpc->signature[1], in smp_check_mpc()
146 mpc->signature[2], mpc->signature[3]); in smp_check_mpc()
149 if (mpf_checksum((unsigned char *)mpc, mpc->length)) { in smp_check_mpc()
153 if (mpc->spec != 0x01 && mpc->spec != 0x04) { in smp_check_mpc()
186 1, mpc, mpc->length, 1); in smp_dump_mptable()
793 mpc->checksum -= mpf_checksum((unsigned char *)mpc, mpc->length); in replace_intsrc_all()
866 if (!mpc) { in update_mp_table()
887 old = mpf_checksum((unsigned char *)mpc, mpc->length); in update_mp_table()
889 new = mpf_checksum((unsigned char *)mpc, mpc->length); in update_mp_table()
902 memcpy(mpc_new, mpc, mpc->length); in update_mp_table()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/mpc/dcn10/
H A Ddcn10_mpc.c40 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
119 struct mpcc *mpc1_get_mpcc(struct mpc *mpc, int mpcc_id) in mpc1_get_mpcc() argument
180 struct mpc *mpc, in mpc1_insert_plane() argument
247 mpc->funcs->update_blending(mpc, blnd_cfg, mpcc_id); in mpc1_insert_plane()
272 struct mpc *mpc, in mpc1_remove_mpcc() argument
355 void mpc1_mpc_init(struct mpc *mpc) in mpc1_mpc_init() argument
397 struct mpc *mpc, in mpc1_init_mpcc_list_from_hw() argument
[all …]
H A Ddcn10_mpc.h142 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 …]
/linux-6.15/arch/mips/sgi-ip30/
H A Dip30-smp.c79 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.15/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c294 res_pool->mpc->funcs->mpc_init(res_pool->mpc); in dcn201_init_hw()
382 struct mpc *mpc = dc->res_pool->mpc; in dcn201_plane_atomic_disconnect() local
396 mpc->funcs->remove_mpcc_from_secondary(mpc, mpc_tree_params, mpcc_to_remove); in dcn201_plane_atomic_disconnect()
403 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, mpcc_to_remove); in dcn201_plane_atomic_disconnect()
430 struct mpc *mpc = dc->res_pool->mpc; in dcn201_update_mpcc() local
487 mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); in dcn201_update_mpcc()
497 mpc->funcs->remove_mpcc_from_secondary(mpc, mpc_tree_params, remove_mpcc); in dcn201_update_mpcc()
504 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, remove_mpcc); in dcn201_update_mpcc()
507 mpc->funcs->assert_mpcc_idle_before_connect( in dcn201_update_mpcc()
508 dc->res_pool->mpc, mpcc_id); in dcn201_update_mpcc()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/mpc/
H A DMakefile32 AMD_DAL_MPC_DCN10 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn10/,$(MPC_DCN10))
41 AMD_DAL_MPC_DCN20 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn20/,$(MPC_DCN20))
50 AMD_DAL_MPC_DCN30 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn30/,$(MPC_DCN30))
59 AMD_DAL_MPC_DCN32 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn32/,$(MPC_DCN32))
68 AMD_DAL_MPC_DCN401 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn401/,$(MPC_DCN401))
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c172 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); in dcn30_log_color_state()
249 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_mpc_shaper_3dlut() local
280 acquired_rmu = mpc->funcs->acquire_rmu(mpc, mpcc_id, in dcn30_set_mpc_shaper_3dlut()
285 result = mpc->funcs->program_3dlut(mpc, &stream->lut3d_func->lut_3d, in dcn30_set_mpc_shaper_3dlut()
290 result = mpc->funcs->program_shaper(mpc, shaper_lut, in dcn30_set_mpc_shaper_3dlut()
297 mpc->funcs->release_rmu(mpc, mpcc_id); in dcn30_set_mpc_shaper_3dlut()
349 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_program_gamut_remap() local
377 mpc->funcs->set_gamut_remap(mpc, mpcc_id, &mpc_adjust); in dcn30_program_gamut_remap()
385 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_output_transfer_func() local
409 mpc->funcs->set_output_gamma(mpc, mpcc_id, params); in dcn30_set_output_transfer_func()
[all …]
/linux-6.15/drivers/infiniband/hw/mana/
H A Dqp.c34 req->vport = mpc->port_handle; in mana_ib_cfg_vport_steering()
102 struct mana_port_context *mpc; in mana_ib_create_qp_rss() local
162 mpc = netdev_priv(ndev); in mana_ib_create_qp_rss()
195 ret = mana_create_wq_obj(mpc, mpc->port_handle, GDMA_RQ, in mana_ib_create_qp_rss()
279 struct mana_port_context *mpc; in mana_ib_create_qp_raw() local
317 mpc = netdev_priv(ndev); in mana_ib_create_qp_raw()
344 eq = &mpc->ac->eqs[eq_vec]; in mana_ib_create_qp_raw()
347 err = mana_create_wq_obj(mpc, mpc->port_handle, GDMA_SQ, &wq_spec, in mana_ib_create_qp_raw()
759 mpc = netdev_priv(ndev); in mana_ib_gd_modify_qp()
816 mpc = netdev_priv(ndev); in mana_ib_destroy_qp_rss()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c86 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn401_program_gamut_remap() local
105 mpc->funcs->set_gamut_remap(mpc, mpcc_id, &mpc_adjust); in dcn401_program_gamut_remap()
111 mpc->funcs->set_gamut_remap(mpc, mpcc_id, &mpc_adjust); in dcn401_program_gamut_remap()
127 mpc->funcs->set_gamut_remap(mpc, mpcc_id, &mpc_adjust); in dcn401_program_gamut_remap()
373 struct mpc *mpc = dc->res_pool->mpc; in dcn401_get_mcm_lut_xable_from_pipe_ctx() local
407 struct mpc *mpc = dc->res_pool->mpc; in dcn401_populate_mcm_luts() local
486 mpc->funcs->program_3dlut_size(mpc, is_17x17x17, mpcc_id); in dcn401_populate_mcm_luts()
590 struct mpc *mpc = dc->res_pool->mpc; in dcn401_set_mcm_luts() local
629 result &= mpc->funcs->program_3dlut(mpc, NULL, mpcc_id); in dcn401_set_mcm_luts()
640 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn401_set_output_transfer_func() local
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_hw_sequencer.c829 block_sequence[*num_steps].params.power_on_mpc_mem_pwr_params.mpc = dc->res_pool->mpc; in hwss_build_fast_sequence()
836 block_sequence[*num_steps].params.set_output_csc_params.mpc = dc->res_pool->mpc; in hwss_build_fast_sequence()
843 block_sequence[*num_steps].params.set_ocsc_default_params.mpc = dc->res_pool->mpc; in hwss_build_fast_sequence()
1046 struct mpc *mpc = params->power_on_mpc_mem_pwr_params.mpc; in hwss_power_on_mpc_mem_pwr() local
1050 if (mpc->funcs->power_on_mpc_mem_pwr) in hwss_power_on_mpc_mem_pwr()
1051 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, power_on); in hwss_power_on_mpc_mem_pwr()
1056 struct mpc *mpc = params->set_output_csc_params.mpc; in hwss_set_output_csc() local
1062 mpc->funcs->set_output_csc(mpc, in hwss_set_output_csc()
1070 struct mpc *mpc = params->set_ocsc_default_params.mpc; in hwss_set_ocsc_default() local
1076 mpc->funcs->set_ocsc_default(mpc, in hwss_set_ocsc_default()
[all …]
/linux-6.15/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c549 if (!mpc->das_pre) in mana_pre_dealloc_rxbufs()
554 dma_unmap_single(dev, mpc->das_pre[i], mpc->rxbpre_datasize, in mana_pre_dealloc_rxbufs()
559 kfree(mpc->das_pre); in mana_pre_dealloc_rxbufs()
560 mpc->das_pre = NULL; in mana_pre_dealloc_rxbufs()
581 if (!mpc->rxbufs_pre || !mpc->das_pre || !mpc->rxbpre_total) { in mana_get_rxbuf_pre()
607 *da = mpc->das_pre[mpc->rxbpre_total]; in mana_get_rxbuf_pre()
608 va = mpc->rxbufs_pre[mpc->rxbpre_total]; in mana_get_rxbuf_pre()
609 mpc->rxbufs_pre[mpc->rxbpre_total] = NULL; in mana_get_rxbuf_pre()
646 &mpc->rxbpre_alloc_size, &mpc->rxbpre_headroom); in mana_pre_alloc_rxbufs()
658 if (!mpc->das_pre) in mana_pre_alloc_rxbufs()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c445 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn32_set_mpc_shaper_3dlut() local
464 result = mpc->funcs->program_3dlut(mpc, &stream->lut3d_func->lut_3d, mpcc_id); in dcn32_set_mpc_shaper_3dlut()
468 result = mpc->funcs->program_shaper(mpc, shaper_lut, mpcc_id); in dcn32_set_mpc_shaper_3dlut()
481 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn32_set_mcm_luts() local
496 mpc->funcs->program_1dlut(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts()
510 mpc->funcs->program_shaper(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts()
514 result = mpc->funcs->program_3dlut(mpc, &plane_state->lut3d_func.lut_3d, mpcc_id); in dcn32_set_mcm_luts()
516 result = mpc->funcs->program_3dlut(mpc, NULL, mpcc_id); in dcn32_set_mcm_luts()
526 struct mpc *mpc = dc->res_pool->mpc; in dcn32_set_input_transfer_func() local
565 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn32_set_output_transfer_func() local
[all …]

1234