Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dpci-epf.h18 struct pci_epf;
66 int (*bind)(struct pci_epf *epf);
67 void (*unbind)(struct pci_epf *epf);
68 struct config_group *(*add_cfs)(struct pci_epf *epf,
81 int (*epc_init)(struct pci_epf *epf);
82 void (*epc_deinit)(struct pci_epf *epf);
83 int (*link_up)(struct pci_epf *epf);
84 int (*link_down)(struct pci_epf *epf);
85 int (*bus_master_enable)(struct pci_epf *epf);
100 int (*probe)(struct pci_epf *epf,
[all …]
H A Dpci-ep-msi.h12 struct pci_epf;
15 int pci_epf_alloc_doorbell(struct pci_epf *epf, u16 nums);
16 void pci_epf_free_doorbell(struct pci_epf *epf);
18 static inline int pci_epf_alloc_doorbell(struct pci_epf *epf, u16 nums) in pci_epf_alloc_doorbell()
23 static inline void pci_epf_free_doorbell(struct pci_epf *epf) in pci_epf_free_doorbell()
H A Dpci-epc.h220 struct list_head pci_epf; member
359 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf,
364 void pci_epc_notify_pending_init(struct pci_epc *epc, struct pci_epf *epf);
367 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf,
/linux/drivers/pci/endpoint/
H A Dpci-ep-msi.c27 struct pci_epf *epf; in pci_epf_write_msi_msg()
33 epf = list_first_entry_or_null(&epc->pci_epf, struct pci_epf, list); in pci_epf_write_msi_msg()
41 static int pci_epf_alloc_doorbell_embedded(struct pci_epf *epf, u16 num_db) in pci_epf_alloc_doorbell_embedded()
144 static int pci_epf_alloc_doorbell_msi(struct pci_epf *epf, u16 num_db) in pci_epf_alloc_doorbell_msi()
198 int pci_epf_alloc_doorbell(struct pci_epf *epf, u16 num_db) in pci_epf_alloc_doorbell()
205 if (list_first_entry_or_null(&epc->pci_epf, struct pci_epf, list) != epf) { in pci_epf_alloc_doorbell()
235 void pci_epf_free_doorbell(struct pci_epf *epf) in pci_epf_free_doorbell()
H A Dpci-epc-core.c790 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf, in pci_epc_add_epf()
831 list_add_tail(list, &epc->pci_epf); in pci_epc_add_epf()
848 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf, in pci_epc_remove_epf()
883 struct pci_epf *epf; in pci_epc_linkup()
889 list_for_each_entry(epf, &epc->pci_epf, list) { in pci_epc_linkup()
909 struct pci_epf *epf; in pci_epc_linkdown()
915 list_for_each_entry(epf, &epc->pci_epf, list) { in pci_epc_linkdown()
935 struct pci_epf *epf; in pci_epc_init_notify()
941 list_for_each_entry(epf, &epc->pci_epf, list) { in pci_epc_init_notify()
962 void pci_epc_notify_pending_init(struct pci_epc *epc, struct pci_epf *epf) in pci_epc_notify_pending_init()
[all …]
/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c82 struct pci_epf *epf;
168 struct pci_epf *epf = epf_test->epf; in pci_epf_test_data_transfer()
253 struct pci_epf *epf = epf_test->epf; in pci_epf_test_init_dma_chan()
360 struct pci_epf *epf = epf_test->epf; in pci_epf_test_copy()
464 struct pci_epf *epf = epf_test->epf; in pci_epf_test_read()
561 struct pci_epf *epf = epf_test->epf; in pci_epf_test_write()
658 struct pci_epf *epf = epf_test->epf; in pci_epf_test_raise_irq()
721 struct pci_epf *epf = epf_test->epf; in pci_epf_test_doorbell_cleanup()
732 struct pci_epf *epf = epf_test->epf; in pci_epf_test_enable_doorbell()
821 struct pci_epf *epf = epf_test->epf; in pci_epf_test_disable_doorbell()
[all …]
H A Dpci-epf-ntb.c80 struct pci_epf *epf;
956 struct pci_epf *epf; in epf_ntb_config_spad_bar_free()
1006 struct pci_epf *epf; in epf_ntb_config_spad_bar_alloc()
1514 struct pci_epf *epf; in epf_ntb_epc_create_interface()
1562 struct pci_epf *epf; in epf_ntb_epc_create()
1676 struct pci_epf *epf; in epf_ntb_epc_init_interface()
1818 static int epf_ntb_bind(struct pci_epf *epf) in epf_ntb_bind()
1874 static void epf_ntb_unbind(struct pci_epf *epf) in epf_ntb_unbind()
2012 static struct config_group *epf_ntb_add_cfs(struct pci_epf *epf, in epf_ntb_add_cfs()
2032 static int epf_ntb_probe(struct pci_epf *epf, in epf_ntb_probe()
H A Dpci-epf-vntb.c136 struct pci_epf *epf;
453 struct pci_epf *epf = ntb->epf; in epf_ntb_config_spad_bar_alloc()
537 static bool epf_ntb_db_irq_is_duplicated(const struct pci_epf *epf, unsigned int idx) in epf_ntb_db_irq_is_duplicated()
553 struct pci_epf *epf = ntb->epf; in epf_ntb_db_bar_init_msi_doorbell()
945 struct pci_epf *epf; in epf_ntb_epc_init()
1278 static struct config_group *epf_ntb_add_cfs(struct pci_epf *epf, in epf_ntb_add_cfs()
1513 struct pci_epf *epf = ntb->epf; in vntb_epf_peer_db_work()
1729 static int epf_ntb_bind(struct pci_epf *epf) in epf_ntb_bind()
1792 static void epf_ntb_unbind(struct pci_epf *epf) in epf_ntb_unbind()
1819 static int epf_ntb_probe(struct pci_epf *epf, in epf_ntb_probe()
/linux/drivers/nvme/target/
H A Dpci-epf.c199 struct pci_epf *epf;
257 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_mem_map()
266 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_mem_unmap()
290 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_init_dma()
354 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_dma_transfer()
599 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_raise_irq()
2135 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_configure_bar()
2203 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_free_bar()
2214 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_clear_bar()
2223 struct pci_epf *epf = nvme_epf->epf; in nvmet_pci_epf_init_irq()
[all …]
/linux/drivers/pci/controller/
H A Dpcie-rockchip-ep.c474 struct pci_epf *epf; in rockchip_pcie_ep_start()
478 list_for_each_entry(epf, &epc->pci_epf, list) in rockchip_pcie_ep_start()