diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-07-02 16:36:28 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-07-02 16:36:28 +0100 |
commit | 146b375d6b86ae0003f3742b0e7c06038f1d5734 (patch) | |
tree | cd9f2cfb1d5d1811bf7d5eac542fe47b5adabdbd /drivers/pci/controller/mobiveil/pcie-mobiveil.h | |
parent | 15a4b1ebf26141ef7ec55862afdebe0a28ce98a7 (diff) | |
parent | 75374e81a463f70716f32973a530db07a0a34360 (diff) |
Merge branches 'net-queue' and 'pci-mobiveil' into cex7
Diffstat (limited to 'drivers/pci/controller/mobiveil/pcie-mobiveil.h')
-rw-r--r-- | drivers/pci/controller/mobiveil/pcie-mobiveil.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pci/controller/mobiveil/pcie-mobiveil.h b/drivers/pci/controller/mobiveil/pcie-mobiveil.h index 6082b8afbc31..e03cc8e1399a 100644 --- a/drivers/pci/controller/mobiveil/pcie-mobiveil.h +++ b/drivers/pci/controller/mobiveil/pcie-mobiveil.h @@ -86,6 +86,10 @@ #define PAB_AXI_AMAP_PEX_WIN_H(win) PAB_REG_ADDR(0x0bac, win) #define PAB_INTP_AXI_PIO_CLASS 0x474 +#define GPEX_ACK_REPLAY_TO 0x438 +#define ACK_LAT_TO_VAL_MASK 0x1fff +#define ACK_LAT_TO_VAL_SHIFT 0 + #define PAB_PEX_AMAP_CTRL(win) PAB_REG_ADDR(0x4ba0, win) #define AMAP_CTRL_EN_SHIFT 0 #define AMAP_CTRL_TYPE_SHIFT 1 @@ -146,6 +150,8 @@ struct mobiveil_pcie; struct mobiveil_rp_ops { int (*interrupt_init)(struct mobiveil_pcie *pcie); + int (*read_other_conf)(struct pci_bus *bus, unsigned int devfn, + int where, int size, u32 *val); }; struct mobiveil_root_port { @@ -161,6 +167,7 @@ struct mobiveil_root_port { struct mobiveil_pab_ops { int (*link_up)(struct mobiveil_pcie *pcie); + int (*host_init)(struct mobiveil_pcie *pcie); }; struct mobiveil_pcie { |