Searched refs:pci_epf (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | pci-epf.h | 17 struct pci_epf; 64 int (*bind)(struct pci_epf *epf); 65 void (*unbind)(struct pci_epf *epf); 66 struct config_group *(*add_cfs)(struct pci_epf *epf, 78 int (*core_init)(struct pci_epf *epf); 79 int (*link_up)(struct pci_epf *epf); 80 int (*link_down)(struct pci_epf *epf); 81 int (*bme)(struct pci_epf *epf); 96 int (*probe)(struct pci_epf *epf, 98 void (*remove)(struct pci_epf *epf); [all …]
|
H A D | pci-epc.h | 141 struct list_head pci_epf; member 203 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf, 209 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf,
|
/openbmc/linux/drivers/pci/endpoint/ |
H A D | pci-epf-core.c | 31 void pci_epf_unbind(struct pci_epf *epf) in pci_epf_unbind() 33 struct pci_epf *epf_vf; in pci_epf_unbind() 59 int pci_epf_bind(struct pci_epf *epf) in pci_epf_bind() 62 struct pci_epf *epf_vf; in pci_epf_bind() 155 int pci_epf_add_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf) in pci_epf_add_vepf() 198 void pci_epf_remove_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf) in pci_epf_remove_vepf() 219 void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar, in pci_epf_free_space() 259 void *pci_epf_alloc_space(struct pci_epf *epf, size_t size, enum pci_barno bar, in pci_epf_alloc_space() 394 void pci_epf_destroy(struct pci_epf *epf) in pci_epf_destroy() 408 struct pci_epf *pci_epf_create(const char *name) in pci_epf_create() [all …]
|
H A D | pci-ep-cfs.c | 28 struct pci_epf *epf; 55 struct pci_epf *epf = epf_group->epf; in pci_secondary_epc_epf_link() 76 struct pci_epf *epf; in pci_secondary_epc_epf_unlink() 116 struct pci_epf *epf = epf_group->epf; in pci_primary_epc_epf_link() 137 struct pci_epf *epf; in pci_primary_epc_epf_unlink() 221 struct pci_epf *epf = epf_group->epf; in pci_epc_epf_link() 240 struct pci_epf *epf; in pci_epc_epf_unlink() 323 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ 334 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ 348 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ [all …]
|
H A D | pci-epc-core.c | 599 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf, in pci_epc_add_epf() 640 list_add_tail(list, &epc->pci_epf); in pci_epc_add_epf() 657 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf, in pci_epc_remove_epf() 692 struct pci_epf *epf; in pci_epc_linkup() 698 list_for_each_entry(epf, &epc->pci_epf, list) { in pci_epc_linkup() 718 struct pci_epf *epf; in pci_epc_linkdown() 724 list_for_each_entry(epf, &epc->pci_epf, list) { in pci_epc_linkdown() 744 struct pci_epf *epf; in pci_epc_init_notify() 750 list_for_each_entry(epf, &epc->pci_epf, list) { in pci_epc_init_notify() 770 struct pci_epf *epf; in pci_epc_bme_notify() [all …]
|
/openbmc/linux/drivers/pci/endpoint/functions/ |
H A D | pci-epf-test.c | 51 struct pci_epf *epf; 128 struct pci_epf *epf = epf_test->epf; in pci_epf_test_data_transfer() 217 struct pci_epf *epf = epf_test->epf; in pci_epf_test_init_dma_chan() 326 struct pci_epf *epf = epf_test->epf; in pci_epf_test_copy() 421 struct pci_epf *epf = epf_test->epf; in pci_epf_test_read() 505 struct pci_epf *epf = epf_test->epf; in pci_epf_test_write() 590 struct pci_epf *epf = epf_test->epf; in pci_epf_test_raise_irq() 638 struct pci_epf *epf = epf_test->epf; in pci_epf_test_cmd_handler() 689 static void pci_epf_test_unbind(struct pci_epf *epf) in pci_epf_test_unbind() 710 static int pci_epf_test_set_bar(struct pci_epf *epf) in pci_epf_test_set_bar() [all …]
|
H A D | pci-epf-mhi.c | 121 struct pci_epf *epf; 141 struct pci_epf *epf = epf_mhi->epf; in __pci_epf_mhi_alloc_map() 179 struct pci_epf *epf = epf_mhi->epf; in __pci_epf_mhi_unmap_free() 201 struct pci_epf *epf = epf_mhi->epf; in pci_epf_mhi_raise_irq() 472 static int pci_epf_mhi_core_init(struct pci_epf *epf) in pci_epf_mhi_core_init() 512 static int pci_epf_mhi_link_up(struct pci_epf *epf) in pci_epf_mhi_link_up() 558 static int pci_epf_mhi_link_down(struct pci_epf *epf) in pci_epf_mhi_link_down() 574 static int pci_epf_mhi_bme(struct pci_epf *epf) in pci_epf_mhi_bme() 599 static int pci_epf_mhi_bind(struct pci_epf *epf) in pci_epf_mhi_bind() 633 static void pci_epf_mhi_unbind(struct pci_epf *epf) in pci_epf_mhi_unbind() [all …]
|
H A D | pci-epf-ntb.c | 80 struct pci_epf *epf; 953 struct pci_epf *epf; in epf_ntb_config_spad_bar_free() 1003 struct pci_epf *epf; in epf_ntb_config_spad_bar_alloc() 1510 struct pci_epf *epf; in epf_ntb_epc_destroy_interface() 1554 struct pci_epf *epf; in epf_ntb_epc_create_interface() 1602 struct pci_epf *epf; in epf_ntb_epc_create() 1723 struct pci_epf *epf; in epf_ntb_epc_init_interface() 1865 static int epf_ntb_bind(struct pci_epf *epf) in epf_ntb_bind() 1924 static void epf_ntb_unbind(struct pci_epf *epf) in epf_ntb_unbind() 2063 static struct config_group *epf_ntb_add_cfs(struct pci_epf *epf, in epf_ntb_add_cfs() [all …]
|
H A D | pci-epf-vntb.c | 120 struct pci_epf *epf; 416 struct pci_epf *epf = ntb->epf; in epf_ntb_config_spad_bar_alloc() 746 struct pci_epf *epf; in epf_ntb_epc_init() 975 static struct config_group *epf_ntb_add_cfs(struct pci_epf *epf, in epf_ntb_add_cfs() 1317 static int epf_ntb_bind(struct pci_epf *epf) in epf_ntb_bind() 1383 static void epf_ntb_unbind(struct pci_epf *epf) in epf_ntb_unbind() 1411 static int epf_ntb_probe(struct pci_epf *epf, in epf_ntb_probe()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-rockchip-ep.c | 437 struct pci_epf *epf; in rockchip_pcie_ep_start() 441 list_for_each_entry(epf, &epc->pci_epf, list) in rockchip_pcie_ep_start()
|