Searched refs:epc_features (Results 1 – 10 of 10) sorted by relevance
| /drivers/pci/endpoint/functions/ |
| A D | pci-epf-ntb.c | 516 epc_features = ntb_epc->epc_features; in epf_ntb_configure_msix() 517 align = epc_features->align; in epf_ntb_configure_msix() 1013 epc_features = ntb_epc->epc_features; in epf_ntb_config_spad_bar_alloc() 1016 align = epc_features->align; in epf_ntb_config_spad_bar_alloc() 1287 epc_features = ntb_epc->epc_features; in epf_ntb_configure_interrupt() 1390 epc_features = ntb_epc->epc_features; in epf_ntb_alloc_peer_mem() 1391 align = epc_features->align; in epf_ntb_alloc_peer_mem() 1450 epc_features = ntb_epc->epc_features; in epf_ntb_db_mw_bar_init() 1582 if (!epc_features) in epf_ntb_epc_create_interface() 1584 ntb_epc->epc_features = epc_features; in epf_ntb_epc_create_interface() [all …]
|
| A D | pci-epf-test.c | 77 const struct pci_epc_features *epc_features; member 910 if (epf_test->epc_features->msi_capable) in pci_epf_test_set_capabilities() 926 const struct pci_epc_features *epc_features = epf_test->epc_features; in pci_epf_test_epc_init() local 952 if (epc_features->msi_capable) { in pci_epf_test_epc_init() 961 if (epc_features->msix_capable) { in pci_epf_test_epc_init() 1024 const struct pci_epc_features *epc_features = epf_test->epc_features; in pci_epf_test_alloc_space() local 1029 if (epc_features->msix_capable) { in pci_epf_test_alloc_space() 1038 epc_features, PRIMARY_INTERFACE); in pci_epf_test_alloc_space() 1054 epc_features, PRIMARY_INTERFACE); in pci_epf_test_alloc_space() 1091 if (!epc_features) { in pci_epf_test_bind() [all …]
|
| A D | pci-epf-vntb.c | 431 barno, epc_features, 0); in epf_ntb_config_spad_bar_alloc() 467 const struct pci_epc_features *epc_features; in epf_ntb_configure_interrupt() local 476 if (!(epc_features->msix_capable || epc_features->msi_capable)) { in epf_ntb_configure_interrupt() 489 if (epc_features->msi_capable) { in epf_ntb_configure_interrupt() 511 const struct pci_epc_features *epc_features; in epf_ntb_db_bar_init() local 519 epc_features = pci_epc_get_features(ntb->epf->epc, in epf_ntb_db_bar_init() 694 const struct pci_epc_features *epc_features, in epf_ntb_find_bar() argument 699 barno = pci_epc_get_next_free_bar(epc_features, barno); in epf_ntb_find_bar() 725 const struct pci_epc_features *epc_features; in epf_ntb_init_epc_bar() local 739 barno = epf_ntb_find_bar(ntb, epc_features, bar, barno); in epf_ntb_init_epc_bar() [all …]
|
| A D | pci-epf-mhi.c | 144 const struct pci_epc_features *epc_features; member 163 return addr & (epf_mhi->epc_features->align -1); in get_align_offset() 753 epf_mhi->epc_features = pci_epc_get_features(epc, epf->func_no, epf->vfunc_no); in pci_epf_mhi_epc_init() 754 if (!epf_mhi->epc_features) in pci_epf_mhi_epc_init()
|
| /drivers/pci/endpoint/ |
| A D | pci-epc-core.c | 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 154 return epc_features; in pci_epc_get_features() 590 const struct pci_epc_features *epc_features; in pci_epc_set_bar() local 596 if (!epc_features) in pci_epc_set_bar() 599 if (epc_features->bar[bar].type == BAR_RESIZABLE && in pci_epc_set_bar() [all …]
|
| A D | pci-epf-core.c | 264 const struct pci_epc_features *epc_features, in pci_epf_alloc_space() argument 267 u64 bar_fixed_size = epc_features->bar[bar].fixed_size; in pci_epf_alloc_space() 268 size_t aligned_size, align = epc_features->align; in pci_epf_alloc_space() 279 if (epc_features->bar[bar].type == BAR_RESIZABLE && size < SZ_1M) in pci_epf_alloc_space() 282 if (epc_features->bar[bar].type == BAR_FIXED && bar_fixed_size) { in pci_epf_alloc_space() 322 if (upper_32_bits(size) || epc_features->bar[bar].only_64bit) in pci_epf_alloc_space()
|
| /drivers/nvme/target/ |
| A D | pci-epf.c | 201 const struct pci_epc_features *epc_features; member 2156 const struct pci_epc_features *epc_features = nvme_epf->epc_features; in nvmet_pci_epf_configure_bar() local 2187 if (epc_features->msix_capable) { in nvmet_pci_epf_configure_bar() 2201 epc_features->bar[BAR_0].fixed_size, in nvmet_pci_epf_configure_bar() 2211 epc_features, PRIMARY_INTERFACE); in nvmet_pci_epf_configure_bar() 2242 const struct pci_epc_features *epc_features = nvme_epf->epc_features; in nvmet_pci_epf_init_irq() local 2286 const struct pci_epc_features *epc_features = nvme_epf->epc_features; in nvmet_pci_epf_epc_init() local 2354 if (!epc_features->linkup_notifier) in nvmet_pci_epf_epc_init() 2407 const struct pci_epc_features *epc_features; in nvmet_pci_epf_bind() local 2415 if (!epc_features) { in nvmet_pci_epf_bind() [all …]
|
| /drivers/pci/controller/dwc/ |
| A D | pcie-dw-rockchip.c | 86 const struct pci_epc_features *epc_features; member 365 return rockchip->data->epc_features; in rockchip_pcie_get_features() 708 .epc_features = &rockchip_pcie_epc_features_rk3568, 713 .epc_features = &rockchip_pcie_epc_features_rk3588,
|
| A D | pci-imx6.c | 134 const struct pci_epc_features *epc_features; member 1434 return imx_pcie->drvdata->epc_features; in imx_pcie_ep_get_features() 1459 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,
|
| A D | pcie-designware-ep.c | 356 const struct pci_epc_features *epc_features; in dw_pcie_ep_get_bar_type() local 361 epc_features = ep->ops->get_features(ep); in dw_pcie_ep_get_bar_type() 363 return epc_features->bar[bar].type; in dw_pcie_ep_get_bar_type()
|
Completed in 42 milliseconds