We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25f2d74 + 42d7a8d commit d58b206Copy full SHA for d58b206
drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c
@@ -42,17 +42,6 @@ struct ls_pcie_g4 {
42
int irq;
43
};
44
45
-static inline u32 ls_pcie_g4_lut_readl(struct ls_pcie_g4 *pcie, u32 off)
46
-{
47
- return ioread32(pcie->pci.csr_axi_slave_base + PCIE_LUT_OFF + off);
48
-}
49
-
50
-static inline void ls_pcie_g4_lut_writel(struct ls_pcie_g4 *pcie,
51
- u32 off, u32 val)
52
53
- iowrite32(val, pcie->pci.csr_axi_slave_base + PCIE_LUT_OFF + off);
54
55
56
static inline u32 ls_pcie_g4_pf_readl(struct ls_pcie_g4 *pcie, u32 off)
57
{
58
return ioread32(pcie->pci.csr_axi_slave_base + PCIE_PF_OFF + off);
0 commit comments