Home
last modified time | relevance | path

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

/linux/drivers/pci/endpoint/functions/
H A 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[barno].fixed_size; 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 …]
/linux/drivers/pci/endpoint/
H A Dpci-epc-core.c79 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()
142 const struct pci_epc_features *epc_features; in pci_epc_get_features() local
151 epc_features = epc->ops->get_features(epc, func_no, vfunc_no); in pci_epc_get_features()
154 return epc_features; in pci_epc_get_features()
590 const struct pci_epc_features *epc_features; in pci_epc_set_bar() local
[all …]
/linux/drivers/nvme/target/
H A Dpci-epf.c201 const struct pci_epc_features *epc_features; member
646 if (!ret || !nvme_epf->epc_features->intx_capable) in nvmet_pci_epf_raise_irq()
2158 const struct pci_epc_features *epc_features = nvme_epf->epc_features; in nvmet_pci_epf_configure_bar() local
2166 if (pci_epc_get_first_free_bar(epc_features) != BAR_0) { in nvmet_pci_epf_configure_bar()
2189 if (epc_features->msix_capable) { in nvmet_pci_epf_configure_bar()
2199 if (epc_features->bar[BAR_0].type == BAR_FIXED) { in nvmet_pci_epf_configure_bar()
2200 if (reg_size > epc_features->bar[BAR_0].fixed_size) { in nvmet_pci_epf_configure_bar()
2203 epc_features->bar[BAR_0].fixed_size, in nvmet_pci_epf_configure_bar()
2207 reg_bar_size = epc_features->bar[BAR_0].fixed_size; in nvmet_pci_epf_configure_bar()
2209 reg_bar_size = ALIGN(reg_size, max(epc_features->align, 4096)); in nvmet_pci_epf_configure_bar()
[all …]
/linux/include/linux/
H A Dpci-epc.h304 pci_epc_get_first_free_bar(const struct pci_epc_features *epc_features);
306 *epc_features, enum pci_barno bar);
/linux/drivers/pci/controller/dwc/
H A Dpci-imx6.c134 const struct pci_epc_features *epc_features; member
1430 return imx_pcie->drvdata->epc_features; in imx_pcie_ep_get_features()
1455 ep->page_size = imx_pcie->drvdata->epc_features->align; in imx_add_pcie_ep()
1927 .epc_features = &imx8q_pcie_epc_features,
1939 .epc_features = &imx8m_pcie_epc_features,
1950 .epc_features = &imx8m_pcie_epc_features,
1957 .epc_features = &imx8q_pcie_epc_features,
1971 .epc_features = &imx95_pcie_epc_features,