Searched refs:mvebu_readl (Results 1 – 1 of 1) sorted by relevance
/drivers/pci/controller/ |
D | pci-mvebu.c | 117 static inline u32 mvebu_readl(struct mvebu_pcie_port *port, u32 reg) in mvebu_readl() function 129 return !(mvebu_readl(port, PCIE_STAT_OFF) & PCIE_STAT_LINK_DOWN); in mvebu_pcie_link_up() 134 return (mvebu_readl(port, PCIE_STAT_OFF) & PCIE_STAT_BUS) >> 8; in mvebu_pcie_get_local_bus_nr() 141 stat = mvebu_readl(port, PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr() 151 stat = mvebu_readl(port, PCIE_STAT_OFF); in mvebu_pcie_set_local_dev_nr() 228 ctrl = mvebu_readl(port, PCIE_CTRL_OFF); in mvebu_pcie_setup_hw() 233 cmd = mvebu_readl(port, PCIE_CMD_OFF); in mvebu_pcie_setup_hw() 241 mask = mvebu_readl(port, PCIE_MASK_OFF); in mvebu_pcie_setup_hw() 451 *value = mvebu_readl(port, PCIE_CMD_OFF); in mvebu_pci_bridge_emul_base_conf_read() 476 if (mvebu_readl(port, PCIE_CTRL_OFF) & PCIE_CTRL_MASTER_HOT_RESET) in mvebu_pci_bridge_emul_base_conf_read() [all …]
|