• Home
  • Raw
  • Download

Lines Matching refs:agp

590 titan_agp_setup(alpha_agp_info *agp)  in titan_agp_setup()  argument
601 aper->arena = agp->hose->sg_pci; in titan_agp_setup()
611 agp->aperture.bus_base = in titan_agp_setup()
613 agp->aperture.size = aper->pg_count * PAGE_SIZE; in titan_agp_setup()
614 agp->aperture.sysdata = aper; in titan_agp_setup()
620 titan_agp_cleanup(alpha_agp_info *agp) in titan_agp_cleanup() argument
622 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_cleanup()
637 kfree(agp); in titan_agp_cleanup()
641 titan_agp_configure(alpha_agp_info *agp) in titan_agp_configure() argument
644 titan_pachip_port *port = agp->private; in titan_agp_configure()
648 pctl.pctl_r_bits.apctl_v_agp_sba_en = agp->mode.bits.sba; in titan_agp_configure()
652 if (agp->mode.bits.rate & 2) in titan_agp_configure()
655 if (agp->mode.bits.rate & 4) in titan_agp_configure()
666 pctl.pctl_r_bits.apctl_v_agp_en = agp->mode.bits.enable; in titan_agp_configure()
683 titan_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in titan_agp_bind_memory() argument
685 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_bind_memory()
691 titan_agp_unbind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in titan_agp_unbind_memory() argument
693 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_unbind_memory()
699 titan_agp_translate(alpha_agp_info *agp, dma_addr_t addr) in titan_agp_translate() argument
701 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_translate()
705 if (addr < agp->aperture.bus_base || in titan_agp_translate()
706 addr >= agp->aperture.bus_base + agp->aperture.size) { in titan_agp_translate()
733 alpha_agp_info *agp; in titan_agp_info() local
763 agp = kmalloc(sizeof(*agp), GFP_KERNEL); in titan_agp_info()
764 if (!agp) in titan_agp_info()
770 agp->hose = hose; in titan_agp_info()
771 agp->private = port; in titan_agp_info()
772 agp->ops = &titan_agp_ops; in titan_agp_info()
779 agp->aperture.bus_base = 0; in titan_agp_info()
780 agp->aperture.size = 0; in titan_agp_info()
781 agp->aperture.sysdata = NULL; in titan_agp_info()
786 agp->capability.lw = 0; in titan_agp_info()
787 agp->capability.bits.rate = 3; /* 2x, 1x */ in titan_agp_info()
788 agp->capability.bits.sba = 1; in titan_agp_info()
789 agp->capability.bits.rq = 7; /* 8 - 1 */ in titan_agp_info()
795 agp->mode.lw = 0; in titan_agp_info()
796 agp->mode.bits.rate = 1 << pctl.pctl_r_bits.apctl_v_agp_rate; in titan_agp_info()
797 agp->mode.bits.sba = pctl.pctl_r_bits.apctl_v_agp_sba_en; in titan_agp_info()
798 agp->mode.bits.rq = 7; /* RQ Depth? */ in titan_agp_info()
799 agp->mode.bits.enable = pctl.pctl_r_bits.apctl_v_agp_en; in titan_agp_info()
801 return agp; in titan_agp_info()