Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/pci/endpoint/functions/
Dpci-epf-test.c63 const struct pci_epc_features *epc_features; member
719 const struct pci_epc_features *epc_features; in pci_epf_test_set_bar() local
721 epc_features = epf_test->epc_features; in pci_epf_test_set_bar()
732 if (!!(epc_features->reserved_bar & (1 << bar))) in pci_epf_test_set_bar()
753 const struct pci_epc_features *epc_features; in pci_epf_test_core_init() local
760 epc_features = pci_epc_get_features(epc, epf->func_no, epf->vfunc_no); in pci_epf_test_core_init()
761 if (epc_features) { in pci_epf_test_core_init()
762 msix_capable = epc_features->msix_capable; in pci_epf_test_core_init()
763 msi_capable = epc_features->msi_capable; in pci_epf_test_core_init()
828 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.c421 const struct pci_epc_features *epc_features = pci_epc_get_features(epf->epc, in epf_ntb_config_spad_bar_alloc() local
425 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
492 epc_features = pci_epc_get_features(ntb->epf->epc, ntb->epf->func_no, ntb->epf->vfunc_no); in epf_ntb_configure_interrupt()
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()
[all …]
Dpci-epf-mhi.c118 const struct pci_epc_features *epc_features; member
133 return addr & (epf_mhi->epc_features->align -1); in get_align_offset()
505 epf_mhi->epc_features = pci_epc_get_features(epc, epf->func_no, epf->vfunc_no); in pci_epf_mhi_core_init()
506 if (!epf_mhi->epc_features) in pci_epf_mhi_core_init()
/linux-6.6.21/drivers/pci/endpoint/
Dpci-epc-core.c93 pci_epc_get_first_free_bar(const struct pci_epc_features *epc_features) in pci_epc_get_first_free_bar() argument
95 return pci_epc_get_next_free_bar(epc_features, BAR_0); in pci_epc_get_first_free_bar()
108 *epc_features, enum pci_barno bar) in pci_epc_get_next_free_bar()
112 if (!epc_features) in pci_epc_get_next_free_bar()
116 if ((epc_features->bar_fixed_64bit << 1) & 1 << bar) in pci_epc_get_next_free_bar()
120 free_bar = epc_features->reserved_bar & epc_features->bar_fixed_64bit; in pci_epc_get_next_free_bar()
124 free_bar |= epc_features->reserved_bar; in pci_epc_get_next_free_bar()
149 const struct pci_epc_features *epc_features; in pci_epc_get_features() local
161 epc_features = epc->ops->get_features(epc, func_no, vfunc_no); in pci_epc_get_features()
164 return epc_features; in pci_epc_get_features()
/linux-6.6.21/include/linux/
Dpci-epc.h238 pci_epc_get_first_free_bar(const struct pci_epc_features *epc_features);
240 *epc_features, enum pci_barno bar);
/linux-6.6.21/drivers/pci/controller/dwc/
Dpcie-designware-ep.c712 const struct pci_epc_features *epc_features; in dw_pcie_ep_init() local
798 epc_features = ep->ops->get_features(ep); in dw_pcie_ep_init()
799 if (epc_features->core_init_notifier) in dw_pcie_ep_init()