Lines Matching defs:pcie
299 static inline void advk_writel(struct advk_pcie *pcie, u32 val, u64 reg) in advk_writel()
304 static inline u32 advk_readl(struct advk_pcie *pcie, u64 reg) in advk_readl()
309 static u8 advk_pcie_ltssm_state(struct advk_pcie *pcie) in advk_pcie_ltssm_state()
319 static inline bool advk_pcie_link_up(struct advk_pcie *pcie) in advk_pcie_link_up()
326 static inline bool advk_pcie_link_active(struct advk_pcie *pcie) in advk_pcie_link_active()
340 static inline bool advk_pcie_link_training(struct advk_pcie *pcie) in advk_pcie_link_training()
354 static int advk_pcie_wait_for_link(struct advk_pcie *pcie) in advk_pcie_wait_for_link()
369 static void advk_pcie_wait_for_retrain(struct advk_pcie *pcie) in advk_pcie_wait_for_retrain()
380 static void advk_pcie_issue_perst(struct advk_pcie *pcie) in advk_pcie_issue_perst()
392 static void advk_pcie_train_link(struct advk_pcie *pcie) in advk_pcie_train_link()
460 static void advk_pcie_set_ob_win(struct advk_pcie *pcie, u8 win_num, in advk_pcie_set_ob_win()
474 static void advk_pcie_disable_ob_win(struct advk_pcie *pcie, u8 win_num) in advk_pcie_disable_ob_win()
485 static void advk_pcie_setup_hw(struct advk_pcie *pcie) in advk_pcie_setup_hw()
648 static int advk_pcie_check_pio_status(struct advk_pcie *pcie, bool allow_crs, u32 *val) in advk_pcie_check_pio_status()
755 static int advk_pcie_wait_pio(struct advk_pcie *pcie) in advk_pcie_wait_pio()
778 struct advk_pcie *pcie = bridge->data; in advk_pci_bridge_emul_base_conf_read() local
810 struct advk_pcie *pcie = bridge->data; in advk_pci_bridge_emul_base_conf_write() local
837 struct advk_pcie *pcie = bridge->data; in advk_pci_bridge_emul_pcie_conf_read() local
900 struct advk_pcie *pcie = bridge->data; in advk_pci_bridge_emul_pcie_conf_write() local
944 static int advk_sw_pci_bridge_init(struct advk_pcie *pcie) in advk_sw_pci_bridge_init()
979 static bool advk_pcie_valid_device(struct advk_pcie *pcie, struct pci_bus *bus, in advk_pcie_valid_device()
995 static bool advk_pcie_pio_is_running(struct advk_pcie *pcie) in advk_pcie_pio_is_running()
1027 struct advk_pcie *pcie = bus->sysdata; in advk_pcie_rd_conf() local
1115 struct advk_pcie *pcie = bus->sysdata; in advk_pcie_wr_conf() local
1186 struct advk_pcie *pcie = irq_data_get_irq_chip_data(data); in advk_msi_irq_compose_msi_msg() local
1204 struct advk_pcie *pcie = domain->host_data; in advk_msi_irq_domain_alloc() local
1227 struct advk_pcie *pcie = domain->host_data; in advk_msi_irq_domain_free() local
1241 struct advk_pcie *pcie = d->domain->host_data; in advk_pcie_irq_mask() local
1255 struct advk_pcie *pcie = d->domain->host_data; in advk_pcie_irq_unmask() local
1270 struct advk_pcie *pcie = h->host_data; in advk_pcie_irq_map() local
1286 static int advk_pcie_init_msi_irq_domain(struct advk_pcie *pcie) in advk_pcie_init_msi_irq_domain()
1334 static void advk_pcie_remove_msi_irq_domain(struct advk_pcie *pcie) in advk_pcie_remove_msi_irq_domain()
1340 static int advk_pcie_init_irq_domain(struct advk_pcie *pcie) in advk_pcie_init_irq_domain()
1383 static void advk_pcie_remove_irq_domain(struct advk_pcie *pcie) in advk_pcie_remove_irq_domain()
1388 static void advk_pcie_handle_msi(struct advk_pcie *pcie) in advk_pcie_handle_msi()
1410 static void advk_pcie_handle_int(struct advk_pcie *pcie) in advk_pcie_handle_int()
1443 struct advk_pcie *pcie = arg; in advk_pcie_irq_handler() local
1458 static void __maybe_unused advk_pcie_disable_phy(struct advk_pcie *pcie) in advk_pcie_disable_phy()
1464 static int advk_pcie_enable_phy(struct advk_pcie *pcie) in advk_pcie_enable_phy()
1492 static int advk_pcie_setup_phy(struct advk_pcie *pcie) in advk_pcie_setup_phy()
1519 struct advk_pcie *pcie; in advk_pcie_probe() local
1684 struct advk_pcie *pcie = platform_get_drvdata(pdev); in advk_pcie_remove() local