Home
last modified time | relevance | path

Searched refs:mobiveil_pcie (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/pci/controller/mobiveil/
Dpcie-mobiveil.h145 struct mobiveil_pcie;
148 int (*interrupt_init)(struct mobiveil_pcie *pcie);
163 int (*link_up)(struct mobiveil_pcie *pcie);
166 struct mobiveil_pcie { struct
179 int mobiveil_pcie_host_probe(struct mobiveil_pcie *pcie); argument
180 int mobiveil_host_init(struct mobiveil_pcie *pcie, bool reinit);
181 bool mobiveil_pcie_link_up(struct mobiveil_pcie *pcie);
182 int mobiveil_bringup_link(struct mobiveil_pcie *pcie);
183 void program_ob_windows(struct mobiveil_pcie *pcie, int win_num, u64 cpu_addr,
185 void program_ib_windows(struct mobiveil_pcie *pcie, int win_num, u64 cpu_addr,
[all …]
Dpcie-layerscape-gen4.c40 struct mobiveil_pcie pci;
67 static int ls_pcie_g4_link_up(struct mobiveil_pcie *pci) in ls_pcie_g4_link_up()
83 struct mobiveil_pcie *mv_pci = &pcie->pci; in ls_pcie_g4_disable_interrupt()
90 struct mobiveil_pcie *mv_pci = &pcie->pci; in ls_pcie_g4_enable_interrupt()
103 struct mobiveil_pcie *mv_pci = &pcie->pci; in ls_pcie_g4_reinit_hw()
148 struct mobiveil_pcie *mv_pci = &pcie->pci; in ls_pcie_g4_isr()
165 static int ls_pcie_g4_interrupt_init(struct mobiveil_pcie *mv_pci) in ls_pcie_g4_interrupt_init()
191 struct mobiveil_pcie *mv_pci = &pcie->pci; in ls_pcie_g4_reset()
216 struct mobiveil_pcie *mv_pci; in ls_pcie_g4_probe()
Dpcie-mobiveil.c28 static void mobiveil_pcie_sel_page(struct mobiveil_pcie *pcie, u8 pg_idx) in mobiveil_pcie_sel_page()
39 static void __iomem *mobiveil_pcie_comp_addr(struct mobiveil_pcie *pcie, in mobiveil_pcie_comp_addr()
99 u32 mobiveil_csr_read(struct mobiveil_pcie *pcie, u32 off, size_t size) in mobiveil_csr_read()
114 void mobiveil_csr_write(struct mobiveil_pcie *pcie, u32 val, u32 off, in mobiveil_csr_write()
127 bool mobiveil_pcie_link_up(struct mobiveil_pcie *pcie) in mobiveil_pcie_link_up()
136 void program_ib_windows(struct mobiveil_pcie *pcie, int win_num, in program_ib_windows()
173 void program_ob_windows(struct mobiveil_pcie *pcie, int win_num, in program_ob_windows()
216 int mobiveil_bringup_link(struct mobiveil_pcie *pcie) in mobiveil_bringup_link()
Dpcie-mobiveil-host.c53 struct mobiveil_pcie *pcie = bus->sysdata; in mobiveil_pcie_map_bus()
88 struct mobiveil_pcie *pcie = irq_desc_get_handler_data(desc); in mobiveil_pcie_isr()
171 static int mobiveil_pcie_parse_dt(struct mobiveil_pcie *pcie) in mobiveil_pcie_parse_dt()
205 static void mobiveil_pcie_enable_msi(struct mobiveil_pcie *pcie) in mobiveil_pcie_enable_msi()
221 int mobiveil_host_init(struct mobiveil_pcie *pcie, bool reinit) in mobiveil_host_init()
310 struct mobiveil_pcie *pcie; in mobiveil_mask_intx_irq()
328 struct mobiveil_pcie *pcie; in mobiveil_unmask_intx_irq()
380 struct mobiveil_pcie *pcie = irq_data_get_irq_chip_data(data); in mobiveil_compose_msi_msg()
407 struct mobiveil_pcie *pcie = domain->host_data; in mobiveil_irq_msi_domain_alloc()
434 struct mobiveil_pcie *pcie = irq_data_get_irq_chip_data(d); in mobiveil_irq_msi_domain_free()
[all …]
Dpcie-mobiveil-plat.c24 struct mobiveil_pcie *pcie; in mobiveil_pcie_probe()