Home
last modified time | relevance | path

Searched refs:epc_features (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/pci/endpoint/functions/
A Dpci-epf-test.c60 const struct pci_epc_features *epc_features; member
749 epc_features = epf_test->epc_features; in pci_epf_test_set_bar()
789 if (epc_features) { in pci_epf_test_core_init()
791 msi_capable = epc_features->msi_capable; in pci_epf_test_core_init()
859 epc_features = epf_test->epc_features; in pci_epf_test_alloc_space()
863 msix_capable = epc_features->msix_capable; in pci_epf_test_alloc_space()
897 epc_features->align, in pci_epf_test_alloc_space()
920 if (epc_features->bar_fixed_size[i]) in pci_epf_configure_bar()
939 if (!epc_features) { in pci_epf_test_bind()
949 pci_epf_configure_bar(epf, epc_features); in pci_epf_test_bind()
[all …]
A Dpci-epf-ntb.c516 epc_features = ntb_epc->epc_features; in epf_ntb_configure_msix()
517 align = epc_features->align; in epf_ntb_configure_msix()
1013 epc_features = ntb_epc->epc_features; in epf_ntb_config_spad_bar_alloc()
1016 align = epc_features->align; in epf_ntb_config_spad_bar_alloc()
1287 epc_features = ntb_epc->epc_features; in epf_ntb_configure_interrupt()
1390 epc_features = ntb_epc->epc_features; in epf_ntb_alloc_peer_mem()
1391 align = epc_features->align; in epf_ntb_alloc_peer_mem()
1450 epc_features = ntb_epc->epc_features; in epf_ntb_db_mw_bar_init()
1582 if (!epc_features) in epf_ntb_epc_create_interface()
1584 ntb_epc->epc_features = epc_features; in epf_ntb_epc_create_interface()
[all …]
A Dpci-epf-vntb.c425 size = epc_features->bar_fixed_size[barno]; in epf_ntb_config_spad_bar_alloc()
426 align = epc_features->align; in epf_ntb_config_spad_bar_alloc()
485 const struct pci_epc_features *epc_features; in epf_ntb_configure_interrupt() local
494 if (!(epc_features->msix_capable || epc_features->msi_capable)) { in epf_ntb_configure_interrupt()
507 if (epc_features->msi_capable) { in epf_ntb_configure_interrupt()
529 const struct pci_epc_features *epc_features; in epf_ntb_db_bar_init() local
538 epc_features = pci_epc_get_features(ntb->epf->epc, in epf_ntb_db_bar_init()
541 align = epc_features->align; in epf_ntb_db_bar_init()
697 const struct pci_epc_features *epc_features; in epf_ntb_init_epc_bar() local
711 barno = pci_epc_get_next_free_bar(epc_features, barno); in epf_ntb_init_epc_bar()
[all …]
/linux-6.3-rc2/drivers/pci/endpoint/
A Dpci-epc-core.c94 pci_epc_get_first_free_bar(const struct pci_epc_features *epc_features) in pci_epc_get_first_free_bar() argument
96 return pci_epc_get_next_free_bar(epc_features, BAR_0); in pci_epc_get_first_free_bar()
109 *epc_features, enum pci_barno bar) in pci_epc_get_next_free_bar()
113 if (!epc_features) in pci_epc_get_next_free_bar()
117 if ((epc_features->bar_fixed_64bit << 1) & 1 << bar) in pci_epc_get_next_free_bar()
121 free_bar = epc_features->reserved_bar & epc_features->bar_fixed_64bit; in pci_epc_get_next_free_bar()
125 free_bar |= epc_features->reserved_bar; in pci_epc_get_next_free_bar()
150 const struct pci_epc_features *epc_features; in pci_epc_get_features() local
162 epc_features = epc->ops->get_features(epc, func_no, vfunc_no); in pci_epc_get_features()
165 return epc_features; in pci_epc_get_features()
/linux-6.3-rc2/include/linux/
A Dpci-epc.h236 pci_epc_get_first_free_bar(const struct pci_epc_features *epc_features);
238 *epc_features, enum pci_barno bar);
/linux-6.3-rc2/drivers/pci/controller/dwc/
A Dpcie-designware-ep.c710 const struct pci_epc_features *epc_features; in dw_pcie_ep_init() local
796 epc_features = ep->ops->get_features(ep); in dw_pcie_ep_init()
797 if (epc_features->core_init_notifier) in dw_pcie_ep_init()

Completed in 17 milliseconds