Searched refs:pcicsrbar_sz (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/pci/ |
H A D | fsl_pci_init.c | 320 u32 pcicsrbar, pcicsrbar_sz; in fsl_pci_init() local 370 pci_hose_read_config_dword (hose, dev, PCI_BASE_ADDRESS_0, &pcicsrbar_sz); in fsl_pci_init() 371 pcicsrbar_sz = ~pcicsrbar_sz + 1; in fsl_pci_init() 373 if (out_hi < (0x100000000ull - pcicsrbar_sz) || in fsl_pci_init() 375 pcicsrbar = 0x100000000ull - pcicsrbar_sz; in fsl_pci_init() 377 pcicsrbar = (out_lo - pcicsrbar_sz) & -pcicsrbar_sz; in fsl_pci_init() 385 pcicsrbar_sz, PCI_REGION_SYS_MEMORY); in fsl_pci_init()
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | fsl_pci.c | 205 u32 pcicsrbar = 0, pcicsrbar_sz; in setup_pci_atmu() local 306 early_read_config_dword(hose, 0, 0, PCI_BASE_ADDRESS_0, &pcicsrbar_sz); in setup_pci_atmu() 307 pcicsrbar_sz = ~pcicsrbar_sz + 1; in setup_pci_atmu() 309 if (paddr_hi < (0x100000000ull - pcicsrbar_sz) || in setup_pci_atmu() 311 pcicsrbar = 0x100000000ull - pcicsrbar_sz; in setup_pci_atmu() 313 pcicsrbar = (paddr_lo - pcicsrbar_sz) & -pcicsrbar_sz; in setup_pci_atmu()
|