/linux/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/drivers/gpu/drm/amd/display/dc/inc/hw/ |
A D | mpc.h | 154 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 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_hwseq.c | 97 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 D | dcn30_mpc.h | 796 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 D | dcn10_mpc.c | 40 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 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_resource.c | 976 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 D | dcn10_hw_sequencer.c | 338 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 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/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 404 struct mpc *mpc, in apply_DEDCN20_305_wa() 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 | 656 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 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/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 | 927 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 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/drivers/gpu/drm/amd/display/dc/dcn301/ |
A D | dcn301_resource.c | 811 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 D | dcn302_resource.c | 1156 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 D | dcn303_resource.c | 1082 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 D | dcn21_resource.c | 935 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 D | dcn31_resource.c | 1026 .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 …]
|