Searched refs:num_submap (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-designware-ep.c | 207 unsigned int num_submap, size_t bar_size) in dw_pcie_ep_validate_submap() argument 233 for (i = 0; i < num_submap; i++) { in dw_pcie_ep_validate_submap() 271 if (!ep_func || !epf_bar->num_submap || !submap || !epf_bar->size) in dw_pcie_ep_ib_atu_addr() 274 ret = dw_pcie_ep_validate_submap(ep, submap, epf_bar->num_submap, in dw_pcie_ep_ib_atu_addr() 287 indexes = devm_kcalloc(dev, epf_bar->num_submap, sizeof(*indexes), in dw_pcie_ep_ib_atu_addr() 295 for (i = 0; i < epf_bar->num_submap; i++) { in dw_pcie_ep_ib_atu_addr() 556 if (epf_bar->num_submap) in dw_pcie_ep_set_bar() 591 if (epf_bar->num_submap) in dw_pcie_ep_set_bar()
|
| /linux/drivers/pci/endpoint/functions/ |
| H A D | pci-epf-test.c | 887 old_nsub = bar->num_submap; in pci_epf_test_bar_subrange_setup() 890 bar->num_submap = nsub; in pci_epf_test_bar_subrange_setup() 896 bar->num_submap = old_nsub; in pci_epf_test_bar_subrange_setup() 949 nsub = bar->num_submap; in pci_epf_test_bar_subrange_clear() 955 bar->num_submap = 0; in pci_epf_test_bar_subrange_clear() 960 bar->num_submap = nsub; in pci_epf_test_bar_subrange_clear()
|
| /linux/Documentation/PCI/endpoint/ |
| H A D | pci-endpoint.rst | 104 When pci_epf_bar.num_submap is non-zero, the endpoint function driver is 112 num_submap set to zero and configuring the BAR size, then after the PCIe 114 base address, again with num_submap set to non-zero value.
|
| /linux/include/linux/ |
| H A D | pci-epf.h | 151 unsigned int num_submap; member
|
| /linux/drivers/pci/endpoint/ |
| H A D | pci-epc-core.c | 599 if (epf_bar->num_submap && !epf_bar->submap) in pci_epc_set_bar() 602 if (epf_bar->num_submap && in pci_epc_set_bar()
|