Lines Matching refs:csrs

170 	io7_ioport_csrs *csrs;  in io7_clear_errors()  local
178 csrs = IO7_CSRS_KERN(io7->pe, port); in io7_clear_errors()
180 csrs->POx_ERR_SUM.csr = -1UL; in io7_clear_errors()
181 csrs->POx_TLB_ERR.csr = -1UL; in io7_clear_errors()
182 csrs->POx_SPL_COMPLT.csr = -1UL; in io7_clear_errors()
183 csrs->POx_TRANS_SUM.csr = -1UL; in io7_clear_errors()
207 io7_ioport_csrs *csrs = IO7_CSRS_KERN(io7->pe, port); in io7_init_hose() local
223 io7_port->csrs = csrs; in io7_init_hose()
264 io7_port->saved_wbase[i] = csrs->POx_WBASE[i].csr; in io7_init_hose()
265 io7_port->saved_wmask[i] = csrs->POx_WMASK[i].csr; in io7_init_hose()
266 io7_port->saved_tbase[i] = csrs->POx_TBASE[i].csr; in io7_init_hose()
289 csrs->POx_WBASE[0].csr = in io7_init_hose()
291 csrs->POx_WMASK[0].csr = (hose->sg_isa->size - 1) & wbase_m_addr; in io7_init_hose()
292 csrs->POx_TBASE[0].csr = virt_to_phys(hose->sg_isa->ptes); in io7_init_hose()
297 csrs->POx_WBASE[1].csr = __direct_map_base | wbase_m_ena; in io7_init_hose()
298 csrs->POx_WMASK[1].csr = (__direct_map_size - 1) & wbase_m_addr; in io7_init_hose()
299 csrs->POx_TBASE[1].csr = 0; in io7_init_hose()
307 csrs->POx_WBASE[2].csr = in io7_init_hose()
309 csrs->POx_WMASK[2].csr = (hose->sg_pci->size - 1) & wbase_m_addr; in io7_init_hose()
310 csrs->POx_TBASE[2].csr = virt_to_phys(hose->sg_pci->ptes); in io7_init_hose()
315 csrs->POx_WBASE[3].csr = 0; in io7_init_hose()
320 csrs->POx_CTRL.csr &= ~(1UL << 61); in io7_init_hose()
324 csrs->POx_MSK_HEI.csr &= ~(3UL << 14); in io7_init_hose()
342 io7->csrs = IO7_PORT7_CSRS_KERN(io7->pe); in marvel_init_io7()
348 io7_ioport_csrs *csrs = IO7_CSRS_KERN(io7->pe, i); in marvel_init_io7() local
349 if (csrs->POx_CACHE_CTL.csr == 8) { in marvel_init_io7()
634 io7_ioport_csrs *csrs = ((struct io7_port *)hose->sysdata)->csrs; in marvel_pci_tbi() local
637 csrs->POx_SG_TBIA.csr = 0; in marvel_pci_tbi()
639 csrs->POx_SG_TBIA.csr; in marvel_pci_tbi()
940 io7_ioport_csrs *csrs = ((struct io7_port *)agp->hose->sysdata)->csrs; in marvel_agp_configure() local
950 agp_pll = io7->csrs->POx_RST[IO7_AGP_PORT].csr; in marvel_agp_configure()
996 csrs->AGP_CMD.csr = agp->mode.lw; in marvel_agp_configure()
1052 io7_ioport_csrs *csrs; in marvel_agp_info() local
1087 csrs = ((struct io7_port *)hose->sysdata)->csrs; in marvel_agp_info()
1116 agp->capability.lw = csrs->AGP_STAT.csr; in marvel_agp_info()
1122 agp->mode.lw = csrs->AGP_CMD.csr; in marvel_agp_info()