Searched refs:epc_features (Results 1 – 10 of 10) sorted by relevance
| /linux/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 | 63 const struct pci_epc_features *epc_features; member 734 const struct pci_epc_features *epc_features = epf_test->epc_features; in pci_epf_test_epc_init() local 758 if (epc_features->msi_capable) { in pci_epf_test_epc_init() 767 if (epc_features->msix_capable) { in pci_epf_test_epc_init() 830 const struct pci_epc_features *epc_features = epf_test->epc_features; in pci_epf_test_alloc_space() local 835 if (epc_features->msix_capable) { in pci_epf_test_alloc_space() 844 epc_features, PRIMARY_INTERFACE); in pci_epf_test_alloc_space() 860 epc_features, PRIMARY_INTERFACE); in pci_epf_test_alloc_space() 888 const struct pci_epc_features *epc_features; in pci_epf_test_bind() local 896 if (!epc_features) { in pci_epf_test_bind() [all …]
|
| A D | pci-epf-vntb.c | 425 size = epc_features->bar[barno].fixed_size; in epf_ntb_config_spad_bar_alloc() 426 align = epc_features->align; in epf_ntb_config_spad_bar_alloc() 449 base = pci_epf_alloc_space(epf, size, barno, epc_features, 0); in epf_ntb_config_spad_bar_alloc() 485 const struct pci_epc_features *epc_features; in epf_ntb_configure_interrupt() local 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 537 epc_features = pci_epc_get_features(ntb->epf->epc, in epf_ntb_db_bar_init() 686 const struct pci_epc_features *epc_features; in epf_ntb_init_epc_bar() local 700 barno = pci_epc_get_next_free_bar(epc_features, 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()
|
| /linux/drivers/pci/endpoint/ |
| A D | pci-epc-core.c | 95 pci_epc_get_first_free_bar(const struct pci_epc_features *epc_features) in pci_epc_get_first_free_bar() argument 97 return pci_epc_get_next_free_bar(epc_features, BAR_0); in pci_epc_get_first_free_bar() 110 *epc_features, enum pci_barno bar) in pci_epc_get_next_free_bar() 114 if (!epc_features) in pci_epc_get_next_free_bar() 118 if (bar > 0 && epc_features->bar[bar - 1].only_64bit) in pci_epc_get_next_free_bar() 123 if (epc_features->bar[i].type != BAR_RESERVED) in pci_epc_get_next_free_bar() 146 const struct pci_epc_features *epc_features; in pci_epc_get_features() local 158 epc_features = epc->ops->get_features(epc, func_no, vfunc_no); in pci_epc_get_features() 161 return epc_features; in pci_epc_get_features()
|
| A D | pci-epf-core.c | 262 const struct pci_epc_features *epc_features, in pci_epf_alloc_space() argument 265 u64 bar_fixed_size = epc_features->bar[bar].fixed_size; in pci_epf_alloc_space() 266 size_t align = epc_features->align; in pci_epf_alloc_space() 276 if (epc_features->bar[bar].type == BAR_FIXED && bar_fixed_size) { in pci_epf_alloc_space() 309 if (upper_32_bits(size) || epc_features->bar[bar].only_64bit) in pci_epf_alloc_space()
|
| /linux/drivers/pci/controller/dwc/ |
| A D | pcie-dw-rockchip.c | 72 const struct pci_epc_features *epc_features; member 310 return rockchip->data->epc_features; in rockchip_pcie_get_features() 590 .epc_features = &rockchip_pcie_epc_features_rk3568, 595 .epc_features = &rockchip_pcie_epc_features_rk3588,
|
| A D | pci-imx6.c | 105 const struct pci_epc_features *epc_features; member 1103 return imx_pcie->drvdata->epc_features; in imx_pcie_ep_get_features() 1151 ep->page_size = imx_pcie->drvdata->epc_features->align; in imx_add_pcie_ep() 1616 .epc_features = &imx8m_pcie_epc_features, 1630 .epc_features = &imx8m_pcie_epc_features, 1643 .epc_features = &imx8m_pcie_epc_features, 1657 .epc_features = &imx95_pcie_epc_features,
|
| /linux/include/linux/ |
| A D | pci-epc.h | 265 pci_epc_get_first_free_bar(const struct pci_epc_features *epc_features); 267 *epc_features, enum pci_barno bar);
|
| A D | pci-epf.h | 221 const struct pci_epc_features *epc_features,
|
Completed in 27 milliseconds