Lines Matching full:bars
296 idx = zdev->bars[bar].map_idx; in pci_iomap_range_fh()
315 iova = ioremap((unsigned long) zdev->bars[bar].mio_wt, barsize); in pci_iomap_range_mio()
345 iova = ioremap((unsigned long) zdev->bars[bar].mio_wb, barsize); in pci_iomap_wc_range_mio()
430 (resource_size_t __force) zdev->bars[i].mio_wt; in zpci_map_resources()
513 if (!zdev->bars[i].size) in zpci_setup_bus_resources()
518 zdev->bars[i].map_idx = entry; in zpci_setup_bus_resources()
522 if (zdev->bars[i].val & 8) in zpci_setup_bus_resources()
524 if (zdev->bars[i].val & 4) in zpci_setup_bus_resources()
528 addr = (unsigned long) zdev->bars[i].mio_wt; in zpci_setup_bus_resources()
531 size = 1UL << zdev->bars[i].size; in zpci_setup_bus_resources()
538 zdev->bars[i].res = res; in zpci_setup_bus_resources()
550 if (!zdev->bars[i].size || !zdev->bars[i].res) in zpci_cleanup_bus_resources()
553 zpci_free_iomap(zdev, zdev->bars[i].map_idx); in zpci_cleanup_bus_resources()
554 release_resource(zdev->bars[i].res); in zpci_cleanup_bus_resources()
555 kfree(zdev->bars[i].res); in zpci_cleanup_bus_resources()