Home
last modified time | relevance | path

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

12

/linux/arch/x86/kernel/
H A Dmpparse.c140 static int __init smp_check_mpc(struct mpc_table *mpc, char *oem, char *str) in smp_check_mpc() argument
143 if (memcmp(mpc->signature, MPC_SIGNATURE, 4)) { in smp_check_mpc()
145 mpc->signature[0], mpc->signature[1], in smp_check_mpc()
146 mpc->signature[2], mpc->signature[3]); in smp_check_mpc()
149 if (mpf_checksum((unsigned char *)mpc, mpc->length)) { in smp_check_mpc()
153 if (mpc->spec != 0x01 && mpc->spec != 0x04) { in smp_check_mpc()
154 pr_err("MPTABLE: bad table version (%d)!!\n", mpc->spec); in smp_check_mpc()
157 if (!mpc->lapic) { in smp_check_mpc()
161 memcpy(oem, mpc->oem, 8); in smp_check_mpc()
165 memcpy(str, mpc->productid, 12); in smp_check_mpc()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/mpc/dcn20/
H A Ddcn20_mpc.h261 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);
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c682 void mana_pre_dealloc_rxbufs(struct mana_port_context *mpc) in mana_pre_dealloc_rxbufs() argument
687 dev = mpc->ac->gdma_dev->gdma_context->dev; in mana_pre_dealloc_rxbufs()
689 if (!mpc->rxbufs_pre) in mana_pre_dealloc_rxbufs()
692 if (!mpc->das_pre) in mana_pre_dealloc_rxbufs()
695 while (mpc->rxbpre_total) { in mana_pre_dealloc_rxbufs()
696 i = --mpc->rxbpre_total; in mana_pre_dealloc_rxbufs()
697 dma_unmap_single(dev, mpc->das_pre[i], mpc->rxbpre_datasize, in mana_pre_dealloc_rxbufs()
699 put_page(virt_to_head_page(mpc->rxbufs_pre[i])); in mana_pre_dealloc_rxbufs()
702 kvfree(mpc->das_pre); in mana_pre_dealloc_rxbufs()
703 mpc->das_pre = NULL; in mana_pre_dealloc_rxbufs()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_mpc.c43 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()
H A Ddcn201_mpc.h71 struct mpc base;
/linux/arch/x86/include/asm/
H A Dmpspec_def.h162 char mpc[8]; member
/linux/drivers/gpu/drm/amd/display/dc/
H A DMakefile25 …k_mgr dce gpio hwss irq link dsc resource optc dpp hubbub dccg hubp dio dwb hpo mmhubbub mpc opp pg
/linux/drivers/net/ethernet/apple/
H A Dmace.h36 REG(mpc); /* missed packet count (clears when read) */
H A Dmace.c646 dev->stats.rx_missed_errors += in_8(&mb->mpc); /* reading clears it */ in mace_handle_misc_intrs()
/linux/scripts/
H A Dspdxcheck.py422 mpc = int(100 * missing / parser.checked) variable
423 sys.stderr.write('Files without SPDX:%12d %3d%%\n' %(missing, mpc))
/linux/drivers/net/ethernet/intel/igc/
H A Digc_hw.h217 u64 mpc; member
H A Digc_main.c5157 u32 mpc; in igc_update_stats() local
5232 mpc = rd32(IGC_MPC); in igc_update_stats()
5233 adapter->stats.mpc += mpc; in igc_update_stats()
5234 net_stats->rx_fifo_errors += mpc; in igc_update_stats()
5294 net_stats->rx_missed_errors = adapter->stats.mpc; in igc_update_stats()
H A Digc_ethtool.c39 IGC_STAT("rx_missed_errors", stats.mpc),
239 regs_buff[34] = adapter->stats.mpc; in igc_ethtool_get_regs()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.h493 void brcmf_set_mpc(struct brcmf_if *ndev, int mpc);
H A Dcfg80211.c1026 static void brcmf_scan_config_mpc(struct brcmf_if *ifp, int mpc) in brcmf_scan_config_mpc() argument
1029 brcmf_set_mpc(ifp, mpc); in brcmf_scan_config_mpc()
1032 void brcmf_set_mpc(struct brcmf_if *ifp, int mpc) in brcmf_set_mpc() argument
1038 err = brcmf_fil_iovar_int_set(ifp, "mpc", mpc); in brcmf_set_mpc()
1043 brcmf_dbg(INFO, "MPC : %d\n", mpc); in brcmf_set_mpc()
/linux/drivers/net/ethernet/intel/igb/
H A De1000_hw.h172 u64 mpc; member
H A Digb_main.c6761 u32 reg, mpc; in igb_update_stats() local
6836 mpc = rd32(E1000_MPC); in igb_update_stats()
6837 adapter->stats.mpc += mpc; in igb_update_stats()
6838 net_stats->rx_fifo_errors += mpc; in igb_update_stats()
6916 net_stats->rx_missed_errors = adapter->stats.mpc; in igb_update_stats()
H A Digb_ethtool.c45 IGB_STAT("rx_missed_errors", stats.mpc),
557 regs_buff[58] = adapter->stats.mpc; in igb_get_regs()
/linux/Documentation/translations/zh_CN/core-api/
H A Dprintk-formats.rst19 :作者: Andrew Murray <amurray@mpc-data.co.uk>
/linux/drivers/net/ethernet/intel/e1000e/
H A Dhw.h383 u64 mpc; member
H A Dnetdev.c4986 adapter->stats.mpc += er32(MPC); in e1000e_update_stats()
5048 netdev->stats.rx_missed_errors = adapter->stats.mpc; in e1000e_update_stats()
6032 stats->rx_missed_errors = adapter->stats.mpc; in e1000e_get_stats64()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1974 if (dm->dc->caps.color.mpc.gamut_remap) in dm_atomic_plane_attach_color_mgmt_properties()
1978 if (dpp_color_caps.hw_3d_lut || dm->dc->caps.color.mpc.preblend) { in dm_atomic_plane_attach_color_mgmt_properties()
1994 if (dpp_color_caps.ogam_ram || dm->dc->caps.color.mpc.preblend) { in dm_atomic_plane_attach_color_mgmt_properties()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c7686 u32 i, missed_rx = 0, mpc, bprc, lxon, lxoff, xon_off_tot; in ixgbe_update_stats() local
7761 mpc = IXGBE_READ_REG(hw, IXGBE_MPC(i)); in ixgbe_update_stats()
7762 missed_rx += mpc; in ixgbe_update_stats()
7763 hwstats->mpc[i] += mpc; in ixgbe_update_stats()
7764 total_mpc += hwstats->mpc[i]; in ixgbe_update_stats()
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_hw.h1255 u64 mpc; member
H A De1000_main.c3632 adapter->stats.mpc += er32(MPC); in e1000_update_stats()
3701 netdev->stats.rx_missed_errors = adapter->stats.mpc; in e1000_update_stats()

12