Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/atm/
Dmpc.c68 static void MPOA_trigger_rcvd(struct k_message *msg, struct mpoa_client *mpc);
69 static void MPOA_res_reply_rcvd(struct k_message *msg, struct mpoa_client *mpc);
70 static void ingress_purge_rcvd(struct k_message *msg, struct mpoa_client *mpc);
71 static void egress_purge_rcvd(struct k_message *msg, struct mpoa_client *mpc);
72 static void mps_death(struct k_message *msg, struct mpoa_client *mpc);
73 static void clean_up(struct k_message *msg, struct mpoa_client *mpc,
76 struct mpoa_client *mpc);
78 struct mpoa_client *mpc);
80 struct mpoa_client *mpc);
82 static const uint8_t *copy_macs(struct mpoa_client *mpc,
[all …]
Dmpoa_caches.c133 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()
325 static void in_destroy_cache(struct mpoa_client *mpc) in in_destroy_cache() argument
327 write_lock_irq(&mpc->ingress_lock); in in_destroy_cache()
[all …]
Dmpoa_proc.c110 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()
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);
DMakefile7 mpoa-objs := mpc.o mpoa_caches.o mpoa_proc.o
Dmpc.h13 int msg_to_mpoad(struct k_message *msg, struct mpoa_client *mpc);
/Linux-v4.19/arch/x86/kernel/
Dmpparse.c152 static int __init smp_check_mpc(struct mpc_table *mpc, char *oem, char *str) in smp_check_mpc() argument
155 if (memcmp(mpc->signature, MPC_SIGNATURE, 4)) { in smp_check_mpc()
157 mpc->signature[0], mpc->signature[1], in smp_check_mpc()
158 mpc->signature[2], mpc->signature[3]); in smp_check_mpc()
161 if (mpf_checksum((unsigned char *)mpc, mpc->length)) { in smp_check_mpc()
165 if (mpc->spec != 0x01 && mpc->spec != 0x04) { in smp_check_mpc()
166 pr_err("MPTABLE: bad table version (%d)!!\n", mpc->spec); in smp_check_mpc()
169 if (!mpc->lapic) { in smp_check_mpc()
173 memcpy(oem, mpc->oem, 8); in smp_check_mpc()
177 memcpy(str, mpc->productid, 12); in smp_check_mpc()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h101 struct mpc { struct
122 struct mpc *mpc, argument
143 struct mpc *mpc,
162 struct mpc *mpc,
174 void (*mpc_init)(struct mpc *mpc);
187 struct mpc *mpc,
195 void (*wait_for_idle)(struct mpc *mpc, int id);
197 void (*assert_mpcc_idle_before_connect)(struct mpc *mpc, int mpcc_id);
200 struct mpc *mpc,
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_mpc.c40 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 …]
Ddcn10_mpc.h119 struct mpc base;
136 struct mpc *mpc,
145 struct mpc *mpc,
150 struct mpc *mpc);
153 struct mpc *mpc,
157 struct mpc *mpc,
162 struct mpc *mpc,
167 struct mpc *mpc,
171 struct mpc *mpc,
175 struct mpc *mpc,
[all …]
Ddcn10_hw_sequencer.c287 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); in dcn10_log_hw_state()
859 struct mpc *mpc = dc->res_pool->mpc; in hwss1_plane_atomic_disconnect() local
865 mpcc_to_remove = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, dpp_id); in hwss1_plane_atomic_disconnect()
871 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, mpcc_to_remove); in hwss1_plane_atomic_disconnect()
1016 dc->res_pool->mpc->funcs->mpc_init(dc->res_pool->mpc); in dcn10_init_hw()
1907 struct mpc *mpc = dc->res_pool->mpc; in dcn10_update_mpcc() local
1955 mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); in dcn10_update_mpcc()
1960 new_mpcc = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, mpcc_id); in dcn10_update_mpcc()
1963 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, new_mpcc); in dcn10_update_mpcc()
1966 mpc->funcs->assert_mpcc_idle_before_connect( in dcn10_update_mpcc()
[all …]
Ddcn10_resource.c614 static struct mpc *dcn10_mpc_create(struct dc_context *ctx) in dcn10_mpc_create()
829 if (pool->base.mpc != NULL) { in destruct()
830 kfree(TO_DCN10_MPC(pool->base.mpc)); in destruct()
831 pool->base.mpc = NULL; in destruct()
1318 pool->base.mpc = dcn10_mpc_create(ctx); in construct()
1319 if (pool->base.mpc == NULL) { in construct()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h144 struct mpc *mpc; member
/Linux-v4.19/arch/x86/include/asm/
Dmpspec_def.h162 char mpc[8]; member
Dx86_init.h27 void (*smp_read_mpc_oem)(struct mpc_table *mpc);
Dmpspec.h71 extern void default_smp_read_mpc_oem(struct mpc_table *mpc);
/Linux-v4.19/drivers/net/ethernet/apple/
Dmace.h40 REG(mpc); /* missed packet count (clears when read) */
Dmacmace.c542 dev->stats.rx_missed_errors += mb->mpc; /* reading clears it */ in mace_handle_misc_intrs()
/Linux-v4.19/drivers/net/ethernet/amd/
Dnmclan_cs.c351 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-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.h429 void brcmf_set_mpc(struct brcmf_if *ndev, int mpc);
/Linux-v4.19/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c1647 adapter->stats.mpc += IXGB_READ_REG(&adapter->hw, MPC); in ixgb_update_stats()
1699 adapter->stats.ecbc + adapter->stats.mpc; in ixgb_update_stats()
1706 netdev->stats.rx_fifo_errors = adapter->stats.mpc; in ixgb_update_stats()
1707 netdev->stats.rx_missed_errors = adapter->stats.mpc; in ixgb_update_stats()
1708 netdev->stats.rx_over_errors = adapter->stats.mpc; in ixgb_update_stats()
Dixgb_hw.h699 u64 mpc; member
/Linux-v4.19/drivers/i2c/busses/
DMakefile72 obj-$(CONFIG_I2C_MPC) += i2c-mpc.o
/Linux-v4.19/drivers/net/ethernet/intel/igb/
De1000_hw.h172 u64 mpc; member
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
Dhw.h341 u64 mpc; member

12