Lines Matching +full:pci +full:- +full:to +full:- +full:cpu

7  * Copyright 2001-2002 MontaVista Software Inc.
9 * Copyright (C) 1996, 97, 2001, 04 Ralf Baechle (ralf@linux-mips.org)
20 * Copyright (C) 2000-2001 Toshiba Corporation
31 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
35 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
42 * with this program; if not, write to the Free Software Foundation, Inc.,
57 #include <asm/txx9/pci.h>
64 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()
74 /* Reset PCI Bus */ in tx4927_pci_setup()
77 txx9_set64(&tx4927_ccfgptr->clkctr, TX4927_CLKCTR_PCIRST); in tx4927_pci_setup()
83 txx9_clear64(&tx4927_ccfgptr->clkctr, TX4927_CLKCTR_PCIRST); in tx4927_pci_setup()
92 /* Reset PCI Bus */ in tx4927_pci_setup()
95 txx9_set64(&tx4927_ccfgptr->clkctr, TX4927_CLKCTR_PCIRST); in tx4927_pci_setup()
99 txx9_clear64(&tx4927_ccfgptr->clkctr, TX4927_CLKCTR_PCIRST); 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()
121 /* Reset PCI Bus */ in tx4937_pci_setup()
124 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in tx4937_pci_setup()
130 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in tx4937_pci_setup()
139 /* Reset PCI Bus */ in tx4937_pci_setup()
142 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in tx4937_pci_setup()
146 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in tx4937_pci_setup()
162 /* TX4927-SIO DTR on (PIO[15]) */ in rbtx4927_gpio_init()
163 gpio_request(15, "sio-dtr"); in rbtx4927_gpio_init()
192 /* wait for enable to be seen */ in toshiba_rbtx4927_restart()
231 * ASSUMPTION: PCIDIVMODE is configured for PCI 33MHz or 66MHz. in rbtx4927_clock_init()
235 * CPU 166MHz: PCI 66MHz : PCIDIVMODE: 00 (1/2.5) in rbtx4927_clock_init()
236 * CPU 200MHz: PCI 66MHz : PCIDIVMODE: 01 (1/3) in rbtx4927_clock_init()
237 * CPU 166MHz: PCI 33MHz : PCIDIVMODE: 10 (1/5) in rbtx4927_clock_init()
238 * CPU 200MHz: PCI 33MHz : PCIDIVMODE: 11 (1/6) in rbtx4927_clock_init()
241 switch ((unsigned long)__raw_readq(&tx4927_ccfgptr->ccfg) & in rbtx4927_clock_init()
255 * ASSUMPTION: PCIDIVMODE is configured for PCI 33MHz or 66MHz. in rbtx4937_clock_init()
260 * CPU 266MHz: PCI 33MHz : PCIDIVMODE: 000 (1/8) in rbtx4937_clock_init()
261 * CPU 266MHz: PCI 66MHz : PCIDIVMODE: 001 (1/4) in rbtx4937_clock_init()
262 * CPU 300MHz: PCI 33MHz : PCIDIVMODE: 010 (1/9) in rbtx4937_clock_init()
263 * CPU 300MHz: PCI 66MHz : PCIDIVMODE: 011 (1/4.5) in rbtx4937_clock_init()
264 * CPU 333MHz: PCI 33MHz : PCIDIVMODE: 100 (1/10) in rbtx4937_clock_init()
265 * CPU 333MHz: PCI 66MHz : PCIDIVMODE: 101 (1/5) in rbtx4937_clock_init()
267 switch ((unsigned long)__raw_readq(&tx4938_ccfgptr->ccfg) & in rbtx4937_clock_init()
290 .start = RBTX4927_BRAMRTC_BASE - IO_BASE, in toshiba_rbtx4927_rtc_init()
291 .end = RBTX4927_BRAMRTC_BASE - IO_BASE + 0x800 - 1, in toshiba_rbtx4927_rtc_init()
294 platform_device_register_simple("rtc-ds1742", -1, &res, 1); in toshiba_rbtx4927_rtc_init()
302 .end = RBTX4927_RTL_8019_BASE + 0x20 - 1, in rbtx4927_ne_init()
309 platform_device_register_simple("ne", -1, res, ARRAY_SIZE(res)); in rbtx4927_ne_init()
330 struct platform_device *pdev = platform_device_alloc("leds-gpio", 0); in rbtx4927_gpioled_init()
334 pdev->dev.platform_data = &pdata; in rbtx4927_gpioled_init()
352 platform_device_register_simple("txx9aclc-generic", -1, NULL, 0); in rbtx4927_device_init()
353 txx9_iocled_init(RBTX4927_LED_ADDR - IO_BASE, -1, 3, 1, "green", NULL); in rbtx4927_device_init()