| /Linux-v5.15/net/atm/ |
| D | mpc.c | 69 static void MPOA_trigger_rcvd(struct k_message *msg, struct mpoa_client *mpc); 70 static void MPOA_res_reply_rcvd(struct k_message *msg, struct mpoa_client *mpc); 71 static void ingress_purge_rcvd(struct k_message *msg, struct mpoa_client *mpc); 72 static void egress_purge_rcvd(struct k_message *msg, struct mpoa_client *mpc); 73 static void mps_death(struct k_message *msg, struct mpoa_client *mpc); 74 static void clean_up(struct k_message *msg, struct mpoa_client *mpc, 77 struct mpoa_client *mpc); 79 struct mpoa_client *mpc); 81 struct mpoa_client *mpc); 83 static const uint8_t *copy_macs(struct mpoa_client *mpc, [all …]
|
| D | mpoa_caches.c | 133 static int cache_hit(in_cache_entry *entry, struct mpoa_client *mpc) in cache_hit() argument 143 if (entry->count > mpc->parameters.mpc_p1) { in cache_hit() 146 memcpy(msg.MPS_ctrl, mpc->mps_ctrl_addr, ATM_ESA_LEN); in cache_hit() 150 msg_to_mpoad(&msg, mpc); in cache_hit() 162 if (entry->count > mpc->parameters.mpc_p1 && in cache_hit() 165 mpc->dev->name, &entry->ctrl_info.in_dst_ip); in cache_hit() 168 memcpy(msg.MPS_ctrl, mpc->mps_ctrl_addr, ATM_ESA_LEN); in cache_hit() 173 msg_to_mpoad(&msg, mpc); in cache_hit() 324 static void in_destroy_cache(struct mpoa_client *mpc) in in_destroy_cache() argument 326 write_lock_irq(&mpc->ingress_lock); in in_destroy_cache() [all …]
|
| 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()
|
| 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);
|
| D | Makefile | 7 mpoa-objs := mpc.o mpoa_caches.o mpoa_proc.o
|
| D | mpc.h | 13 int msg_to_mpoad(struct k_message *msg, struct mpoa_client *mpc);
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| D | mpc.h | 131 struct mpc { struct 154 struct mpc *mpc, argument 175 struct mpc *mpc, 194 struct mpc *mpc, 206 void (*mpc_init)(struct mpc *mpc); 208 struct mpc *mpc, 222 struct mpc *mpc, 238 struct mpc *mpc, 259 struct mpc *mpc, 277 struct mpc *mpc, [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_mpc.c | 48 struct mpc *mpc, in mpc3_is_dwb_idle() argument 51 struct dcn30_mpc *mpc30 = TO_DCN30_MPC(mpc); in mpc3_is_dwb_idle() 63 struct mpc *mpc, in mpc3_set_dwb_mux() argument 67 struct dcn30_mpc *mpc30 = TO_DCN30_MPC(mpc); in mpc3_set_dwb_mux() 74 struct mpc *mpc, in mpc3_disable_dwb_mux() argument 77 struct dcn30_mpc *mpc30 = TO_DCN30_MPC(mpc); in mpc3_disable_dwb_mux() 84 struct mpc *mpc, in mpc3_set_out_rate_control() argument 90 struct dcn30_mpc *mpc30 = TO_DCN30_MPC(mpc); in mpc3_set_out_rate_control() 102 static enum dc_lut_mode mpc3_get_ogam_current(struct mpc *mpc, int mpcc_id) in mpc3_get_ogam_current() argument 110 struct dcn30_mpc *mpc30 = TO_DCN30_MPC(mpc); in mpc3_get_ogam_current() [all …]
|
| 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 200 if (ret == false && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn30_set_output_transfer_func() 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() [all …]
|
| D | dcn30_mpc.h | 777 struct mpc base; 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, [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn10/ |
| D | dcn10_mpc.c | 40 void mpc1_set_bg_color(struct mpc *mpc, in mpc1_set_bg_color() argument 44 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_set_bg_color() 45 struct mpcc *bottommost_mpcc = mpc1_get_mpcc(mpc, mpcc_id); in mpc1_set_bg_color() 72 struct mpc *mpc, in mpc1_update_blending() argument 76 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_update_blending() 77 struct mpcc *mpcc = mpc1_get_mpcc(mpc, mpcc_id); in mpc1_update_blending() 90 struct mpc *mpc, in mpc1_update_stereo_mix() argument 94 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_update_stereo_mix() 104 void mpc1_assert_idle_mpcc(struct mpc *mpc, int id) in mpc1_assert_idle_mpcc() argument 106 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_assert_idle_mpcc() [all …]
|
| D | dcn10_mpc.h | 125 struct mpc base; 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, [all …]
|
| D | dcn10_resource.c | 742 static struct mpc *dcn10_mpc_create(struct dc_context *ctx) in dcn10_mpc_create() 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() 1458 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn10_resource_construct() 1459 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn10_resource_construct() [all …]
|
| D | dcn10_hw_sequencer.c | 338 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); in dcn10_log_hw_state() 1079 struct mpc *mpc = dc->res_pool->mpc; in dcn10_plane_atomic_disconnect() local 1085 mpcc_to_remove = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, dpp_id); in dcn10_plane_atomic_disconnect() 1091 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, mpcc_to_remove); in dcn10_plane_atomic_disconnect() 1241 dc->res_pool->mpc->funcs->mpc_init_single_inst( in dcn10_init_pipes() 1242 dc->res_pool->mpc, i); in dcn10_init_pipes() 1861 dc->res_pool->mpc->funcs->cursor_lock(dc->res_pool->mpc, in dcn10_cursor_lock() 2432 struct mpc *mpc = dc->res_pool->mpc; in dcn10_update_visual_confirm_color() local 2444 if (mpc->funcs->set_bg_color) in dcn10_update_visual_confirm_color() 2445 mpc->funcs->set_bg_color(mpc, color, mpcc_id); in dcn10_update_visual_confirm_color() [all …]
|
| /Linux-v5.15/arch/x86/kernel/ |
| D | mpparse.c | 144 static int __init smp_check_mpc(struct mpc_table *mpc, char *oem, char *str) in smp_check_mpc() argument 147 if (memcmp(mpc->signature, MPC_SIGNATURE, 4)) { in smp_check_mpc() 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() 158 pr_err("MPTABLE: bad table version (%d)!!\n", mpc->spec); in smp_check_mpc() 161 if (!mpc->lapic) { in smp_check_mpc() 165 memcpy(oem, mpc->oem, 8); in smp_check_mpc() 169 memcpy(str, mpc->productid, 12); in smp_check_mpc() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_mpc.c | 49 struct mpc *mpc, in mpc2_update_blending() argument 53 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_update_blending() 55 struct mpcc *mpcc = mpc1_get_mpcc(mpc, mpcc_id); in mpc2_update_blending() 74 struct mpc *mpc, in mpc2_set_denorm() argument 78 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_denorm() 112 struct mpc *mpc, in mpc2_set_denorm_clamp() argument 116 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_denorm_clamp() 132 struct mpc *mpc, in mpc2_set_output_csc() argument 138 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_output_csc() 186 struct mpc *mpc, in mpc2_set_ocsc_default() argument [all …]
|
| 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);
|
| D | dcn20_hwseq.c | 653 struct mpc *mpc = dc->res_pool->mpc; in dcn20_enable_stream_timing() local 706 if (mpc->funcs->set_out_rate_control) { in dcn20_enable_stream_timing() 708 mpc->funcs->set_out_rate_control( in dcn20_enable_stream_timing() 709 mpc, opp_inst[i], in dcn20_enable_stream_timing() 771 struct mpc *mpc = dc->res_pool->mpc; in dcn20_program_output_csc() local 775 if (mpc->funcs->power_on_mpc_mem_pwr) in dcn20_program_output_csc() 776 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, true); in dcn20_program_output_csc() 779 if (mpc->funcs->set_output_csc != NULL) in dcn20_program_output_csc() 780 mpc->funcs->set_output_csc(mpc, in dcn20_program_output_csc() 785 if (mpc->funcs->set_ocsc_default != NULL) in dcn20_program_output_csc() [all …]
|
| /Linux-v5.15/arch/mips/sgi-ip30/ |
| 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-v5.15/drivers/gpu/drm/amd/display/dc/dcn302/ |
| D | dcn302_resource.c | 779 static struct mpc *dcn302_mpc_create(struct dc_context *ctx, int num_mpcc, int num_rmu) in dcn302_mpc_create() 1152 if (pool->mpc != NULL) { in dcn302_resource_destruct() 1153 kfree(TO_DCN20_MPC(pool->mpc)); in dcn302_resource_destruct() 1154 pool->mpc = NULL; in dcn302_resource_destruct() 1546 dc->caps.color.mpc.gamut_remap = 1; in dcn302_resource_construct() 1547 dc->caps.color.mpc.num_3dluts = pool->res_cap->num_mpc_3dlut; //3 in dcn302_resource_construct() 1548 dc->caps.color.mpc.ogam_ram = 1; in dcn302_resource_construct() 1549 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn302_resource_construct() 1550 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn302_resource_construct() 1551 dc->caps.color.mpc.ogam_rom_caps.gamma2_2 = 0; in dcn302_resource_construct() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn303/ |
| D | dcn303_resource.c | 728 static struct mpc *dcn303_mpc_create(struct dc_context *ctx, int num_mpcc, int num_rmu) in dcn303_mpc_create() 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() 1479 dc->caps.color.mpc.gamut_remap = 1; in dcn303_resource_construct() 1480 dc->caps.color.mpc.num_3dluts = pool->res_cap->num_mpc_3dlut; //3 in dcn303_resource_construct() 1481 dc->caps.color.mpc.ogam_ram = 1; in dcn303_resource_construct() 1482 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn303_resource_construct() 1483 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn303_resource_construct() 1484 dc->caps.color.mpc.ogam_rom_caps.gamma2_2 = 0; in dcn303_resource_construct() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn301/ |
| D | dcn301_resource.c | 988 static struct mpc *dcn301_mpc_create( in dcn301_mpc_create() 1260 if (pool->base.mpc != NULL) { in dcn301_destruct() 1261 kfree(TO_DCN20_MPC(pool->base.mpc)); in dcn301_destruct() 1262 pool->base.mpc = NULL; in dcn301_destruct() 1711 dc->caps.color.mpc.gamut_remap = 1; in dcn301_resource_construct() 1712 dc->caps.color.mpc.num_3dluts = pool->base.res_cap->num_mpc_3dlut; //2 in dcn301_resource_construct() 1713 dc->caps.color.mpc.ogam_ram = 1; in dcn301_resource_construct() 1714 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn301_resource_construct() 1715 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn301_resource_construct() 1716 dc->caps.color.mpc.ogam_rom_caps.gamma2_2 = 0; in dcn301_resource_construct() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn21/ |
| 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() 1521 struct mpc *dcn21_mpc_create(struct dc_context *ctx) in dcn21_mpc_create() 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() 2024 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn21_resource_construct() 2025 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn21_resource_construct() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn31/ |
| D | dcn31_resource.c | 947 .mpc = false, 1066 static struct mpc *dcn31_mpc_create( in dcn31_mpc_create() 1352 if (pool->base.mpc != NULL) { in dcn31_resource_destruct() 1353 kfree(TO_DCN20_MPC(pool->base.mpc)); in dcn31_resource_destruct() 1354 pool->base.mpc = NULL; in dcn31_resource_destruct() 1973 dc->caps.color.mpc.gamut_remap = 1; in dcn31_resource_construct() 1974 dc->caps.color.mpc.num_3dluts = pool->base.res_cap->num_mpc_3dlut; //2 in dcn31_resource_construct() 1975 dc->caps.color.mpc.ogam_ram = 1; in dcn31_resource_construct() 1976 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn31_resource_construct() 1977 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn31_resource_construct() [all …]
|
| /Linux-v5.15/arch/x86/include/asm/ |
| D | mpspec_def.h | 162 char mpc[8]; member
|