Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dpci-epf.h17 struct pci_epf;
65 int (*bind)(struct pci_epf *epf);
66 void (*unbind)(struct pci_epf *epf);
80 int (*epc_init)(struct pci_epf *epf);
82 int (*link_up)(struct pci_epf *epf);
99 int (*probe)(struct pci_epf *epf,
101 void (*remove)(struct pci_epf *epf);
156 struct pci_epf { struct
167 struct pci_epf *epf_pf; argument
228 int pci_epf_add_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);
[all …]
H A Dpci-epc.h171 struct list_head pci_epf; member
267 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf,
272 void pci_epc_notify_pending_init(struct pci_epc *epc, struct pci_epf *epf);
275 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf,
/linux-6.15/drivers/pci/endpoint/
H A Dpci-epf-core.c31 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()
431 struct pci_epf *epf; in pci_epf_create()
474 struct pci_epf *epf = to_pci_epf(dev); in pci_epf_dev_release()
498 struct pci_epf *epf = to_pci_epf(dev); in pci_epf_device_match()
509 struct pci_epf *epf = to_pci_epf(dev); in pci_epf_device_probe()
[all …]
H A Dpci-ep-cfs.c27 struct pci_epf *epf;
54 struct pci_epf *epf = epf_group->epf; in pci_secondary_epc_epf_link()
78 struct pci_epf *epf; in pci_secondary_epc_epf_unlink()
118 struct pci_epf *epf = epf_group->epf; in pci_primary_epc_epf_link()
142 struct pci_epf *epf; in pci_primary_epc_epf_unlink()
226 struct pci_epf *epf = epf_group->epf; in pci_epc_epf_link()
248 struct pci_epf *epf; in pci_epc_epf_unlink()
483 struct pci_epf *epf_pf = epf_pf_group->epf; in pci_epf_vepf_link()
484 struct pci_epf *epf_vf = epf_vf_group->epf; in pci_epf_vepf_link()
494 struct pci_epf *epf_pf = epf_pf_group->epf; in pci_epf_vepf_unlink()
[all …]
H A Dpci-epc-core.c748 list_add_tail(list, &epc->pci_epf); in pci_epc_add_epf()
800 struct pci_epf *epf; in pci_epc_linkup()
806 list_for_each_entry(epf, &epc->pci_epf, list) { in pci_epc_linkup()
826 struct pci_epf *epf; in pci_epc_linkdown()
832 list_for_each_entry(epf, &epc->pci_epf, list) { in pci_epc_linkdown()
852 struct pci_epf *epf; in pci_epc_init_notify()
858 list_for_each_entry(epf, &epc->pci_epf, list) { in pci_epc_init_notify()
898 struct pci_epf *epf; in pci_epc_deinit_notify()
904 list_for_each_entry(epf, &epc->pci_epf, list) { in pci_epc_deinit_notify()
926 struct pci_epf *epf; in pci_epc_bus_master_enable_notify()
[all …]
/linux-6.15/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c56 struct pci_epf *epf;
134 struct pci_epf *epf = epf_test->epf; in pci_epf_test_data_transfer()
223 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()
430 struct pci_epf *epf = epf_test->epf; in pci_epf_test_read()
527 struct pci_epf *epf = epf_test->epf; in pci_epf_test_write()
624 struct pci_epf *epf = epf_test->epf; in pci_epf_test_raise_irq()
675 struct pci_epf *epf = epf_test->epf; in pci_epf_test_cmd_handler()
727 static int pci_epf_test_set_bar(struct pci_epf *epf) in pci_epf_test_set_bar()
949 static int pci_epf_test_bind(struct pci_epf *epf) in pci_epf_test_bind()
[all …]
H A Dpci-epf-mhi.c147 struct pci_epf *epf;
171 struct pci_epf *epf = epf_mhi->epf; in __pci_epf_mhi_alloc_map()
209 struct pci_epf *epf = epf_mhi->epf; in __pci_epf_mhi_unmap_free()
231 struct pci_epf *epf = epf_mhi->epf; in pci_epf_mhi_raise_irq()
720 static int pci_epf_mhi_epc_init(struct pci_epf *epf) in pci_epf_mhi_epc_init()
768 static void pci_epf_mhi_epc_deinit(struct pci_epf *epf) in pci_epf_mhi_epc_deinit()
786 static int pci_epf_mhi_link_up(struct pci_epf *epf) in pci_epf_mhi_link_up()
825 static int pci_epf_mhi_link_down(struct pci_epf *epf) in pci_epf_mhi_link_down()
866 static int pci_epf_mhi_bind(struct pci_epf *epf) in pci_epf_mhi_bind()
900 static void pci_epf_mhi_unbind(struct pci_epf *epf) in pci_epf_mhi_unbind()
[all …]
H A 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 …]
H A Dpci-epf-vntb.c120 struct pci_epf *epf;
416 struct pci_epf *epf = ntb->epf; in epf_ntb_config_spad_bar_alloc()
735 struct pci_epf *epf; in epf_ntb_epc_init()
964 static struct config_group *epf_ntb_add_cfs(struct pci_epf *epf, in epf_ntb_add_cfs()
1303 static int epf_ntb_bind(struct pci_epf *epf) in epf_ntb_bind()
1369 static void epf_ntb_unbind(struct pci_epf *epf) in epf_ntb_unbind()
1397 static int epf_ntb_probe(struct pci_epf *epf, in epf_ntb_probe()
/linux-6.15/drivers/nvme/target/
H A Dpci-epf.c199 struct pci_epf *epf;
259 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_mem_map()
268 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_mem_unmap()
292 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_init_dma()
361 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_dma_transfer()
621 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_raise_irq()
2144 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_configure_bar()
2212 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_free_bar()
2223 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_clear_bar()
2232 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_init_irq()
[all …]
/linux-6.15/drivers/pci/controller/
H A Dpcie-rockchip-ep.c473 struct pci_epf *epf; in rockchip_pcie_ep_start()
477 list_for_each_entry(epf, &epc->pci_epf, list) in rockchip_pcie_ep_start()