Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pci/endpoint/functions/
Dpci-epf-test.c60 const struct pci_epc_features *epc_features; member
747 const struct pci_epc_features *epc_features; in pci_epf_test_set_bar() local
749 epc_features = epf_test->epc_features; in pci_epf_test_set_bar()
760 if (!!(epc_features->reserved_bar & (1 << bar))) in pci_epf_test_set_bar()
781 const struct pci_epc_features *epc_features; in pci_epf_test_core_init() local
788 epc_features = pci_epc_get_features(epc, epf->func_no, epf->vfunc_no); in pci_epf_test_core_init()
789 if (epc_features) { in pci_epf_test_core_init()
790 msix_capable = epc_features->msix_capable; in pci_epf_test_core_init()
791 msi_capable = epc_features->msi_capable; in pci_epf_test_core_init()
868 const struct pci_epc_features *epc_features; in pci_epf_test_alloc_space() local
[all …]
Dpci-epf-ntb.c104 const struct pci_epc_features *epc_features; member
491 const struct pci_epc_features *epc_features; in epf_ntb_configure_msix() local
516 epc_features = ntb_epc->epc_features; in epf_ntb_configure_msix()
517 align = epc_features->align; in epf_ntb_configure_msix()
996 const struct pci_epc_features *peer_epc_features, *epc_features; in epf_ntb_config_spad_bar_alloc() local
1013 epc_features = ntb_epc->epc_features; in epf_ntb_config_spad_bar_alloc()
1015 size = epc_features->bar_fixed_size[barno]; in epf_ntb_config_spad_bar_alloc()
1016 align = epc_features->align; in epf_ntb_config_spad_bar_alloc()
1019 peer_epc_features = peer_ntb_epc->epc_features; in epf_ntb_config_spad_bar_alloc()
1032 msix_capable = epc_features->msix_capable; in epf_ntb_config_spad_bar_alloc()
[all …]
Dpci-epf-vntb.c414 const struct pci_epc_features *epc_features = pci_epc_get_features(epf->epc, in epf_ntb_config_spad_bar_alloc() local
418 size = epc_features->bar_fixed_size[barno]; in epf_ntb_config_spad_bar_alloc()
419 align = epc_features->align; in epf_ntb_config_spad_bar_alloc()
476 const struct pci_epc_features *epc_features; in epf_ntb_configure_interrupt() local
483 epc_features = pci_epc_get_features(ntb->epf->epc, ntb->epf->func_no, ntb->epf->vfunc_no); in epf_ntb_configure_interrupt()
485 if (!(epc_features->msix_capable || epc_features->msi_capable)) { in epf_ntb_configure_interrupt()
498 if (epc_features->msi_capable) { in epf_ntb_configure_interrupt()
518 const struct pci_epc_features *epc_features; in epf_ntb_db_bar_init() local
527 epc_features = pci_epc_get_features(ntb->epf->epc, in epf_ntb_db_bar_init()
530 align = epc_features->align; in epf_ntb_db_bar_init()
[all …]
/linux-6.1.9/drivers/pci/endpoint/
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.1.9/include/linux/
Dpci-epc.h242 pci_epc_get_first_free_bar(const struct pci_epc_features *epc_features);
244 *epc_features, enum pci_barno bar);
/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-designware-ep.c692 const struct pci_epc_features *epc_features; in dw_pcie_ep_init() local
791 epc_features = ep->ops->get_features(ep); in dw_pcie_ep_init()
792 if (epc_features->core_init_notifier) in dw_pcie_ep_init()