Lines Matching refs:agp

900 marvel_agp_setup(alpha_agp_info *agp)  in marvel_agp_setup()  argument
910 aper->arena = agp->hose->sg_pci; in marvel_agp_setup()
921 agp->aperture.bus_base = in marvel_agp_setup()
923 agp->aperture.size = aper->pg_count * PAGE_SIZE; in marvel_agp_setup()
924 agp->aperture.sysdata = aper; in marvel_agp_setup()
930 marvel_agp_cleanup(alpha_agp_info *agp) in marvel_agp_cleanup() argument
932 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_cleanup()
947 kfree(agp); in marvel_agp_cleanup()
951 marvel_agp_configure(alpha_agp_info *agp) in marvel_agp_configure() argument
953 io7_ioport_csrs *csrs = ((struct io7_port *)agp->hose->sysdata)->csrs; in marvel_agp_configure()
954 struct io7 *io7 = ((struct io7_port *)agp->hose->sysdata)->io7; in marvel_agp_configure()
970 if (agp->mode.bits.rate != 2) in marvel_agp_configure()
979 if (agp->mode.bits.rate == 2) in marvel_agp_configure()
999 agp->mode.bits.rate, in marvel_agp_configure()
1002 agp->mode.bits.rate = new_rate; in marvel_agp_configure()
1006 agp->hose->index, agp->mode.bits.rate, in marvel_agp_configure()
1007 agp->mode.bits.sba ? " - SBA" : "", agp->mode.bits.rq); in marvel_agp_configure()
1009 csrs->AGP_CMD.csr = agp->mode.lw; in marvel_agp_configure()
1015 marvel_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in marvel_agp_bind_memory() argument
1017 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_bind_memory()
1023 marvel_agp_unbind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in marvel_agp_unbind_memory() argument
1025 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_unbind_memory()
1031 marvel_agp_translate(alpha_agp_info *agp, dma_addr_t addr) in marvel_agp_translate() argument
1033 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_translate()
1037 if (addr < agp->aperture.bus_base || in marvel_agp_translate()
1038 addr >= agp->aperture.bus_base + agp->aperture.size) { in marvel_agp_translate()
1066 alpha_agp_info *agp; in marvel_agp_info() local
1105 agp = kmalloc(sizeof(*agp), GFP_KERNEL); in marvel_agp_info()
1106 if (!agp) in marvel_agp_info()
1112 agp->hose = hose; in marvel_agp_info()
1113 agp->private = NULL; in marvel_agp_info()
1114 agp->ops = &marvel_agp_ops; in marvel_agp_info()
1119 agp->aperture.bus_base = 0; in marvel_agp_info()
1120 agp->aperture.size = 0; in marvel_agp_info()
1121 agp->aperture.sysdata = NULL; in marvel_agp_info()
1130 agp->capability.lw = csrs->AGP_STAT.csr; in marvel_agp_info()
1131 agp->capability.bits.rq = 0xf; in marvel_agp_info()
1136 agp->mode.lw = csrs->AGP_CMD.csr; in marvel_agp_info()
1138 return agp; in marvel_agp_info()