Searched refs:pci_epf (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/include/linux/ |
D | pci-epf.h | 16 struct pci_epf; 65 int (*bind)(struct pci_epf *epf); 66 void (*unbind)(struct pci_epf *epf); 81 int (*probe)(struct pci_epf *epf); 82 int (*remove)(struct pci_epf *epf); 122 struct pci_epf { struct 152 #define to_pci_epf(epf_dev) container_of((epf_dev), struct pci_epf, dev) argument 157 static inline void epf_set_drvdata(struct pci_epf *epf, void *data) in epf_set_drvdata() 162 static inline void *epf_get_drvdata(struct pci_epf *epf) in epf_get_drvdata() 168 pci_epf_match_device(const struct pci_epf_device_id *id, struct pci_epf *epf); [all …]
|
D | pci-epc.h | 113 struct list_head pci_epf; member 178 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf); 181 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf);
|
/Linux-v5.10/drivers/pci/endpoint/ |
D | pci-epf-core.c | 31 void pci_epf_unbind(struct pci_epf *epf) in pci_epf_unbind() 52 int pci_epf_bind(struct pci_epf *epf) in pci_epf_bind() 80 void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar) in pci_epf_free_space() 107 void *pci_epf_alloc_space(struct pci_epf *epf, size_t size, enum pci_barno bar, in pci_epf_alloc_space() 231 void pci_epf_destroy(struct pci_epf *epf) in pci_epf_destroy() 245 struct pci_epf *pci_epf_create(const char *name) in pci_epf_create() 248 struct pci_epf *epf; in pci_epf_create() 286 pci_epf_match_device(const struct pci_epf_device_id *id, struct pci_epf *epf) in pci_epf_match_device() 303 struct pci_epf *epf = to_pci_epf(dev); in pci_epf_dev_release() 314 pci_epf_match_id(const struct pci_epf_device_id *id, const struct pci_epf *epf) in pci_epf_match_id() [all …]
|
D | pci-ep-cfs.c | 24 struct pci_epf *epf; 95 struct pci_epf *epf = epf_group->epf; in pci_epc_epf_link() 114 struct pci_epf *epf; in pci_epc_epf_unlink() 197 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ 209 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ 225 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ 241 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ 379 struct pci_epf *epf; in pci_epf_make()
|
D | pci-epc-core.c | 475 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf) in pci_epc_add_epf() 504 list_add_tail(&epf->list, &epc->pci_epf); in pci_epc_add_epf() 520 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf) in pci_epc_remove_epf() 626 INIT_LIST_HEAD(&epc->pci_epf); in __pci_epc_create()
|
/Linux-v5.10/drivers/pci/endpoint/functions/ |
D | pci-epf-test.c | 51 struct pci_epf *epf; 112 struct pci_epf *epf = epf_test->epf; in pci_epf_test_data_transfer() 159 struct pci_epf *epf = epf_test->epf; in pci_epf_test_init_dma_chan() 236 struct pci_epf *epf = epf_test->epf; in pci_epf_test_copy() 319 struct pci_epf *epf = epf_test->epf; in pci_epf_test_read() 407 struct pci_epf *epf = epf_test->epf; in pci_epf_test_write() 494 struct pci_epf *epf = epf_test->epf; in pci_epf_test_raise_irq() 525 struct pci_epf *epf = epf_test->epf; in pci_epf_test_cmd_handler() 607 static void pci_epf_test_unbind(struct pci_epf *epf) in pci_epf_test_unbind() 627 static int pci_epf_test_set_bar(struct pci_epf *epf) in pci_epf_test_set_bar() [all …]
|
/Linux-v5.10/drivers/pci/controller/ |
D | pcie-rockchip-ep.c | 494 struct pci_epf *epf; in rockchip_pcie_ep_start() 498 list_for_each_entry(epf, &epc->pci_epf, list) in rockchip_pcie_ep_start()
|
/Linux-v5.10/drivers/pci/controller/cadence/ |
D | pcie-cadence-ep.c | 458 struct pci_epf *epf; in cdns_pcie_ep_start() 467 list_for_each_entry(epf, &epc->pci_epf, list) in cdns_pcie_ep_start()
|