Home
last modified time | relevance | path

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

/drivers/pci/endpoint/functions/
Dpci-epf-test.c63 const struct pci_epc_features *epc_features; member
763 const struct pci_epc_features *epc_features; in pci_epf_test_set_bar() local
765 epc_features = epf_test->epc_features; in pci_epf_test_set_bar()
776 if (!!(epc_features->reserved_bar & (1 << bar))) in pci_epf_test_set_bar()
797 const struct pci_epc_features *epc_features; in pci_epf_test_core_init() local
804 epc_features = pci_epc_get_features(epc, epf->func_no, epf->vfunc_no); in pci_epf_test_core_init()
805 if (epc_features) { in pci_epf_test_core_init()
806 msix_capable = epc_features->msix_capable; in pci_epf_test_core_init()
807 msi_capable = epc_features->msi_capable; in pci_epf_test_core_init()
884 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.c424 const struct pci_epc_features *epc_features = pci_epc_get_features(epf->epc, in epf_ntb_config_spad_bar_alloc() local
428 size = epc_features->bar_fixed_size[barno]; in epf_ntb_config_spad_bar_alloc()
429 align = epc_features->align; in epf_ntb_config_spad_bar_alloc()
488 const struct pci_epc_features *epc_features; in epf_ntb_configure_interrupt() local
495 epc_features = pci_epc_get_features(ntb->epf->epc, ntb->epf->func_no, ntb->epf->vfunc_no); in epf_ntb_configure_interrupt()
497 if (!(epc_features->msix_capable || epc_features->msi_capable)) { in epf_ntb_configure_interrupt()
510 if (epc_features->msi_capable) { in epf_ntb_configure_interrupt()
532 const struct pci_epc_features *epc_features; in epf_ntb_db_bar_init() local
541 epc_features = pci_epc_get_features(ntb->epf->epc, in epf_ntb_db_bar_init()
544 align = epc_features->align; in epf_ntb_db_bar_init()
[all …]
/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()
/drivers/pci/controller/dwc/
Dpcie-designware-ep.c694 const struct pci_epc_features *epc_features; in dw_pcie_ep_init() local
793 epc_features = ep->ops->get_features(ep); in dw_pcie_ep_init()
794 if (epc_features->core_init_notifier) in dw_pcie_ep_init()