Home
last modified time | relevance | path

Searched refs:amd_smn_read (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dk10temp.c156 if (amd_smn_read(amd_pci_dev_to_node_id(pdev), in read_tempreg_nb_zen()
226 ret = amd_smn_read(amd_pci_dev_to_node_id(data->pdev), in k10temp_read_temp()
400 if (amd_smn_read(amd_pci_dev_to_node_id(pdev), in k10temp_get_ccd_support()
/openbmc/linux/arch/x86/include/asm/
H A Damd_nb.h24 extern int amd_smn_read(u16 node, u32 address, u32 *value);
/openbmc/linux/drivers/edac/
H A Damd64_edac.c1639 amd_smn_read(pvt->mc_node_id, in umc_dump_misc_regs()
1735 if (!amd_smn_read(pvt->mc_node_id, base_reg, base)) in umc_read_base_mask()
1739 if (!amd_smn_read(pvt->mc_node_id, base_reg_sec, base_sec)) in umc_read_base_mask()
1754 if (!amd_smn_read(pvt->mc_node_id, mask_reg, mask)) in umc_read_base_mask()
1758 if (!amd_smn_read(pvt->mc_node_id, mask_reg_sec, mask_sec)) in umc_read_base_mask()
3182 amd_smn_read(nid, umc_base + UMCCH_UMC_CFG, &umc->umc_cfg); in umc_read_mc_regs()
3183 amd_smn_read(nid, umc_base + UMCCH_SDP_CTRL, &umc->sdp_ctrl); in umc_read_mc_regs()
3184 amd_smn_read(nid, umc_base + UMCCH_ECC_CTRL, &umc->ecc_ctrl); in umc_read_mc_regs()
3918 amd_smn_read(nid, umc_base + UMCCH_UMC_CFG, &umc->umc_cfg); in gpu_read_mc_regs()
3935 if (!amd_smn_read(pvt->mc_node_id, base_reg, base)) { in gpu_read_base_mask()
[all …]
/openbmc/linux/drivers/platform/x86/amd/pmf/
H A Dcore.c381 err = amd_smn_read(0, AMD_PMF_BASE_ADDR_LO, &val); in amd_pmf_probe()
390 err = amd_smn_read(0, AMD_PMF_BASE_ADDR_HI, &val); in amd_pmf_probe()
/openbmc/linux/arch/x86/kernel/
H A Damd_nb.c214 int amd_smn_read(u16 node, u32 address, u32 *value) in amd_smn_read() function
225 EXPORT_SYMBOL_GPL(amd_smn_read);
/openbmc/linux/drivers/platform/x86/amd/pmc/
H A Dpmc.c969 err = amd_smn_read(0, AMD_PMC_STB_PMI_0, buf++); in amd_pmc_read_stb()
1005 err = amd_smn_read(0, AMD_PMC_BASE_ADDR_LO, &val); in amd_pmc_probe()
1014 err = amd_smn_read(0, AMD_PMC_BASE_ADDR_HI, &val); in amd_pmc_probe()
/openbmc/linux/arch/x86/pci/
H A Dfixup.c840 if (!amd_smn_read(0, AMD_15B8_RCC_DEV2_EPF0_STRAP2, &data)) { in quirk_clear_strap_no_soft_reset_dev2_f0()