Home
last modified time | relevance | path

Searched refs:dw_pcie (Results 1 – 4 of 4) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/pci/controller/dwc/
Dpcie-designware.h158 struct dw_pcie;
248 u64 (*cpu_addr_fixup)(struct dw_pcie *pcie, u64 cpu_addr);
249 u32 (*read_dbi)(struct dw_pcie *pcie, void __iomem *base, u32 reg, size_t size);
250 void (*write_dbi)(struct dw_pcie *pcie, void __iomem *base, u32 reg, size_t size, u32 val);
251 void (*write_dbi2)(struct dw_pcie *pcie, void __iomem *base, u32 reg, size_t size, u32 val);
252 int (*link_up)(struct dw_pcie *pcie);
253 int (*start_link)(struct dw_pcie *pcie);
254 void (*stop_link)(struct dw_pcie *pcie);
257 struct dw_pcie { struct
274 #define to_dw_pcie_from_pp(port) container_of((port), struct dw_pcie, pp) argument
[all …]
/device/soc/rockchip/common/vendor/drivers/pci/
Dpcie-dw-rockchip.c119 struct dw_pcie *pci;
230 static u8 rk_pcie_iatu_unroll_enabled(struct dw_pcie *pci) in rk_pcie_iatu_unroll_enabled()
242 static void rk_pcie_writel_atu(struct dw_pcie *pci, u32 reg, u32 val) in rk_pcie_writel_atu()
257 static void rk_pcie_writel_ib_unroll(struct dw_pcie *pci, u32 index, u32 reg, u32 val) in rk_pcie_writel_ib_unroll()
264 static u32 rk_pcie_readl_atu(struct dw_pcie *pci, u32 reg) in rk_pcie_readl_atu()
281 static u32 rk_pcie_readl_ib_unroll(struct dw_pcie *pci, u32 index, u32 reg) in rk_pcie_readl_ib_unroll()
288 static int rk_pcie_prog_inbound_atu_unroll(struct dw_pcie *pci, u8 func_no, int index, int bar, u64… in rk_pcie_prog_inbound_atu_unroll()
329 static int rk_pcie_prog_inbound_atu(struct dw_pcie *pci, u8 func_no, int index, int bar, u64 cpu_ad… in rk_pcie_prog_inbound_atu()
408 static void rk_pcie_writel_ob_unroll(struct dw_pcie *pci, u32 index, u32 reg, u32 val) in rk_pcie_writel_ob_unroll()
415 static u32 rk_pcie_readl_ob_unroll(struct dw_pcie *pci, u32 index, u32 reg) in rk_pcie_readl_ob_unroll()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/pci/controller/dwc/
Dpcie-dw-rockchip.c132 struct dw_pcie *pci;
243 static u8 rk_pcie_iatu_unroll_enabled(struct dw_pcie *pci) in rk_pcie_iatu_unroll_enabled()
254 static void rk_pcie_writel_atu(struct dw_pcie *pci, u32 reg, u32 val) in rk_pcie_writel_atu()
268 static void rk_pcie_writel_ib_unroll(struct dw_pcie *pci, u32 index, u32 reg, in rk_pcie_writel_ib_unroll()
276 static u32 rk_pcie_readl_atu(struct dw_pcie *pci, u32 reg) in rk_pcie_readl_atu()
291 static u32 rk_pcie_readl_ib_unroll(struct dw_pcie *pci, u32 index, u32 reg) in rk_pcie_readl_ib_unroll()
298 static int rk_pcie_prog_inbound_atu_unroll(struct dw_pcie *pci, u8 func_no, in rk_pcie_prog_inbound_atu_unroll()
346 static int rk_pcie_prog_inbound_atu(struct dw_pcie *pci, u8 func_no, int index, in rk_pcie_prog_inbound_atu()
430 static void rk_pcie_writel_ob_unroll(struct dw_pcie *pci, u32 index, u32 reg, in rk_pcie_writel_ob_unroll()
438 static u32 rk_pcie_readl_ob_unroll(struct dw_pcie *pci, u32 index, u32 reg) in rk_pcie_readl_ob_unroll()
[all …]
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dkernel.patch44734 @@ -496,6 +496,7 @@ int dw_pcie_link_up(struct dw_pcie *pci)
44740 void dw_pcie_upconfig_setup(struct dw_pcie *pci)
44754 @@ -266,7 +267,6 @@ struct dw_pcie {
44762 @@ -274,6 +274,8 @@ struct dw_pcie {
44770 #define to_dw_pcie_from_pp(port) container_of((port), struct dw_pcie, pp)