/Linux-v5.4/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 | 110 struct mpoa_client *mpc; in mpc_start() local 114 for (mpc = mpcs; mpc; mpc = mpc->next) in mpc_start() 116 return mpc; in mpc_start() 136 struct mpoa_client *mpc = v; in mpc_show() local 148 seq_printf(m, "\nInterface %d:\n\n", mpc->dev_num); in mpc_show() 152 for (in_entry = mpc->in_cache; in_entry; in_entry = in_entry->next) { in mpc_show() 171 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.4/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | mpc.h | 124 struct mpc { struct 149 struct mpc *mpc, argument 170 struct mpc *mpc, 189 struct mpc *mpc, 201 void (*mpc_init)(struct mpc *mpc); 203 struct mpc *mpc, 217 struct mpc *mpc, 225 void (*wait_for_idle)(struct mpc *mpc, int id); 227 void (*assert_mpcc_idle_before_connect)(struct mpc *mpc, int mpcc_id); 230 struct mpc *mpc, [all …]
|
/Linux-v5.4/arch/x86/kernel/ |
D | mpparse.c | 151 static int __init smp_check_mpc(struct mpc_table *mpc, char *oem, char *str) in smp_check_mpc() argument 154 if (memcmp(mpc->signature, MPC_SIGNATURE, 4)) { in smp_check_mpc() 156 mpc->signature[0], mpc->signature[1], in smp_check_mpc() 157 mpc->signature[2], mpc->signature[3]); in smp_check_mpc() 160 if (mpf_checksum((unsigned char *)mpc, mpc->length)) { in smp_check_mpc() 164 if (mpc->spec != 0x01 && mpc->spec != 0x04) { in smp_check_mpc() 165 pr_err("MPTABLE: bad table version (%d)!!\n", mpc->spec); in smp_check_mpc() 168 if (!mpc->lapic) { in smp_check_mpc() 172 memcpy(oem, mpc->oem, 8); in smp_check_mpc() 176 memcpy(str, mpc->productid, 12); in smp_check_mpc() [all …]
|
/Linux-v5.4/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() 63 struct mpc *mpc, in mpc1_update_blending() argument 67 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_update_blending() 68 struct mpcc *mpcc = mpc1_get_mpcc(mpc, mpcc_id); in mpc1_update_blending() 77 mpc1_set_bg_color(mpc, &blnd_cfg->black_color, mpcc_id); in mpc1_update_blending() 82 struct mpc *mpc, in mpc1_update_stereo_mix() argument 86 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_update_stereo_mix() 96 void mpc1_assert_idle_mpcc(struct mpc *mpc, int id) in mpc1_assert_idle_mpcc() argument 98 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_assert_idle_mpcc() [all …]
|
D | dcn10_mpc.h | 119 struct mpc base; 136 struct mpc *mpc, 145 struct mpc *mpc, 150 struct mpc *mpc); 153 struct mpc *mpc, 157 struct mpc *mpc, 161 struct mpc *mpc, 166 struct mpc *mpc, 171 struct mpc *mpc, 175 struct mpc *mpc, [all …]
|
D | dcn10_hw_sequencer.c | 302 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); in dcn10_log_hw_state() 981 struct mpc *mpc = dc->res_pool->mpc; in hwss1_plane_atomic_disconnect() local 987 mpcc_to_remove = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, dpp_id); in hwss1_plane_atomic_disconnect() 993 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, mpcc_to_remove); in hwss1_plane_atomic_disconnect() 1121 dc->res_pool->mpc->funcs->mpc_init_single_inst( in dcn10_init_pipes() 1122 dc->res_pool->mpc, i); in dcn10_init_pipes() 2190 struct mpc *mpc = dc->res_pool->mpc; in dcn10_update_mpcc() local 2238 mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); in dcn10_update_mpcc() 2243 new_mpcc = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, mpcc_id); in dcn10_update_mpcc() 2246 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, new_mpcc); in dcn10_update_mpcc() [all …]
|
D | dcn10_resource.c | 683 static struct mpc *dcn10_mpc_create(struct dc_context *ctx) in dcn10_mpc_create() 896 if (pool->base.mpc != NULL) { in destruct() 897 kfree(TO_DCN10_MPC(pool->base.mpc)); in destruct() 898 pool->base.mpc = NULL; in destruct() 1525 pool->base.mpc = dcn10_mpc_create(ctx); in construct() 1526 if (pool->base.mpc == NULL) { in construct()
|
D | dcn10_hw_sequencer_debug.c | 397 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); in dcn10_get_mpcc_states()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_mpc.c | 46 struct mpc *mpc, in mpc2_update_blending() argument 50 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_update_blending() 52 struct mpcc *mpcc = mpc1_get_mpcc(mpc, mpcc_id); in mpc2_update_blending() 67 mpc1_set_bg_color(mpc, &blnd_cfg->black_color, mpcc_id); in mpc2_update_blending() 72 struct mpc *mpc, in mpc2_set_denorm() argument 76 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_denorm() 110 struct mpc *mpc, in mpc2_set_denorm_clamp() argument 114 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_denorm_clamp() 130 struct mpc *mpc, in mpc2_set_output_csc() argument 135 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_output_csc() [all …]
|
D | dcn20_mpc.h | 238 struct mpc base; 255 struct mpc *mpc, 260 struct mpc *mpc, 265 struct mpc *mpc, 270 struct mpc *mpc, 276 struct mpc *mpc, 282 struct mpc *mpc, 286 void mpc2_assert_idle_mpcc(struct mpc *mpc, int id); 287 void mpc2_assert_mpcc_idle_before_connect(struct mpc *mpc, int mpcc_id); 288 void mpc20_power_on_ogam_lut(struct mpc *mpc, int mpcc_id, bool power_on);
|
D | dcn20_hwseq.c | 630 struct mpc *mpc = dc->res_pool->mpc; in dcn20_program_output_csc() local 634 if (mpc->funcs->power_on_mpc_mem_pwr) in dcn20_program_output_csc() 635 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, true); in dcn20_program_output_csc() 638 if (mpc->funcs->set_output_csc != NULL) in dcn20_program_output_csc() 639 mpc->funcs->set_output_csc(mpc, in dcn20_program_output_csc() 644 if (mpc->funcs->set_ocsc_default != NULL) in dcn20_program_output_csc() 645 mpc->funcs->set_ocsc_default(mpc, in dcn20_program_output_csc() 656 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn20_set_output_transfer_func() local 665 if (mpc->funcs->power_on_mpc_mem_pwr) in dcn20_set_output_transfer_func() 666 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, true); in dcn20_set_output_transfer_func() [all …]
|
D | dcn20_resource.h | 107 struct mpc *dcn20_mpc_create(struct dc_context *ctx);
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 174 struct mpc *mpc; member
|
/Linux-v5.4/arch/x86/include/asm/ |
D | mpspec_def.h | 162 char mpc[8]; member
|
D | x86_init.h | 27 void (*smp_read_mpc_oem)(struct mpc_table *mpc);
|
D | mpspec.h | 71 extern void default_smp_read_mpc_oem(struct mpc_table *mpc);
|
/Linux-v5.4/drivers/net/ethernet/apple/ |
D | mace.h | 36 REG(mpc); /* missed packet count (clears when read) */
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 848 if (pool->base.mpc != NULL) { in destruct() 849 kfree(TO_DCN20_MPC(pool->base.mpc)); in destruct() 850 pool->base.mpc = NULL; in destruct() 1228 struct mpc *dcn21_mpc_create(struct dc_context *ctx) in dcn21_mpc_create() 1607 pool->base.mpc = dcn21_mpc_create(ctx); in construct() 1608 if (pool->base.mpc == NULL) { in construct()
|
/Linux-v5.4/drivers/net/ethernet/amd/ |
D | nmclan_cs.c | 351 int mpc; member 1202 pr_debug(" mpc=%d\n", pstats->mpc); in pr_mace_stats() 1231 lp->mace_stats.mpc += mace_read(lp, ioaddr, MACE_MPC); in update_stats() 1254 lp->mace_stats.mpco * 256 + lp->mace_stats.mpc; in update_stats()
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.h | 417 void brcmf_set_mpc(struct brcmf_if *ndev, int mpc);
|