Home
last modified time | relevance | path

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

123

/linux/net/atm/
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()
1427 mpc->in_ops->clear_count(mpc); in mpc_cache_check()
1436 mpc->in_ops->refresh(mpc); in mpc_cache_check()
[all …]
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 …]
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()
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/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dmpc.h154 struct mpc *mpc, argument
175 struct mpc *mpc,
194 struct mpc *mpc,
208 struct mpc *mpc,
222 struct mpc *mpc,
238 struct mpc *mpc,
259 struct mpc *mpc,
294 struct mpc *mpc,
330 struct mpc *mpc,
334 struct mpc *mpc,
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_mpc.c48 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 Ddcn30_hwseq.c97 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_mpc_shaper_3dlut() local
127 acquired_rmu = mpc->funcs->acquire_rmu(mpc, mpcc_id, in dcn30_set_mpc_shaper_3dlut()
131 result = mpc->funcs->program_3dlut(mpc, in dcn30_set_mpc_shaper_3dlut()
134 result = mpc->funcs->program_shaper(mpc, shaper_lut, in dcn30_set_mpc_shaper_3dlut()
138 mpc->funcs->release_rmu(mpc, mpcc_id); in dcn30_set_mpc_shaper_3dlut()
192 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_output_transfer_func() local
207 &mpc->blender_params, false)) in dcn30_set_output_transfer_func()
208 params = &mpc->blender_params; in dcn30_set_output_transfer_func()
215 mpc->funcs->set_output_gamma(mpc, mpcc_id, params); in dcn30_set_output_transfer_func()
235 dc->res_pool->mpc->funcs->set_dwb_mux(dc->res_pool->mpc, in dcn30_set_writeback()
[all …]
A Ddcn30_mpc.h796 struct mpc *mpc,
801 struct mpc *mpc,
805 uint32_t mpcc3_acquire_rmu(struct mpc *mpc,
809 struct mpc *mpc,
814 struct mpc *mpc,
819 struct mpc *mpc,
825 struct mpc *mpc,
831 struct mpc *mpc,
836 struct mpc *mpc,
840 struct mpc *mpc,
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_mpc.c40 void mpc1_set_bg_color(struct mpc *mpc, in mpc1_set_bg_color() argument
72 struct mpc *mpc, in mpc1_update_blending() argument
90 struct mpc *mpc, in mpc1_update_stereo_mix() argument
104 void mpc1_assert_idle_mpcc(struct mpc *mpc, int id) in mpc1_assert_idle_mpcc() argument
134 bool mpc1_is_mpcc_idle(struct mpc *mpc, int mpcc_id) in mpc1_is_mpcc_idle() argument
185 struct mpc *mpc, in mpc1_insert_plane() argument
251 mpc->funcs->update_blending(mpc, blnd_cfg, mpcc_id); in mpc1_insert_plane()
276 struct mpc *mpc, in mpc1_remove_mpcc() argument
359 void mpc1_mpc_init(struct mpc *mpc) in mpc1_mpc_init() argument
401 struct mpc *mpc, in mpc1_init_mpcc_list_from_hw() argument
[all …]
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 …]
A Ddcn10_resource.c976 if (pool->base.mpc != NULL) { in dcn10_resource_destruct()
977 kfree(TO_DCN10_MPC(pool->base.mpc)); in dcn10_resource_destruct()
978 pool->base.mpc = NULL; in dcn10_resource_destruct()
1454 dc->caps.color.mpc.gamut_remap = 0; in dcn10_resource_construct()
1455 dc->caps.color.mpc.num_3dluts = 0; in dcn10_resource_construct()
1456 dc->caps.color.mpc.shared_3d_lut = 0; in dcn10_resource_construct()
1457 dc->caps.color.mpc.ogam_ram = 0; in dcn10_resource_construct()
1461 dc->caps.color.mpc.ogam_rom_caps.pq = 0; in dcn10_resource_construct()
1463 dc->caps.color.mpc.ocsc = 0; in dcn10_resource_construct()
1647 pool->base.mpc = dcn10_mpc_create(ctx); in dcn10_resource_construct()
[all …]
A Ddcn10_hw_sequencer.c338 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); in dcn10_log_hw_state()
1144 struct mpc *mpc = dc->res_pool->mpc; in dcn10_plane_atomic_disconnect() local
1156 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, mpcc_to_remove); in dcn10_plane_atomic_disconnect()
1932 dc->res_pool->mpc->funcs->cursor_lock(dc->res_pool->mpc, in dcn10_cursor_lock()
2503 struct mpc *mpc = dc->res_pool->mpc; in dcn10_update_visual_confirm_color() local
2516 mpc->funcs->set_bg_color(mpc, color, mpcc_id); in dcn10_update_visual_confirm_color()
2526 struct mpc *mpc = dc->res_pool->mpc; in dcn10_update_mpcc() local
2562 mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); in dcn10_update_mpcc()
2571 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, new_mpcc); in dcn10_update_mpcc()
2578 new_mpcc = mpc->funcs->insert_plane(dc->res_pool->mpc, in dcn10_update_mpcc()
[all …]
/linux/arch/x86/kernel/
A Dmpparse.c149 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/drivers/gpu/drm/amd/display/dc/dcn20/
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
404 struct mpc *mpc, in apply_DEDCN20_305_wa() argument
[all …]
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);
A Ddcn20_hwseq.c656 struct mpc *mpc = dc->res_pool->mpc; in dcn20_enable_stream_timing() local
774 struct mpc *mpc = dc->res_pool->mpc; in dcn20_program_output_csc() local
779 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, true); in dcn20_program_output_csc()
783 mpc->funcs->set_output_csc(mpc, in dcn20_program_output_csc()
789 mpc->funcs->set_ocsc_default(mpc, in dcn20_program_output_csc()
800 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn20_set_output_transfer_func() local
830 mpc->funcs->set_output_gamma(mpc, mpcc_id, params); in dcn20_set_output_transfer_func()
2282 struct mpc *mpc = dc->res_pool->mpc; in dcn20_update_visual_confirm_color() local
2295 mpc->funcs->set_bg_color(mpc, color, mpcc_id); in dcn20_update_visual_confirm_color()
2305 struct mpc *mpc = dc->res_pool->mpc; in dcn20_update_mpcc() local
[all …]
/linux/arch/mips/sgi-ip30/
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/drivers/gpu/drm/amd/display/dc/dcn201/
A Ddcn201_hwseq.c304 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 Ddcn201_resource.c927 if (pool->base.mpc != NULL) { in dcn201_resource_destruct()
928 kfree(TO_DCN201_MPC(pool->base.mpc)); in dcn201_resource_destruct()
929 pool->base.mpc = NULL; in dcn201_resource_destruct()
1136 dc->caps.color.mpc.gamut_remap = 0; in dcn201_resource_construct()
1137 dc->caps.color.mpc.num_3dluts = 0; in dcn201_resource_construct()
1138 dc->caps.color.mpc.shared_3d_lut = 0; in dcn201_resource_construct()
1139 dc->caps.color.mpc.ogam_ram = 1; in dcn201_resource_construct()
1143 dc->caps.color.mpc.ogam_rom_caps.pq = 0; in dcn201_resource_construct()
1144 dc->caps.color.mpc.ogam_rom_caps.hlg = 0; in dcn201_resource_construct()
1145 dc->caps.color.mpc.ocsc = 1; in dcn201_resource_construct()
[all …]
A Ddcn201_mpc.c43 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/drivers/gpu/drm/amd/display/dc/dcn301/
A Ddcn301_resource.c811 static struct mpc *dcn301_mpc_create( in dcn301_mpc_create()
1087 if (pool->base.mpc != NULL) { in dcn301_destruct()
1088 kfree(TO_DCN20_MPC(pool->base.mpc)); in dcn301_destruct()
1089 pool->base.mpc = NULL; in dcn301_destruct()
1480 dc->caps.color.mpc.gamut_remap = 1; in dcn301_resource_construct()
1482 dc->caps.color.mpc.ogam_ram = 1; in dcn301_resource_construct()
1483 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn301_resource_construct()
1486 dc->caps.color.mpc.ogam_rom_caps.pq = 0; in dcn301_resource_construct()
1487 dc->caps.color.mpc.ogam_rom_caps.hlg = 0; in dcn301_resource_construct()
1488 dc->caps.color.mpc.ocsc = 1; in dcn301_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn302/
A Ddcn302_resource.c1156 if (pool->mpc != NULL) { in dcn302_resource_destruct()
1157 kfree(TO_DCN20_MPC(pool->mpc)); in dcn302_resource_destruct()
1158 pool->mpc = NULL; in dcn302_resource_destruct()
1550 dc->caps.color.mpc.gamut_remap = 1; in dcn302_resource_construct()
1552 dc->caps.color.mpc.ogam_ram = 1; in dcn302_resource_construct()
1553 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn302_resource_construct()
1554 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn302_resource_construct()
1556 dc->caps.color.mpc.ogam_rom_caps.pq = 0; in dcn302_resource_construct()
1557 dc->caps.color.mpc.ogam_rom_caps.hlg = 0; in dcn302_resource_construct()
1558 dc->caps.color.mpc.ocsc = 1; in dcn302_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn303/
A Ddcn303_resource.c1082 if (pool->mpc != NULL) { in dcn303_resource_destruct()
1083 kfree(TO_DCN20_MPC(pool->mpc)); in dcn303_resource_destruct()
1084 pool->mpc = NULL; in dcn303_resource_destruct()
1493 dc->caps.color.mpc.gamut_remap = 1; in dcn303_resource_construct()
1495 dc->caps.color.mpc.ogam_ram = 1; in dcn303_resource_construct()
1496 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn303_resource_construct()
1497 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn303_resource_construct()
1499 dc->caps.color.mpc.ogam_rom_caps.pq = 0; in dcn303_resource_construct()
1500 dc->caps.color.mpc.ogam_rom_caps.hlg = 0; in dcn303_resource_construct()
1501 dc->caps.color.mpc.ocsc = 1; in dcn303_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn21/
A Ddcn21_resource.c935 if (pool->base.mpc != NULL) { in dcn21_resource_destruct()
936 kfree(TO_DCN20_MPC(pool->base.mpc)); in dcn21_resource_destruct()
937 pool->base.mpc = NULL; in dcn21_resource_destruct()
2020 dc->caps.color.mpc.gamut_remap = 0; in dcn21_resource_construct()
2021 dc->caps.color.mpc.num_3dluts = 0; in dcn21_resource_construct()
2022 dc->caps.color.mpc.shared_3d_lut = 0; in dcn21_resource_construct()
2023 dc->caps.color.mpc.ogam_ram = 1; in dcn21_resource_construct()
2027 dc->caps.color.mpc.ogam_rom_caps.pq = 0; in dcn21_resource_construct()
2029 dc->caps.color.mpc.ocsc = 1; in dcn21_resource_construct()
2216 pool->base.mpc = dcn21_mpc_create(ctx); in dcn21_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_resource.c1026 .mpc = true,
1147 static struct mpc *dcn31_mpc_create( in dcn31_mpc_create()
1555 if (pool->base.mpc != NULL) { in dcn31_resource_destruct()
1556 kfree(TO_DCN20_MPC(pool->base.mpc)); in dcn31_resource_destruct()
1557 pool->base.mpc = NULL; in dcn31_resource_destruct()
2238 dc->caps.color.mpc.gamut_remap = 1; in dcn31_resource_construct()
2240 dc->caps.color.mpc.ogam_ram = 1; in dcn31_resource_construct()
2244 dc->caps.color.mpc.ogam_rom_caps.pq = 0; in dcn31_resource_construct()
2245 dc->caps.color.mpc.ogam_rom_caps.hlg = 0; in dcn31_resource_construct()
2246 dc->caps.color.mpc.ocsc = 1; in dcn31_resource_construct()
[all …]

Completed in 106 milliseconds

123