Lines Matching refs:ldev
637 struct lba_device *ldev = LBA_DEV(parisc_walk_tree(bus->bridge)); in lba_fixup_bus() local
638 int lba_portbase = HBA_PORT_BASE(ldev->hba.hba_num); in lba_fixup_bus()
659 ldev->hba.io_space.name, in lba_fixup_bus()
660 ldev->hba.io_space.start, ldev->hba.io_space.end, in lba_fixup_bus()
661 ldev->hba.io_space.flags); in lba_fixup_bus()
663 ldev->hba.lmmio_space.name, in lba_fixup_bus()
664 ldev->hba.lmmio_space.start, ldev->hba.lmmio_space.end, in lba_fixup_bus()
665 ldev->hba.lmmio_space.flags); in lba_fixup_bus()
667 err = request_resource(&ioport_resource, &(ldev->hba.io_space)); in lba_fixup_bus()
673 bus->resource[0] = &(ldev->hba.io_space); in lba_fixup_bus()
676 if (ldev->hba.elmmio_space.start) { in lba_fixup_bus()
678 &(ldev->hba.elmmio_space)); in lba_fixup_bus()
683 (long)ldev->hba.elmmio_space.start, in lba_fixup_bus()
684 (long)ldev->hba.elmmio_space.end); in lba_fixup_bus()
689 bus->resource[i++] = &(ldev->hba.elmmio_space); in lba_fixup_bus()
703 &(ldev->hba.lmmio_space))) { in lba_fixup_bus()
706 (long)ldev->hba.lmmio_space.start, in lba_fixup_bus()
707 (long)ldev->hba.lmmio_space.end); in lba_fixup_bus()
709 err = request_resource(&iomem_resource, &(ldev->hba.lmmio_space)); in lba_fixup_bus()
713 (long)ldev->hba.lmmio_space.start, in lba_fixup_bus()
714 (long)ldev->hba.lmmio_space.end); in lba_fixup_bus()
716 bus->resource[i++] = &(ldev->hba.lmmio_space); in lba_fixup_bus()
721 if (ldev->hba.gmmio_space.flags) { in lba_fixup_bus()
722 err = request_resource(&iomem_resource, &(ldev->hba.gmmio_space)); in lba_fixup_bus()
726 (long)ldev->hba.gmmio_space.start, in lba_fixup_bus()
727 (long)ldev->hba.gmmio_space.end); in lba_fixup_bus()
731 bus->resource[i++] = &(ldev->hba.gmmio_space); in lba_fixup_bus()
764 res->start = PCI_HOST_ADDR(HBA_DATA(ldev), res->start); in lba_fixup_bus()
765 res->end = PCI_HOST_ADDR(HBA_DATA(ldev), res->end); in lba_fixup_bus()
796 iosapic_fixup_irq(ldev->iosapic_obj, dev); in lba_fixup_bus()