Lines Matching refs:intel_fpga_pcie
77 struct intel_fpga_pcie { struct
92 static bool intel_fpga_pcie_hide_rc_bar(struct intel_fpga_pcie *pcie, in intel_fpga_pcie_hide_rc_bar() argument
102 static inline void cra_writel(struct intel_fpga_pcie *pcie, const u32 value, in cra_writel()
108 static inline u32 cra_readl(struct intel_fpga_pcie *pcie, const u32 reg) in cra_readl()
113 static bool intel_fpga_pcie_link_up(struct intel_fpga_pcie *pcie) in intel_fpga_pcie_link_up()
119 static bool intel_fpga_pcie_addr_valid(struct intel_fpga_pcie *pcie, in intel_fpga_pcie_addr_valid()
136 static void tlp_write_tx(struct intel_fpga_pcie *pcie, u32 reg0, u32 ctrl) in tlp_write_tx()
142 static int tlp_read_packet(struct intel_fpga_pcie *pcie, u32 *value) in tlp_read_packet()
183 static void tlp_write_packet(struct intel_fpga_pcie *pcie, u32 *headers, in tlp_write_packet()
195 static int tlp_cfg_dword_read(struct intel_fpga_pcie *pcie, pci_dev_t bdf, in tlp_cfg_dword_read()
210 static int tlp_cfg_dword_write(struct intel_fpga_pcie *pcie, pci_dev_t bdf, in tlp_cfg_dword_write()
228 struct intel_fpga_pcie *pcie = dev_get_priv(bus); in intel_fpga_rp_conf_addr()
248 struct intel_fpga_pcie *pcie = dev_get_priv(bus); in intel_fpga_pcie_rp_wr_conf()
275 static int _pcie_intel_fpga_read_config(struct intel_fpga_pcie *pcie, in _pcie_intel_fpga_read_config()
301 static int _pcie_intel_fpga_write_config(struct intel_fpga_pcie *pcie, in _pcie_intel_fpga_write_config()
329 struct intel_fpga_pcie *pcie = dev_get_priv(bus); in pcie_intel_fpga_read_config()
351 struct intel_fpga_pcie *pcie = dev_get_priv(bus); in pcie_intel_fpga_write_config()
365 struct intel_fpga_pcie *pcie = dev_get_priv(dev); in pcie_intel_fpga_probe()
380 struct intel_fpga_pcie *pcie = dev_get_priv(dev); in pcie_intel_fpga_ofdata_to_platdata()
429 .priv_auto_alloc_size = sizeof(struct intel_fpga_pcie),