Home
last modified time | relevance | path

Searched refs:ccfg (Results 1 – 17 of 17) sorted by relevance

/arch/mips/pci/
Dpci-tx4938.c25 (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) ? in tx4938_report_pciclk()
28 u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_report_pciclk() local
29 switch ((unsigned long)ccfg & in tx4938_report_pciclk()
61 __u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_report_pci1clk() local
63 txx9_gbus_clock / ((ccfg & TX4938_CCFG_PCI1DMD) ? 4 : 2); in tx4938_report_pci1clk()
66 (ccfg & TX4938_CCFG_PCI1_66) ? "PCI66 " : "", in tx4938_report_pci1clk()
80 u64 ccfg = __raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_pciclk66_setup() local
81 pcidivmode = (unsigned long)ccfg & in tx4938_pciclk66_setup()
109 (unsigned long)__raw_readq(&tx4938_ccfgptr->ccfg)); in tx4938_pciclk66_setup()
Dpci-tx4927.c25 (__raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_PCI66) ? in tx4927_report_pciclk()
28 u64 ccfg = __raw_readq(&tx4927_ccfgptr->ccfg); in tx4927_report_pciclk() local
29 switch ((unsigned long)ccfg & in tx4927_report_pciclk()
60 u64 ccfg = __raw_readq(&tx4927_ccfgptr->ccfg); in tx4927_pciclk66_setup() local
61 pcidivmode = (unsigned long)ccfg & in tx4927_pciclk66_setup()
78 (unsigned long)__raw_readq(&tx4927_ccfgptr->ccfg)); in tx4927_pciclk66_setup()
Dpci-tx4939.c25 (__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCI66) ? in tx4939_report_pciclk()
29 if (!(__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCI66)) in tx4939_report_pciclk()
/arch/mips/txx9/generic/
Dsetup_tx4927.c31 if (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDRST) in tx4927_wdr_init()
49 (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDREXEN) ? in tx4927_machine_restart()
54 while (!(____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDRST)) in tx4927_machine_restart()
57 if (____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_WDREXEN) { in tx4927_machine_restart()
73 (unsigned long long)____raw_readq(&tx4927_ccfgptr->ccfg), in tx4927_be_handler()
93 u64 ccfg; in tx4927_setup() local
110 ccfg = ____raw_readq(&tx4927_ccfgptr->ccfg); in tx4927_setup()
113 divmode = (__u32)ccfg & TX4927_CCFG_DIVMODE_MASK; in tx4927_setup()
143 divmode = (__u32)ccfg & TX4927_CCFG_DIVMODE_MASK; in tx4927_setup()
183 if (!(____raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_PCIARB)) in tx4927_setup()
[all …]
Dsetup_tx3927.c57 tx3927_ccfgptr->ccfg |= TX3927_CCFG_TOE; in tx3927_setup()
60 tx3927_ccfgptr->ccfg &= ~TX3927_CCFG_BEOW; in tx3927_setup()
63 tx3927_ccfgptr->ccfg &= ~TX3927_CCFG_PSNP; in tx3927_setup()
66 tx3927_ccfgptr->ccfg |= TX3927_CCFG_PSNP; in tx3927_setup()
68 tx3927_ccfgptr->ccfg |= TX3927_CCFG_WR; in tx3927_setup()
71 tx3927_ccfgptr->crir, tx3927_ccfgptr->ccfg, in tx3927_setup()
Dsetup_tx4938.c33 if (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDRST) in tx4938_wdr_init()
51 (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDREXEN) ? in tx4938_machine_restart()
56 while (!(____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDRST)) in tx4938_machine_restart()
59 if (____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_WDREXEN) { in tx4938_machine_restart()
75 (unsigned long long)____raw_readq(&tx4938_ccfgptr->ccfg), in tx4938_be_handler()
98 u64 ccfg; in tx4938_setup() local
115 ccfg = ____raw_readq(&tx4938_ccfgptr->ccfg); in tx4938_setup()
118 divmode = (__u32)ccfg & TX4938_CCFG_DIVMODE_MASK; in tx4938_setup()
152 divmode = (__u32)ccfg & TX4938_CCFG_DIVMODE_MASK; in tx4938_setup()
196 if (!(____raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB)) in tx4938_setup()
[all …]
Dsetup_tx4939.c36 if (____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDRST) in tx4939_wdr_init()
54 (____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDREXEN) ? in tx4939_machine_restart()
59 while (!(____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDRST)) in tx4939_machine_restart()
62 if (____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_WDREXEN) { in tx4939_machine_restart()
79 (unsigned long long)____raw_readq(&tx4939_ccfgptr->ccfg), in tx4939_be_handler()
120 divmode = (__u32)____raw_readq(&tx4939_ccfgptr->ccfg) & in tx4939_setup()
147 divmode = (__u32)____raw_readq(&tx4939_ccfgptr->ccfg) & in tx4939_setup()
170 divmode = (__u32)____raw_readq(&tx4939_ccfgptr->ccfg) & in tx4939_setup()
198 if (!(____raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCIARB)) in tx4939_setup()
207 ____raw_readq(&tx4939_ccfgptr->ccfg), in tx4939_setup()
[all …]
/arch/mips/include/asm/txx9/
Dtx4927.h91 u64 ccfg; member
242 ____raw_writeq(____raw_readq(&tx4927_ccfgptr->ccfg) in tx4927_ccfg_clear()
244 &tx4927_ccfgptr->ccfg); in tx4927_ccfg_clear()
248 ____raw_writeq((____raw_readq(&tx4927_ccfgptr->ccfg) in tx4927_ccfg_set()
250 &tx4927_ccfgptr->ccfg); in tx4927_ccfg_set()
254 ____raw_writeq((____raw_readq(&tx4927_ccfgptr->ccfg) in tx4927_ccfg_change()
257 &tx4927_ccfgptr->ccfg); in tx4927_ccfg_change()
Dtx4939.h63 __u64 ccfg; member
483 ((__u32)((__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_BCFG_MASK) \
Dtx3927.h143 volatile unsigned long ccfg; member
Dtx4938.h48 u64 ccfg; member
/arch/mips/txx9/rbtx4927/
Dsetup.c64 int extarb = !(__raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_PCIARB); in tx4927_pci_setup()
69 if (__raw_readq(&tx4927_ccfgptr->ccfg) & TX4927_CCFG_PCI66) in tx4927_pci_setup()
111 int extarb = !(__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB); in tx4937_pci_setup()
116 if (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) in tx4937_pci_setup()
241 switch ((unsigned long)__raw_readq(&tx4927_ccfgptr->ccfg) & in rbtx4927_clock_init()
267 switch ((unsigned long)__raw_readq(&tx4938_ccfgptr->ccfg) & in rbtx4937_clock_init()
/arch/c6x/platforms/
Dcache.c290 unsigned int ccfg = imcr_get(IMCR_CCFG); in L2_cache_set_mode() local
293 ccfg &= ~7; in L2_cache_set_mode()
294 ccfg |= (mode & 7); in L2_cache_set_mode()
295 imcr_set(IMCR_CCFG, ccfg); in L2_cache_set_mode()
296 ccfg = imcr_get(IMCR_CCFG); in L2_cache_set_mode()
/arch/mips/txx9/jmr3927/
Dprom.c47 if ((tx3927_ccfgptr->ccfg & TX3927_CCFG_TLBOFF) == 0) in jmr3927_prom_init()
Dsetup.c103 int extarb = !(tx3927_ccfgptr->ccfg & TX3927_CCFG_PCIXARB); in jmr3927_pci_setup()
/arch/mips/txx9/rbtx4938/
Dsetup.c43 int extarb = !(__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB); in rbtx4938_pci_setup()
48 if (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) in rbtx4938_pci_setup()
91 if (!(__raw_readq(&tx4938_ccfgptr->ccfg) in rbtx4938_pci_setup()
/arch/mips/txx9/rbtx4939/
Dsetup.c60 int extarb = !(__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCIARB); in rbtx4939_pci_setup()
114 __u64 ccfg = ____raw_readq(&tx4939_ccfgptr->ccfg); in rbtx4939_update_ioc_pen() local
136 if (ccfg & TX4939_CCFG_PTSEL) in rbtx4939_update_ioc_pen()