/openbmc/linux/include/linux/ |
H A D | pci-epc.h | 14 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 …]
|
H A D | pci-epf.h | 164 struct pci_epc *epc; 173 struct pci_epc *sec_epc;
|
/openbmc/linux/drivers/pci/endpoint/ |
H A D | pci-epc-core.c | 21 struct pci_epc *epc = *(struct pci_epc **)res; in devm_pci_epc_release() 28 struct pci_epc **epc = res; in devm_pci_epc_match() 39 void pci_epc_put(struct pci_epc *epc) in pci_epc_put() 56 struct pci_epc *pci_epc_get(const char *epc_name) in pci_epc_get() 59 struct pci_epc *epc; in pci_epc_get() 146 const struct pci_epc_features *pci_epc_get_features(struct pci_epc *epc, in pci_epc_get_features() 174 void pci_epc_stop(struct pci_epc *epc) in pci_epc_stop() 191 int pci_epc_start(struct pci_epc *epc) in pci_epc_start() 219 int pci_epc_raise_irq(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in pci_epc_raise_irq() 262 int pci_epc_map_msi_irq(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in pci_epc_map_msi_irq() [all …]
|
H A D | pci-epc-mem.c | 47 int pci_epc_multi_mem_init(struct pci_epc *epc, in pci_epc_multi_mem_init() 128 int pci_epc_mem_init(struct pci_epc *epc, phys_addr_t base, in pci_epc_mem_init() 148 void pci_epc_mem_exit(struct pci_epc *epc) in pci_epc_mem_exit() 178 void __iomem *pci_epc_mem_alloc_addr(struct pci_epc *epc, in pci_epc_mem_alloc_addr() 218 static struct pci_epc_mem *pci_epc_get_matching_window(struct pci_epc *epc, in pci_epc_get_matching_window() 244 void pci_epc_mem_free_addr(struct pci_epc *epc, phys_addr_t phys_addr, in pci_epc_mem_free_addr()
|
H A D | pci-ep-cfs.c | 34 struct pci_epc *epc; 54 struct pci_epc *epc = epc_group->epc; in pci_secondary_epc_epf_link() 75 struct pci_epc *epc; in pci_secondary_epc_epf_unlink() 115 struct pci_epc *epc = epc_group->epc; in pci_primary_epc_epf_link() 136 struct pci_epc *epc; in pci_primary_epc_epf_unlink() 174 struct pci_epc *epc; in pci_epc_start_store() 220 struct pci_epc *epc = epc_group->epc; in pci_epc_epf_link() 239 struct pci_epc *epc; in pci_epc_epf_unlink() 266 struct pci_epc *epc; in pci_ep_cfs_add_epc_group()
|
H A D | pci-epf-core.c | 64 struct pci_epc *epc; in pci_epf_bind() 224 struct pci_epc *epc; in pci_epf_free_space() 264 struct pci_epc *epc; in pci_epf_alloc_space()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-designware-ep.c | 19 struct pci_epc *epc = ep->epc; in dw_pcie_ep_linkup() 27 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() 215 static void dw_pcie_ep_clear_bar(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_clear_bar() 234 static int dw_pcie_ep_set_bar(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_set_bar() 294 static void dw_pcie_ep_unmap_addr(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_unmap_addr() 310 static int dw_pcie_ep_map_addr(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_map_addr() 326 static int dw_pcie_ep_get_msi(struct pci_epc *epc, u8 func_no, u8 vfunc_no) in dw_pcie_ep_get_msi() 350 static int dw_pcie_ep_set_msi(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in dw_pcie_ep_set_msi() 376 static int dw_pcie_ep_get_msix(struct pci_epc *epc, u8 func_no, u8 vfunc_no) in dw_pcie_ep_get_msix() [all …]
|
H A D | pcie-designware.h | 354 struct pci_epc *epc;
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-rcar-ep.c | 159 static int rcar_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_write_header() 195 static int rcar_pcie_ep_set_bar(struct pci_epc *epc, u8 func_no, u8 vfunc_no, in rcar_pcie_ep_set_bar() 246 static void rcar_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_clear_bar() 259 static int rcar_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_set_msi() 273 static int rcar_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rcar_pcie_ep_get_msi() 286 static int rcar_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_map_addr() 323 static void rcar_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_unmap_addr() 404 static int rcar_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_raise_irq() 422 static int rcar_pcie_ep_start(struct pci_epc *epc) in rcar_pcie_ep_start() 432 static void rcar_pcie_ep_stop(struct pci_epc *epc) in rcar_pcie_ep_stop() [all …]
|
H A D | pcie-rockchip-ep.c | 42 struct pci_epc *epc; 102 static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_write_header() 139 static int rockchip_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_bar() 207 static void rockchip_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_clear_bar() 241 static int rockchip_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_map_addr() 257 static void rockchip_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_unmap_addr() 277 static int rockchip_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_msi() 298 static int rockchip_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rockchip_pcie_ep_get_msi() 417 static int rockchip_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_raise_irq() 433 static int rockchip_pcie_ep_start(struct pci_epc *epc) in rockchip_pcie_ep_start() [all …]
|
/openbmc/linux/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-ep.c | 34 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() 205 static void cdns_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_unmap_addr() 225 static int cdns_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, u8 mmc) in cdns_pcie_ep_set_msi() 247 static int cdns_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in cdns_pcie_ep_get_msi() 270 static int cdns_pcie_ep_get_msix(struct pci_epc *epc, u8 func_no, u8 vfunc_no) in cdns_pcie_ep_get_msix() 289 static int cdns_pcie_ep_set_msix(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_msix() 430 static int cdns_pcie_ep_map_msi_irq(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_map_msi_irq() [all …]
|
/openbmc/linux/drivers/pci/endpoint/functions/ |
H A D | pci-epf-ntb.c | 95 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 …]
|
H A D | pci-epf-mhi.c | 142 struct pci_epc *epc = epf->epc; in __pci_epf_mhi_alloc_map() 180 struct pci_epc *epc = epf->epc; in __pci_epf_mhi_unmap_free() 202 struct pci_epc *epc = epf->epc; in pci_epf_mhi_raise_irq() 477 struct pci_epc *epc = epf->epc; in pci_epf_mhi_core_init() 517 struct pci_epc *epc = epf->epc; in pci_epf_mhi_link_up() 602 struct pci_epc *epc = epf->epc; in pci_epf_mhi_bind() 639 struct pci_epc *epc = epf->epc; in pci_epf_mhi_unbind()
|
H A D | pci-epf-test.c | 328 struct pci_epc *epc = epf->epc; in pci_epf_test_copy() 423 struct pci_epc *epc = epf->epc; in pci_epf_test_read() 507 struct pci_epc *epc = epf->epc; in pci_epf_test_write() 592 struct pci_epc *epc = epf->epc; in pci_epf_test_raise_irq() 692 struct pci_epc *epc = epf->epc; in pci_epf_test_unbind() 715 struct pci_epc *epc = epf->epc; in pci_epf_test_set_bar() 754 struct pci_epc *epc = epf->epc; in pci_epf_test_core_init() 903 struct pci_epc *epc = epf->epc; in pci_epf_test_bind()
|
H A D | pci-epf-vntb.c | 745 struct pci_epc *epc; in epf_ntb_epc_init()
|
/openbmc/linux/Documentation/PCI/endpoint/ |
H A D | pci-ntb-howto.rst | 26 # ls /sys/class/pci_epc/
|
H A D | pci-vntb-howto.rst | 23 # ls /sys/class/pci_epc/
|
H A D | pci-test-howto.rst | 21 # ls /sys/class/pci_epc/
|