/Linux-v5.10/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.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | mpc.h | 139 struct mpc { struct 162 struct mpc *mpc, argument 183 struct mpc *mpc, 202 struct mpc *mpc, 214 void (*mpc_init)(struct mpc *mpc); 216 struct mpc *mpc, 230 struct mpc *mpc, 246 struct mpc *mpc, 268 struct mpc *mpc, 286 struct mpc *mpc, [all …]
|
/Linux-v5.10/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() 70 struct mpc *mpc, in mpc1_update_blending() argument 74 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_update_blending() 75 struct mpcc *mpcc = mpc1_get_mpcc(mpc, mpcc_id); in mpc1_update_blending() 84 mpc1_set_bg_color(mpc, &blnd_cfg->black_color, mpcc_id); in mpc1_update_blending() 89 struct mpc *mpc, in mpc1_update_stereo_mix() argument 93 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_update_stereo_mix() 103 void mpc1_assert_idle_mpcc(struct mpc *mpc, int id) in mpc1_assert_idle_mpcc() argument [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() 1451 dc->caps.color.mpc.gamut_remap = 0; in dcn10_resource_construct() 1452 dc->caps.color.mpc.num_3dluts = 0; in dcn10_resource_construct() 1453 dc->caps.color.mpc.shared_3d_lut = 0; in dcn10_resource_construct() 1454 dc->caps.color.mpc.ogam_ram = 0; in dcn10_resource_construct() 1455 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn10_resource_construct() 1456 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn10_resource_construct() [all …]
|
D | dcn10_hw_sequencer.c | 331 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); in dcn10_log_hw_state() 1047 struct mpc *mpc = dc->res_pool->mpc; in dcn10_plane_atomic_disconnect() local 1053 mpcc_to_remove = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, dpp_id); in dcn10_plane_atomic_disconnect() 1059 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, mpcc_to_remove); in dcn10_plane_atomic_disconnect() 1191 dc->res_pool->mpc->funcs->mpc_init_single_inst( in dcn10_init_pipes() 1192 dc->res_pool->mpc, i); in dcn10_init_pipes() 1806 dc->res_pool->mpc->funcs->cursor_lock(dc->res_pool->mpc, in dcn10_cursor_lock() 2365 struct mpc *mpc = dc->res_pool->mpc; in dcn10_update_mpcc() local 2413 mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); in dcn10_update_mpcc() 2418 new_mpcc = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, mpcc_id); in dcn10_update_mpcc() [all …]
|
/Linux-v5.10/arch/x86/kernel/ |
D | mpparse.c | 143 static int __init smp_check_mpc(struct mpc_table *mpc, char *oem, char *str) in smp_check_mpc() argument 146 if (memcmp(mpc->signature, MPC_SIGNATURE, 4)) { in smp_check_mpc() 148 mpc->signature[0], mpc->signature[1], in smp_check_mpc() 149 mpc->signature[2], mpc->signature[3]); in smp_check_mpc() 152 if (mpf_checksum((unsigned char *)mpc, mpc->length)) { in smp_check_mpc() 156 if (mpc->spec != 0x01 && mpc->spec != 0x04) { in smp_check_mpc() 157 pr_err("MPTABLE: bad table version (%d)!!\n", mpc->spec); in smp_check_mpc() 160 if (!mpc->lapic) { in smp_check_mpc() 164 memcpy(oem, mpc->oem, 8); in smp_check_mpc() 168 memcpy(str, mpc->productid, 12); in smp_check_mpc() [all …]
|
/Linux-v5.10/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 | 95 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_mpc_shaper_3dlut() local 125 acquired_rmu = mpc->funcs->acquire_rmu(mpc, mpcc_id, in dcn30_set_mpc_shaper_3dlut() 129 result = mpc->funcs->program_3dlut(mpc, in dcn30_set_mpc_shaper_3dlut() 132 result = mpc->funcs->program_shaper(mpc, shaper_lut, in dcn30_set_mpc_shaper_3dlut() 136 mpc->funcs->release_rmu(mpc, mpcc_id); in dcn30_set_mpc_shaper_3dlut() 190 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_output_transfer_func() local 198 if (ret == false && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn30_set_output_transfer_func() 205 &mpc->blender_params, false)) in dcn30_set_output_transfer_func() 206 params = &mpc->blender_params; in dcn30_set_output_transfer_func() 213 mpc->funcs->set_output_gamma(mpc, mpcc_id, params); in dcn30_set_output_transfer_func() [all …]
|
D | dcn30_mpc.h | 593 struct mpc base; 612 struct mpc *mpc, 617 struct mpc *mpc, 621 uint32_t mpcc3_acquire_rmu(struct mpc *mpc, 625 struct mpc *mpc, 630 struct mpc *mpc, 635 struct mpc *mpc, 641 struct mpc *mpc, 647 struct mpc *mpc, 652 struct mpc *mpc, [all …]
|
D | dcn30_resource.c | 970 static struct mpc *dcn30_mpc_create( in dcn30_mpc_create() 1225 if (pool->base.mpc != NULL) { in dcn30_resource_destruct() 1226 kfree(TO_DCN20_MPC(pool->base.mpc)); in dcn30_resource_destruct() 1227 pool->base.mpc = NULL; in dcn30_resource_destruct() 2630 dc->caps.color.mpc.gamut_remap = 1; in dcn30_resource_construct() 2631 dc->caps.color.mpc.num_3dluts = pool->base.res_cap->num_mpc_3dlut; //3 in dcn30_resource_construct() 2632 dc->caps.color.mpc.ogam_ram = 1; in dcn30_resource_construct() 2633 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn30_resource_construct() 2634 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn30_resource_construct() 2635 dc->caps.color.mpc.ogam_rom_caps.gamma2_2 = 0; in dcn30_resource_construct() [all …]
|
/Linux-v5.10/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() 70 mpc1_set_bg_color(mpc, &blnd_cfg->black_color, mpcc_id); in mpc2_update_blending() 75 struct mpc *mpc, in mpc2_set_denorm() argument 79 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_denorm() 113 struct mpc *mpc, in mpc2_set_denorm_clamp() argument 117 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_denorm_clamp() 133 struct mpc *mpc, in mpc2_set_output_csc() argument 139 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_output_csc() [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 | 657 struct mpc *mpc = dc->res_pool->mpc; in dcn20_enable_stream_timing() local 712 if (mpc->funcs->set_out_rate_control) { in dcn20_enable_stream_timing() 714 mpc->funcs->set_out_rate_control( in dcn20_enable_stream_timing() 715 mpc, opp_inst[i], in dcn20_enable_stream_timing() 777 struct mpc *mpc = dc->res_pool->mpc; in dcn20_program_output_csc() local 781 if (mpc->funcs->power_on_mpc_mem_pwr) in dcn20_program_output_csc() 782 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, true); in dcn20_program_output_csc() 785 if (mpc->funcs->set_output_csc != NULL) in dcn20_program_output_csc() 786 mpc->funcs->set_output_csc(mpc, in dcn20_program_output_csc() 791 if (mpc->funcs->set_ocsc_default != NULL) in dcn20_program_output_csc() [all …]
|
/Linux-v5.10/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.10/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 924 if (pool->base.mpc != NULL) { in dcn21_resource_destruct() 925 kfree(TO_DCN20_MPC(pool->base.mpc)); in dcn21_resource_destruct() 926 pool->base.mpc = NULL; in dcn21_resource_destruct() 1346 struct mpc *dcn21_mpc_create(struct dc_context *ctx) in dcn21_mpc_create() 1844 dc->caps.color.mpc.gamut_remap = 0; in dcn21_resource_construct() 1845 dc->caps.color.mpc.num_3dluts = 0; in dcn21_resource_construct() 1846 dc->caps.color.mpc.shared_3d_lut = 0; in dcn21_resource_construct() 1847 dc->caps.color.mpc.ogam_ram = 1; in dcn21_resource_construct() 1848 dc->caps.color.mpc.ogam_rom_caps.srgb = 0; in dcn21_resource_construct() 1849 dc->caps.color.mpc.ogam_rom_caps.bt2020 = 0; in dcn21_resource_construct() [all …]
|
/Linux-v5.10/arch/x86/include/asm/ |
D | mpspec_def.h | 162 char mpc[8]; member
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 191 struct mpc *mpc; member
|
/Linux-v5.10/drivers/net/ethernet/apple/ |
D | mace.h | 36 REG(mpc); /* missed packet count (clears when read) */
|
/Linux-v5.10/drivers/net/ethernet/amd/ |
D | nmclan_cs.c | 349 int mpc; member 1199 pr_debug(" mpc=%d\n", pstats->mpc); in pr_mace_stats() 1228 lp->mace_stats.mpc += mace_read(lp, ioaddr, MACE_MPC); in update_stats() 1251 lp->mace_stats.mpco * 256 + lp->mace_stats.mpc; in update_stats()
|