Lines Matching refs:tx4927_pcicptr

177 		unsigned long *preg = (unsigned long *) tx4927_pcicptr;  in tx4927_dump_pcic_settings()
181 if (preg == &tx4927_pcicptr->g2pintack in tx4927_dump_pcic_settings()
182 || preg == &tx4927_pcicptr->g2pspc in tx4927_dump_pcic_settings()
184 || preg == &tx4927_pcicptr->g2pcfgadrs in tx4927_dump_pcic_settings()
185 || preg == &tx4927_pcicptr->g2pcfgdata in tx4927_dump_pcic_settings()
193 if (preg == &tx4927_pcicptr->g2pcfgadrs) in tx4927_dump_pcic_settings()
208 ((tx4927_pcicptr->pcistatus >> 16) & 0xf900) == in tx4927_pcierr_interrupt()
210 tx4927_pcicptr->pcistatus = in tx4927_pcierr_interrupt()
211 (tx4927_pcicptr-> in tx4927_pcierr_interrupt()
220 (unsigned short) (tx4927_pcicptr->pcistatus >> 16), in tx4927_pcierr_interrupt()
221 tx4927_pcicptr->g2pstatus, tx4927_pcicptr->pcicstatus); in tx4927_pcierr_interrupt()
323 printk("PCI STATUS %lx\n", tx4927_pcicptr->pcistatus); in print_pci_status()
324 printk("PCIC STATUS %lx\n", tx4927_pcicptr->pcicstatus); in print_pci_status()
675 (unsigned short) (tx4927_pcicptr->pciid >> 16), in tx4927_pci_setup()
676 (unsigned short) (tx4927_pcicptr->pciid & 0xffff), in tx4927_pci_setup()
677 (unsigned short) (tx4927_pcicptr->pciccrev & 0xff), in tx4927_pci_setup()
727 tx4927_pcicptr->g2piomask = (mips_pci_io_size - 1) >> 4; in tx4927_pci_setup()
728 tx4927_pcicptr->g2piogbase = mips_pci_io_base | in tx4927_pci_setup()
736 tx4927_pcicptr->g2piopbase = 0; in tx4927_pci_setup()
738 tx4927_pcicptr->g2pmmask[0] = (mips_pci_mem_size - 1) >> 4; in tx4927_pci_setup()
739 tx4927_pcicptr->g2pmgbase[0] = mips_pci_mem_base | in tx4927_pci_setup()
746 tx4927_pcicptr->g2pmpbase[0] = mips_pci_mem_base; in tx4927_pci_setup()
748 tx4927_pcicptr->g2pmmask[1] = 0; in tx4927_pci_setup()
749 tx4927_pcicptr->g2pmgbase[1] = 0; in tx4927_pci_setup()
750 tx4927_pcicptr->g2pmpbase[1] = 0; in tx4927_pci_setup()
751 tx4927_pcicptr->g2pmmask[2] = 0; in tx4927_pci_setup()
752 tx4927_pcicptr->g2pmgbase[2] = 0; in tx4927_pci_setup()
753 tx4927_pcicptr->g2pmpbase[2] = 0; in tx4927_pci_setup()
757 tx4927_pcicptr->p2giopbase = 0; /* 256B */ in tx4927_pci_setup()
761 tx4927_pcicptr->p2giogbase = 0 | TX4927_PCIC_P2GIOGBASE_TIOEN | in tx4927_pci_setup()
769 tx4927_pcicptr->p2giogbase = 0; in tx4927_pci_setup()
773 tx4927_pcicptr->p2gm0plbase = 0; in tx4927_pci_setup()
774 tx4927_pcicptr->p2gm0pubase = 0; in tx4927_pci_setup()
775 tx4927_pcicptr->p2gmgbase[0] = 0 | TX4927_PCIC_P2GMnGBASE_TMEMEN | in tx4927_pci_setup()
784 tx4927_pcicptr->p2gm1plbase = 0xffffffff; in tx4927_pci_setup()
790 tx4927_pcicptr->p2gm1pubase = 0; in tx4927_pci_setup()
792 tx4927_pcicptr->p2gm1pubase = 0xffffffff; in tx4927_pci_setup()
794 tx4927_pcicptr->p2gmgbase[1] = 0; in tx4927_pci_setup()
797 tx4927_pcicptr->p2gm2pbase = 0xffffffff; in tx4927_pci_setup()
798 tx4927_pcicptr->p2gmgbase[2] = 0; in tx4927_pci_setup()
802 tx4927_pcicptr->pciccfg &= TX4927_PCIC_PCICCFG_LBWC_MASK; in tx4927_pci_setup()
803 tx4927_pcicptr->pciccfg |= in tx4927_pci_setup()
809 tx4927_pcicptr->pcicfg1 = 0; in tx4927_pci_setup()
812 tx4927_pcicptr->g2ptocnt &= ~0xff; in tx4927_pci_setup()
813 tx4927_pcicptr->g2ptocnt |= (tx4927_pcic_trdyto & 0xff); in tx4927_pci_setup()
819 tx4927_pcicptr->pcicstatus = TX4927_PCIC_PCICSTATUS_ALL; in tx4927_pci_setup()
821 tx4927_pcicptr->pcicmask = TX4927_PCIC_PCICSTATUS_ALL; in tx4927_pci_setup()
823 tx4927_pcicptr->g2pstatus = TX4927_PCIC_G2PSTATUS_ALL; in tx4927_pci_setup()
825 tx4927_pcicptr->g2pmask = TX4927_PCIC_G2PSTATUS_ALL; in tx4927_pci_setup()
827 tx4927_pcicptr->pcistatus = in tx4927_pci_setup()
828 (tx4927_pcicptr->pcistatus & 0x0000ffff) | in tx4927_pci_setup()
831 tx4927_pcicptr->pcimask = TX4927_PCIC_PCISTATUS_ALL; in tx4927_pci_setup()
834 tx4927_pcicptr->pcicfg2 = in tx4927_pci_setup()
835 (tx4927_pcicptr->pcicfg2 & 0xffffff00) | TX4927_IR_PCIC; in tx4927_pci_setup()
841 tx4927_pcicptr->pbacfg = TX4927_PCIC_PBACFG_RPBA; in tx4927_pci_setup()
843 tx4927_pcicptr->pbacfg = TX4927_PCIC_PBACFG_PBAEN; in tx4927_pci_setup()
846 tx4927_pcicptr->pcistatus = PCI_COMMAND_MASTER | in tx4927_pci_setup()