Searched refs:mvebu_readl (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pci/controller/ |
H A D | pci-mvebu.c | 133 static inline u32 mvebu_readl(struct mvebu_pcie_port *port, u32 reg) in mvebu_readl() function 145 return !(mvebu_readl(port, PCIE_STAT_OFF) & PCIE_STAT_LINK_DOWN); in mvebu_pcie_link_up() 150 return (mvebu_readl(port, PCIE_STAT_OFF) & PCIE_STAT_BUS) >> 8; in mvebu_pcie_get_local_bus_nr() 157 stat = mvebu_readl(port, PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr() 167 stat = mvebu_readl(port, PCIE_STAT_OFF); in mvebu_pcie_set_local_dev_nr() 254 ctrl = mvebu_readl(port, PCIE_CTRL_OFF); in mvebu_pcie_setup_hw() 265 lnkcap = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_LNKCAP); in mvebu_pcie_setup_hw() 271 cmd = mvebu_readl(port, PCIE_CMD_OFF); in mvebu_pcie_setup_hw() 296 dev_rev = mvebu_readl(port, PCIE_DEV_REV_OFF); in mvebu_pcie_setup_hw() 309 sspl = mvebu_readl(port, PCIE_SSPL_OFF); in mvebu_pcie_setup_hw() [all …]
|