Searched refs:kirin_pcie (Results 1 – 1 of 1) sorted by relevance
81 struct kirin_pcie { struct96 static inline void kirin_apb_ctrl_writel(struct kirin_pcie *kirin_pcie, in kirin_apb_ctrl_writel() argument99 writel(val, kirin_pcie->apb_base + reg); in kirin_apb_ctrl_writel()102 static inline u32 kirin_apb_ctrl_readl(struct kirin_pcie *kirin_pcie, u32 reg) in kirin_apb_ctrl_readl() argument104 return readl(kirin_pcie->apb_base + reg); in kirin_apb_ctrl_readl()108 static inline void kirin_apb_phy_writel(struct kirin_pcie *kirin_pcie, in kirin_apb_phy_writel() argument111 writel(val, kirin_pcie->phy_base + reg); in kirin_apb_phy_writel()114 static inline u32 kirin_apb_phy_readl(struct kirin_pcie *kirin_pcie, u32 reg) in kirin_apb_phy_readl() argument116 return readl(kirin_pcie->phy_base + reg); in kirin_apb_phy_readl()119 static long kirin_pcie_get_clk(struct kirin_pcie *kirin_pcie, in kirin_pcie_get_clk() argument[all …]