Searched refs:epc_features (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/pci/endpoint/functions/ |
| H A D | pci-epf-ntb.c | 104 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() 999 const struct pci_epc_features *peer_epc_features, *epc_features; in epf_ntb_config_spad_bar_alloc() local 1016 epc_features = ntb_epc->epc_features; in epf_ntb_config_spad_bar_alloc() 1018 size = epc_features->bar[barno].fixed_size; in epf_ntb_config_spad_bar_alloc() 1019 align = epc_features->align; in epf_ntb_config_spad_bar_alloc() 1022 peer_epc_features = peer_ntb_epc->epc_features; in epf_ntb_config_spad_bar_alloc() 1035 msix_capable = epc_features->msix_capable; in epf_ntb_config_spad_bar_alloc() [all …]
|
| H A D | pci-epf-test.c | 95 const struct pci_epc_features *epc_features; member 757 bar = pci_epc_get_next_free_bar(epf_test->epc_features, in pci_epf_test_enable_doorbell() 892 if (!epf_test->epc_features->dynamic_inbound_mapping || in pci_epf_test_bar_subrange_setup() 893 !epf_test->epc_features->subrange_mapping) { in pci_epf_test_bar_subrange_setup() 1141 if (epf_test->epc_features->msi_capable) in pci_epf_test_set_capabilities() 1144 if (epf_test->epc_features->msix_capable) in pci_epf_test_set_capabilities() 1147 if (epf_test->epc_features->intx_capable) in pci_epf_test_set_capabilities() 1150 if (epf_test->epc_features->dynamic_inbound_mapping) in pci_epf_test_set_capabilities() 1153 if (epf_test->epc_features->dynamic_inbound_mapping && in pci_epf_test_set_capabilities() 1154 epf_test->epc_features->subrange_mapping) in pci_epf_test_set_capabilities() [all …]
|
| H A D | pci-epf-vntb.c | 458 const struct pci_epc_features *epc_features = pci_epc_get_features(epf->epc, in epf_ntb_config_spad_bar_alloc() local 468 barno, epc_features, 0); in epf_ntb_config_spad_bar_alloc() 504 const struct pci_epc_features *epc_features; in epf_ntb_configure_interrupt() local 510 epc_features = pci_epc_get_features(ntb->epf->epc, ntb->epf->func_no, ntb->epf->vfunc_no); in epf_ntb_configure_interrupt() 512 if (!(epc_features->msix_capable || epc_features->msi_capable)) { in epf_ntb_configure_interrupt() 523 if (epc_features->msi_capable) { in epf_ntb_configure_interrupt() 550 const struct pci_epc_features *epc_features, in epf_ntb_db_bar_init_msi_doorbell() argument 622 ret = pci_epf_assign_bar_space(epf, sz, barno, epc_features, 0, low); in epf_ntb_db_bar_init_msi_doorbell() 680 const struct pci_epc_features *epc_features; in epf_ntb_db_bar_init() local 688 epc_features = pci_epc_get_features(ntb->epf->epc, in epf_ntb_db_bar_init() [all …]
|
| /linux/drivers/pci/endpoint/ |
| H A D | pci-epc-core.c | 79 pci_epc_get_first_free_bar(const struct pci_epc_features *epc_features) in pci_epc_get_first_free_bar() argument 81 return pci_epc_get_next_free_bar(epc_features, BAR_0); in pci_epc_get_first_free_bar() 94 *epc_features, enum pci_barno bar) in pci_epc_get_next_free_bar() 98 if (!epc_features) in pci_epc_get_next_free_bar() 102 if (bar > 0 && epc_features->bar[bar - 1].only_64bit) in pci_epc_get_next_free_bar() 107 if (epc_features->bar[i].type != BAR_RESERVED && in pci_epc_get_next_free_bar() 108 epc_features->bar[i].type != BAR_DISABLED) in pci_epc_get_next_free_bar() 143 const struct pci_epc_features *epc_features; in pci_epc_get_features() local 152 epc_features = epc->ops->get_features(epc, func_no, vfunc_no); in pci_epc_get_features() 155 return epc_features; in pci_epc_get_features() [all …]
|
| /linux/drivers/nvme/target/ |
| H A D | pci-epf.c | 201 const struct pci_epc_features *epc_features; member 622 if (!ret || !nvme_epf->epc_features->intx_capable) in nvmet_pci_epf_raise_irq() 2139 const struct pci_epc_features *epc_features = nvme_epf->epc_features; in nvmet_pci_epf_configure_bar() 2147 if (pci_epc_get_first_free_bar(epc_features) != BAR_0) { in nvmet_pci_epf_configure_bar() 2170 if (epc_features->msix_capable) { in nvmet_pci_epf_configure_bar() 2180 if (epc_features->bar[BAR_0].type == BAR_FIXED) { in nvmet_pci_epf_configure_bar() 2181 if (reg_size > epc_features->bar[BAR_0].fixed_size) { in nvmet_pci_epf_configure_bar() 2184 epc_features->bar[BAR_0].fixed_size, in nvmet_pci_epf_configure_bar() 2188 reg_bar_size = epc_features in nvmet_pci_epf_configure_bar() 2136 const struct pci_epc_features *epc_features = nvme_epf->epc_features; nvmet_pci_epf_configure_bar() local 2222 const struct pci_epc_features *epc_features = nvme_epf->epc_features; nvmet_pci_epf_init_irq() local 2266 const struct pci_epc_features *epc_features = nvme_epf->epc_features; nvmet_pci_epf_epc_init() local 2389 const struct pci_epc_features *epc_features; nvmet_pci_epf_bind() local [all...] |
| /linux/include/linux/ |
| H A D | pci-epf.h | 290 const struct pci_epc_features *epc_features, 297 const struct pci_epc_features *epc_features,
|
| H A D | pci-epc.h | 401 pci_epc_get_first_free_bar(const struct pci_epc_features *epc_features); 403 *epc_features, enum pci_barno bar);
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pci-imx6.c | 142 const struct pci_epc_features *epc_features; member 1620 return imx_pcie->drvdata->epc_features; in imx_pcie_ep_get_features() 1644 ep->page_size = imx_pcie->drvdata->epc_features->align; in imx_add_pcie_ep() 2155 .epc_features = &imx8q_pcie_epc_features, 2167 .epc_features = &imx8m_pcie_epc_features, 2178 .epc_features = &imx8m_pcie_epc_features, 2185 .epc_features = &imx8q_pcie_epc_features, 2200 .epc_features = &imx95_pcie_epc_features,
|