Lines Matching refs:maddr
256 uint8_t __iomem **maddr) in ahd_linux_pci_reserve_mem_region() argument
277 *maddr = ioremap(base_page, base_offset + 512); in ahd_linux_pci_reserve_mem_region()
278 if (*maddr == NULL) { in ahd_linux_pci_reserve_mem_region()
282 *maddr += base_offset; in ahd_linux_pci_reserve_mem_region()
294 uint8_t __iomem *maddr; in ahd_pci_map_registers() local
303 maddr = NULL; in ahd_pci_map_registers()
304 error = ahd_linux_pci_reserve_mem_region(ahd, &base, &maddr); in ahd_pci_map_registers()
308 ahd->bshs[0].maddr = maddr; in ahd_pci_map_registers()
310 ahd->bshs[1].maddr = maddr + 0x100; in ahd_pci_map_registers()
321 iounmap(maddr); in ahd_pci_map_registers()
324 ahd->bshs[0].maddr = NULL; in ahd_pci_map_registers()
325 maddr = NULL; in ahd_pci_map_registers()
337 if (maddr == NULL) { in ahd_pci_map_registers()