Home
last modified time | relevance | path

Searched refs:tx4938_ccfgptr (Results 1 – 5 of 5) sorted by relevance

/arch/mips/txx9/generic/
Dsetup_tx4938.c31 if (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDRST) in tx4938_wdr_init()
49 (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDREXEN) ? in tx4938_machine_restart()
54 while (!(____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDRST)) in tx4938_machine_restart()
57 if (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDREXEN) { in tx4938_machine_restart()
73 (unsigned long long)____raw_readq(&tx4938_ccfgptr->ccfg), in tx4938_be_handler()
74 (unsigned long long)____raw_readq(&tx4938_ccfgptr->toea)); in tx4938_be_handler()
113 ccfg = ____raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_setup()
191 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_DMASEL_ALL); in tx4938_setup()
194 if (!(____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB)) in tx4938_setup()
195 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_PCICLKEN_ALL); in tx4938_setup()
[all …]
/arch/mips/txx9/rbtx4938/
Dsetup.c42 int extarb = !(__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB); in rbtx4938_pci_setup()
47 if (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) in rbtx4938_pci_setup()
55 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup()
61 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup()
73 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup()
77 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup()
85 if (__raw_readq(&tx4938_ccfgptr->pcfg) & in rbtx4938_pci_setup()
88 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIC1RST); in rbtx4938_pci_setup()
90 if (!(__raw_readq(&tx4938_ccfgptr->ccfg) in rbtx4938_pci_setup()
95 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIC1RST); in rbtx4938_pci_setup()
[all …]
/arch/mips/pci/
Dpci-tx4938.c27 (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) ? in tx4938_report_pciclk()
29 if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_PCICLKEN_ALL) { in tx4938_report_pciclk()
30 u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_report_pciclk()
63 __u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_report_pci1clk()
80 if (__raw_readq(&tx4938_ccfgptr->pcfg) & TX4938_PCFG_PCICLKEN_ALL) { in tx4938_pciclk66_setup()
82 u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_pciclk66_setup()
111 (unsigned long)__raw_readq(&tx4938_ccfgptr->ccfg)); in tx4938_pciclk66_setup()
122 if (__raw_readq(&tx4938_ccfgptr->pcfg) & in tx4938_pcic1_map_irq()
127 if (__raw_readq(&tx4938_ccfgptr->pcfg) & in tx4938_pcic1_map_irq()
/arch/mips/txx9/rbtx4927/
Dsetup.c110 int extarb = !(__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB); in tx4937_pci_setup()
115 if (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) in tx4937_pci_setup()
123 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in tx4937_pci_setup()
129 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in tx4937_pci_setup()
141 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in tx4937_pci_setup()
145 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in tx4937_pci_setup()
262 switch ((unsigned long)__raw_readq(&tx4938_ccfgptr->ccfg) & in rbtx4937_clock_init()
/arch/mips/include/asm/txx9/
Dtx4938.h256 #define tx4938_ccfgptr \ macro
264 ((__u32)__raw_readq(&tx4938_ccfgptr->crir) >> 16)