summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/broadwell/pch/pcie.c4
-rw-r--r--src/soc/intel/common/block/pcie/pcie.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/broadwell/pch/pcie.c b/src/soc/intel/broadwell/pch/pcie.c
index 7f16cb4d2c..05619f8023 100644
--- a/src/soc/intel/broadwell/pch/pcie.c
+++ b/src/soc/intel/broadwell/pch/pcie.c
@@ -609,7 +609,7 @@ static void pch_pcie_enable(struct device *dev)
root_port_commit_config();
}
-static void pcie_set_L1_ss_max_latency(struct device *dev, unsigned int off)
+static void pcie_set_ltr_max_latencies(struct device *dev, unsigned int off)
{
/* Set max snoop and non-snoop latency for Broadwell */
pci_write_config32(dev, off,
@@ -619,7 +619,7 @@ static void pcie_set_L1_ss_max_latency(struct device *dev, unsigned int off)
static struct pci_operations pcie_ops = {
.set_subsystem = pci_dev_set_subsystem,
- .set_L1_ss_latency = pcie_set_L1_ss_max_latency,
+ .set_ltr_max_latencies = pcie_set_ltr_max_latencies,
};
static struct device_operations device_ops = {
diff --git a/src/soc/intel/common/block/pcie/pcie.c b/src/soc/intel/common/block/pcie/pcie.c
index 4f5687fd5f..346c0ff225 100644
--- a/src/soc/intel/common/block/pcie/pcie.c
+++ b/src/soc/intel/common/block/pcie/pcie.c
@@ -45,7 +45,7 @@ static void pch_pcie_init(struct device *dev)
pci_write_config16(dev, PCI_SEC_STATUS, reg16);
}
-static void pcie_set_L1_ss_max_latency(struct device *dev, unsigned int offset)
+static void pcie_set_ltr_max_latencies(struct device *dev, unsigned int offset)
{
/* Set max snoop and non-snoop latency for the SOC */
pci_write_config32(dev, offset,
@@ -54,7 +54,7 @@ static void pcie_set_L1_ss_max_latency(struct device *dev, unsigned int offset)
}
static struct pci_operations pcie_ops = {
- .set_L1_ss_latency = pcie_set_L1_ss_max_latency,
+ .set_ltr_max_latencies = pcie_set_ltr_max_latencies,
.set_subsystem = pci_dev_set_subsystem,
};