Lines Matching refs:pctl
237 union TPAchipPCTL pctl; in titan_query_agp() local
240 pctl.pctl_q_whole = port->pctl.csr; in titan_query_agp()
242 return pctl.pctl_r_bits.apctl_v_agp_present; in titan_query_agp()
341 port->pctl.csr |= pctl_m_mwin; in titan_init_one_pachip_port()
643 union TPAchipPCTL pctl; in titan_agp_configure() local
645 pctl.pctl_q_whole = port->pctl.csr; in titan_agp_configure()
648 pctl.pctl_r_bits.apctl_v_agp_sba_en = agp->mode.bits.sba; in titan_agp_configure()
651 pctl.pctl_r_bits.apctl_v_agp_rate = 0; /* 1x */ in titan_agp_configure()
653 pctl.pctl_r_bits.apctl_v_agp_rate = 1; /* 2x */ in titan_agp_configure()
656 pctl.pctl_r_bits.apctl_v_agp_rate = 2; /* 4x */ in titan_agp_configure()
660 pctl.pctl_r_bits.apctl_v_agp_hp_rd = 2; in titan_agp_configure()
661 pctl.pctl_r_bits.apctl_v_agp_lp_rd = 7; in titan_agp_configure()
666 pctl.pctl_r_bits.apctl_v_agp_en = agp->mode.bits.enable; in titan_agp_configure()
670 1 << pctl.pctl_r_bits.apctl_v_agp_rate, in titan_agp_configure()
671 pctl.pctl_r_bits.apctl_v_agp_sba_en ? " - SBA" : ""); in titan_agp_configure()
674 port->pctl.csr = pctl.pctl_q_whole; in titan_agp_configure()
737 union TPAchipPCTL pctl; in titan_agp_info() local
794 pctl.pctl_q_whole = port->pctl.csr; 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()
799 agp->mode.bits.enable = pctl.pctl_r_bits.apctl_v_agp_en; in titan_agp_info()