Lines Matching defs:pcie
44 #define S10_RP_CFG_ADDR(pcie, reg) \ argument
46 #define S10_RP_SECONDARY(pcie) \ argument
58 #define TLP_CFG_DW0(pcie, cfg) \ argument
61 #define TLP_CFG_DW1(pcie, tag, be) \ argument
123 static inline void cra_writel(struct altera_pcie *pcie, const u32 value, in cra_writel()
129 static inline u32 cra_readl(struct altera_pcie *pcie, const u32 reg) in cra_readl()
134 static bool altera_pcie_link_up(struct altera_pcie *pcie) in altera_pcie_link_up()
139 static bool s10_altera_pcie_link_up(struct altera_pcie *pcie) in s10_altera_pcie_link_up()
167 static void tlp_write_tx(struct altera_pcie *pcie, in tlp_write_tx()
175 static void s10_tlp_write_tx(struct altera_pcie *pcie, u32 reg0, u32 ctrl) in s10_tlp_write_tx()
181 static bool altera_pcie_valid_device(struct altera_pcie *pcie, in altera_pcie_valid_device()
197 static int tlp_read_packet(struct altera_pcie *pcie, u32 *value) in tlp_read_packet()
236 static int s10_tlp_read_packet(struct altera_pcie *pcie, u32 *value) in s10_tlp_read_packet()
283 static void tlp_write_packet(struct altera_pcie *pcie, u32 *headers, in tlp_write_packet()
310 static void s10_tlp_write_packet(struct altera_pcie *pcie, u32 *headers, in s10_tlp_write_packet()
319 static void get_tlp_header(struct altera_pcie *pcie, u8 bus, u32 devfn, in get_tlp_header()
337 static int tlp_cfg_dword_read(struct altera_pcie *pcie, u8 bus, u32 devfn, in tlp_cfg_dword_read()
350 static int tlp_cfg_dword_write(struct altera_pcie *pcie, u8 bus, u32 devfn, in tlp_cfg_dword_write()
381 static int s10_rp_read_cfg(struct altera_pcie *pcie, int where, in s10_rp_read_cfg()
401 static int s10_rp_write_cfg(struct altera_pcie *pcie, u8 busno, in s10_rp_write_cfg()
428 static int _altera_pcie_cfg_read(struct altera_pcie *pcie, u8 busno, in _altera_pcie_cfg_read()
472 static int _altera_pcie_cfg_write(struct altera_pcie *pcie, u8 busno, in _altera_pcie_cfg_write()
506 struct altera_pcie *pcie = bus->sysdata; in altera_pcie_cfg_read() local
521 struct altera_pcie *pcie = bus->sysdata; in altera_pcie_cfg_write() local
538 static int altera_read_cap_word(struct altera_pcie *pcie, u8 busno, in altera_read_cap_word()
552 static int altera_write_cap_word(struct altera_pcie *pcie, u8 busno, in altera_write_cap_word()
561 static void altera_wait_link_retrain(struct altera_pcie *pcie) in altera_wait_link_retrain()
596 static void altera_pcie_retrain(struct altera_pcie *pcie) in altera_pcie_retrain()
641 struct altera_pcie *pcie; in altera_pcie_isr() local
666 static int altera_pcie_init_irq_domain(struct altera_pcie *pcie) in altera_pcie_init_irq_domain()
682 static void altera_pcie_irq_teardown(struct altera_pcie *pcie) in altera_pcie_irq_teardown()
689 static int altera_pcie_parse_dt(struct altera_pcie *pcie) in altera_pcie_parse_dt()
713 static void altera_pcie_host_init(struct altera_pcie *pcie) in altera_pcie_host_init()
763 struct altera_pcie *pcie; in altera_pcie_probe() local
809 struct altera_pcie *pcie = platform_get_drvdata(pdev); in altera_pcie_remove() local