Home
last modified time | relevance | path

Searched refs:pci_epf (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/linux/
Dpci-epf.h17 struct pci_epf;
69 int (*bind)(struct pci_epf *epf);
70 void (*unbind)(struct pci_epf *epf);
71 struct config_group *(*add_cfs)(struct pci_epf *epf,
87 int (*probe)(struct pci_epf *epf);
88 void (*remove)(struct pci_epf *epf);
143 struct pci_epf { struct
154 struct pci_epf *epf_pf; argument
186 #define to_pci_epf(epf_dev) container_of((epf_dev), struct pci_epf, dev) argument
191 static inline void epf_set_drvdata(struct pci_epf *epf, void *data) in epf_set_drvdata()
[all …]
Dpci-epc.h141 struct list_head pci_epf; member
209 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf,
213 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf,
/linux-6.1.9/drivers/pci/endpoint/
Dpci-epf-core.c34 struct config_group *pci_epf_type_add_cfs(struct pci_epf *epf, in pci_epf_type_add_cfs()
63 void pci_epf_unbind(struct pci_epf *epf) in pci_epf_unbind()
65 struct pci_epf *epf_vf; in pci_epf_unbind()
91 int pci_epf_bind(struct pci_epf *epf) in pci_epf_bind()
94 struct pci_epf *epf_vf; in pci_epf_bind()
187 int pci_epf_add_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf) in pci_epf_add_vepf()
230 void pci_epf_remove_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf) in pci_epf_remove_vepf()
251 void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar, in pci_epf_free_space()
291 void *pci_epf_alloc_space(struct pci_epf *epf, size_t size, enum pci_barno bar, in pci_epf_alloc_space()
426 void pci_epf_destroy(struct pci_epf *epf) in pci_epf_destroy()
[all …]
Dpci-ep-cfs.c27 struct pci_epf *epf;
54 struct pci_epf *epf = epf_group->epf; in pci_secondary_epc_epf_link()
75 struct pci_epf *epf; in pci_secondary_epc_epf_unlink()
115 struct pci_epf *epf = epf_group->epf; in pci_primary_epc_epf_link()
136 struct pci_epf *epf; in pci_primary_epc_epf_unlink()
217 struct pci_epf *epf = epf_group->epf; in pci_epc_epf_link()
236 struct pci_epf *epf; in pci_epc_epf_unlink()
319 struct pci_epf *epf = to_pci_epf_group(item)->epf; \
330 struct pci_epf *epf = to_pci_epf_group(item)->epf; \
344 struct pci_epf *epf = to_pci_epf_group(item)->epf; \
[all …]
Dpci-epc-core.c600 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf, in pci_epc_add_epf()
641 list_add_tail(list, &epc->pci_epf); in pci_epc_add_epf()
658 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf, in pci_epc_remove_epf()
776 INIT_LIST_HEAD(&epc->pci_epf); in __pci_epc_create()
/linux-6.1.9/drivers/pci/endpoint/functions/
Dpci-epf-test.c51 struct pci_epf *epf;
119 struct pci_epf *epf = epf_test->epf; in pci_epf_test_data_transfer()
201 struct pci_epf *epf = epf_test->epf; in pci_epf_test_init_dma_chan()
321 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()
510 struct pci_epf *epf = epf_test->epf; in pci_epf_test_write()
600 struct pci_epf *epf = epf_test->epf; in pci_epf_test_raise_irq()
634 struct pci_epf *epf = epf_test->epf; in pci_epf_test_cmd_handler()
717 static void pci_epf_test_unbind(struct pci_epf *epf) in pci_epf_test_unbind()
738 static int pci_epf_test_set_bar(struct pci_epf *epf) in pci_epf_test_set_bar()
[all …]
Dpci-epf-ntb.c80 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 …]
Dpci-epf-vntb.c120 struct pci_epf *epf;
409 struct pci_epf *epf = ntb->epf; in epf_ntb_config_spad_bar_alloc()
729 struct pci_epf *epf; in epf_ntb_epc_init()
955 static struct config_group *epf_ntb_add_cfs(struct pci_epf *epf, in epf_ntb_add_cfs()
1296 static int epf_ntb_bind(struct pci_epf *epf) in epf_ntb_bind()
1356 static void epf_ntb_unbind(struct pci_epf *epf) in epf_ntb_unbind()
1381 static int epf_ntb_probe(struct pci_epf *epf) in epf_ntb_probe()
/linux-6.1.9/drivers/pci/controller/
Dpcie-rockchip-ep.c493 struct pci_epf *epf; in rockchip_pcie_ep_start()
497 list_for_each_entry(epf, &epc->pci_epf, list) in rockchip_pcie_ep_start()