Home
last modified time | relevance | path

Searched refs:pci_epc (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.15/include/linux/
Dpci-epc.h14 struct pci_epc;
65 int (*write_header)(struct pci_epc *epc, u8 func_no, u8 vfunc_no,
67 int (*set_bar)(struct pci_epc *epc, u8 func_no, u8 vfunc_no,
69 void (*clear_bar)(struct pci_epc *epc, u8 func_no, u8 vfunc_no,
71 int (*map_addr)(struct pci_epc *epc, u8 func_no, u8 vfunc_no,
73 void (*unmap_addr)(struct pci_epc *epc, u8 func_no, u8 vfunc_no,
75 int (*set_msi)(struct pci_epc *epc, u8 func_no, u8 vfunc_no,
77 int (*get_msi)(struct pci_epc *epc, u8 func_no, u8 vfunc_no);
78 int (*set_msix)(struct pci_epc *epc, u8 func_no, u8 vfunc_no,
80 int (*get_msix)(struct pci_epc *epc, u8 func_no, u8 vfunc_no);
[all …]
Dpci-epf.h153 struct pci_epc *epc;
162 struct pci_epc *sec_epc;
/Linux-v5.15/drivers/pci/endpoint/
Dpci-epc-core.c22 struct pci_epc *epc = *(struct pci_epc **)res; in devm_pci_epc_release()
29 struct pci_epc **epc = res; in devm_pci_epc_match()
40 void pci_epc_put(struct pci_epc *epc) in pci_epc_put()
57 struct pci_epc *pci_epc_get(const char *epc_name) in pci_epc_get()
60 struct pci_epc *epc; in pci_epc_get()
147 const struct pci_epc_features *pci_epc_get_features(struct pci_epc *epc, in pci_epc_get_features()
175 void pci_epc_stop(struct pci_epc *epc) in pci_epc_stop()
192 int pci_epc_start(struct pci_epc *epc) in pci_epc_start()
220 int pci_epc_raise_irq(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in pci_epc_raise_irq()
263 int pci_epc_map_msi_irq(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in pci_epc_map_msi_irq()
[all …]
Dpci-epc-mem.c47 int pci_epc_multi_mem_init(struct pci_epc *epc, in pci_epc_multi_mem_init()
118 int pci_epc_mem_init(struct pci_epc *epc, phys_addr_t base, in pci_epc_mem_init()
138 void pci_epc_mem_exit(struct pci_epc *epc) in pci_epc_mem_exit()
168 void __iomem *pci_epc_mem_alloc_addr(struct pci_epc *epc, in pci_epc_mem_alloc_addr()
208 static struct pci_epc_mem *pci_epc_get_matching_window(struct pci_epc *epc, in pci_epc_get_matching_window()
234 void pci_epc_mem_free_addr(struct pci_epc *epc, phys_addr_t phys_addr, in pci_epc_mem_free_addr()
Dpci-ep-cfs.c33 struct pci_epc *epc;
53 struct pci_epc *epc = epc_group->epc; in pci_secondary_epc_epf_link()
74 struct pci_epc *epc; in pci_secondary_epc_epf_unlink()
114 struct pci_epc *epc = epc_group->epc; in pci_primary_epc_epf_link()
135 struct pci_epc *epc; in pci_primary_epc_epf_unlink()
173 struct pci_epc *epc; in pci_epc_start_store()
218 struct pci_epc *epc = epc_group->epc; in pci_epc_epf_link()
237 struct pci_epc *epc; in pci_epc_epf_unlink()
264 struct pci_epc *epc; in pci_ep_cfs_add_epc_group()
Dpci-epf-core.c96 struct pci_epc *epc; in pci_epf_bind()
256 struct pci_epc *epc; in pci_epf_free_space()
296 struct pci_epc *epc; in pci_epf_alloc_space()
/Linux-v5.15/drivers/pci/controller/dwc/
Dpcie-designware-ep.c20 struct pci_epc *epc = ep->epc; in dw_pcie_ep_linkup()
28 struct pci_epc *epc = ep->epc; in dw_pcie_ep_init_notify()
128 static int dw_pcie_ep_write_header(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_write_header()
205 static void dw_pcie_ep_clear_bar(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_clear_bar()
220 static int dw_pcie_ep_set_bar(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_set_bar()
279 static void dw_pcie_ep_unmap_addr(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_unmap_addr()
295 static int dw_pcie_ep_map_addr(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_map_addr()
311 static int dw_pcie_ep_get_msi(struct pci_epc *epc, u8 func_no, u8 vfunc_no) in dw_pcie_ep_get_msi()
335 static int dw_pcie_ep_set_msi(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_set_msi()
361 static int dw_pcie_ep_get_msix(struct pci_epc *epc, u8 func_no, u8 vfunc_no) in dw_pcie_ep_get_msix()
[all …]
Dpcie-designware.h232 struct pci_epc *epc;
/Linux-v5.15/drivers/pci/controller/
Dpcie-rcar-ep.c162 static int rcar_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_write_header()
198 static int rcar_pcie_ep_set_bar(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in rcar_pcie_ep_set_bar()
249 static void rcar_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_clear_bar()
262 static int rcar_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_set_msi()
276 static int rcar_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rcar_pcie_ep_get_msi()
289 static int rcar_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_map_addr()
326 static void rcar_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_unmap_addr()
407 static int rcar_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_raise_irq()
425 static int rcar_pcie_ep_start(struct pci_epc *epc) in rcar_pcie_ep_start()
435 static void rcar_pcie_ep_stop(struct pci_epc *epc) in rcar_pcie_ep_stop()
[all …]
Dpcie-rockchip-ep.c42 struct pci_epc *epc;
125 static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_write_header()
162 static int rockchip_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_bar()
230 static void rockchip_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_clear_bar()
259 static int rockchip_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_map_addr()
287 static void rockchip_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_unmap_addr()
311 static int rockchip_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_msi()
332 static int rockchip_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rockchip_pcie_ep_get_msi()
474 static int rockchip_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_raise_irq()
490 static int rockchip_pcie_ep_start(struct pci_epc *epc) in rockchip_pcie_ep_start()
[all …]
/Linux-v5.15/drivers/pci/controller/cadence/
Dpcie-cadence-ep.c34 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_write_header()
76 static int cdns_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_bar()
150 static void cdns_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_clear_bar()
183 static int cdns_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_map_addr()
206 static void cdns_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_unmap_addr()
226 static int cdns_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, u8 mmc) in cdns_pcie_ep_set_msi()
248 static int cdns_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in cdns_pcie_ep_get_msi()
271 static int cdns_pcie_ep_get_msix(struct pci_epc *epc, u8 func_no, u8 vfunc_no) in cdns_pcie_ep_get_msix()
290 static int cdns_pcie_ep_set_msix(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_msix()
431 static int cdns_pcie_ep_map_msi_irq(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_map_msi_irq()
[all …]
/Linux-v5.15/drivers/pci/endpoint/functions/
Dpci-epf-ntb.c95 struct pci_epc *epc;
146 struct pci_epc *epc; in epf_ntb_link_up()
244 struct pci_epc *epc; in epf_ntb_configure_mw()
303 struct pci_epc *epc; in epf_ntb_teardown_mw()
393 struct pci_epc *epc; in epf_ntb_configure_msi()
500 struct pci_epc *epc; in epf_ntb_configure_msix()
559 struct pci_epc *epc; in epf_ntb_configure_db()
596 struct pci_epc *epc; in epf_ntb_teardown_db()
739 struct pci_epc *epc; in epf_ntb_peer_spad_bar_clear()
787 struct pci_epc *epc; in epf_ntb_peer_spad_bar_set()
[all …]
Dpci-epf-test.c238 struct pci_epc *epc = epf->epc; in pci_epf_test_copy()
321 struct pci_epc *epc = epf->epc; in pci_epf_test_read()
409 struct pci_epc *epc = epf->epc; in pci_epf_test_write()
496 struct pci_epc *epc = epf->epc; in pci_epf_test_raise_irq()
530 struct pci_epc *epc = epf->epc; in pci_epf_test_cmd_handler()
614 struct pci_epc *epc = epf->epc; in pci_epf_test_unbind()
638 struct pci_epc *epc = epf->epc; in pci_epf_test_set_bar()
677 struct pci_epc *epc = epf->epc; in pci_epf_test_core_init()
838 struct pci_epc *epc = epf->epc; in pci_epf_test_bind()
/Linux-v5.15/Documentation/PCI/endpoint/
Dpci-ntb-howto.rst26 # ls /sys/class/pci_epc/
Dpci-test-howto.rst21 # ls /sys/class/pci_epc/