Home
last modified time | relevance | path

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

/linux/drivers/pci/controller/
H A Dpci-xgene.c460 static int xgene_pcie_select_ib_reg(u8 *ib_reg_mask, u64 size) in xgene_pcie_select_ib_reg() argument
462 if ((size > 4) && (size < SZ_16M) && !(*ib_reg_mask & (1 << 1))) { in xgene_pcie_select_ib_reg()
463 *ib_reg_mask |= (1 << 1); in xgene_pcie_select_ib_reg()
467 if ((size > SZ_1K) && (size < SZ_1T) && !(*ib_reg_mask & (1 << 0))) { in xgene_pcie_select_ib_reg()
468 *ib_reg_mask |= (1 << 0); in xgene_pcie_select_ib_reg()
472 if ((size > SZ_1M) && (size < SZ_1T) && !(*ib_reg_mask & (1 << 2))) { in xgene_pcie_select_ib_reg()
473 *ib_reg_mask |= (1 << 2); in xgene_pcie_select_ib_reg()
481 struct of_pci_range *range, u8 *ib_reg_mask) in xgene_pcie_setup_ib_reg() argument
495 region = xgene_pcie_select_ib_reg(ib_reg_mask, range->size); in xgene_pcie_setup_ib_reg()
536 u8 ib_reg_mask = 0; in xgene_pcie_parse_map_dma_ranges() local
[all …]