Searched refs:mvebu_readl (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/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(por in mvebu_pcie_setup_hw() [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pci-mvebu.c | 113 static inline u32 mvebu_readl(struct mvebu_pcie_port *port, u32 reg) in mvebu_readl() function 125 return !(mvebu_readl(port, PCIE_STAT_OFF) & PCIE_STAT_LINK_DOWN); in mvebu_pcie_link_up() 132 stat = mvebu_readl(port, PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr() 142 stat = mvebu_readl(port, PCIE_STAT_OFF); in mvebu_pcie_set_local_dev_nr() 222 cmd = mvebu_readl(port, PCIE_CMD_OFF); in mvebu_pcie_setup_hw() 229 mask = mvebu_readl(port, PCIE_MASK_OFF); in mvebu_pcie_setup_hw() 441 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_DEVCAP); in mvebu_pci_bridge_emul_pcie_conf_read() 445 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL) & in mvebu_pci_bridge_emul_pcie_conf_read() 455 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_LNKCAP) & in mvebu_pci_bridge_emul_pcie_conf_read() 460 *value = mvebu_readl(por in mvebu_pci_bridge_emul_pcie_conf_read() [all...] |
Completed in 3 milliseconds