• Home
  • Raw
  • Download

Lines Matching +full:pcfg +full:-

2  * Setup pointers to hardware-dependent routines.
3 * Copyright (C) 2000-2001 Toshiba Corporation
5 * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the
10 * Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com)
43 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()
56 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup()
62 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup()
74 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup()
78 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup()
86 if (__raw_readq(&tx4938_ccfgptr->pcfg) & in rbtx4938_pci_setup()
89 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIC1RST); in rbtx4938_pci_setup()
91 if (!(__raw_readq(&tx4938_ccfgptr->ccfg) in rbtx4938_pci_setup()
96 txx9_clear64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIC1RST); in rbtx4938_pci_setup()
124 /* 0-3: "MAC\0", 4-9:eth0, 10-15:eth1, 16:sum */ in rbtx4938_ethaddr_init()
127 return -ENODEV; in rbtx4938_ethaddr_init()
144 txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_SPI_SEL); in rbtx4938_spi_setup()
156 unsigned long long pcfg; in rbtx4938_mem_setup() local
174 txx9_clear64(&tx4938_ccfgptr->pcfg, in rbtx4938_mem_setup()
180 txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_NDF_SEL); in rbtx4938_mem_setup()
181 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_ATA_SEL); in rbtx4938_mem_setup()
186 txx9_set64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_ATA_SEL); in rbtx4938_mem_setup()
187 txx9_clear64(&tx4938_ccfgptr->pcfg, TX4938_PCFG_NDF_SEL); in rbtx4938_mem_setup()
191 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); in rbtx4938_mem_setup()
193 (pcfg & TX4938_PCFG_NDF_SEL) ? "enabled" : "disabled", in rbtx4938_mem_setup()
194 (pcfg & TX4938_PCFG_ATA_SEL) ? "enabled" : "disabled"); in rbtx4938_mem_setup()
198 pcfg = ____raw_readq(&tx4938_ccfgptr->pcfg); /* updated */ in rbtx4938_mem_setup()
200 if ((pcfg & (TX4938_PCFG_ATA_SEL | TX4938_PCFG_NDF_SEL)) == in rbtx4938_mem_setup()
204 else if ((pcfg & (TX4938_PCFG_ATA_SEL | TX4938_PCFG_NDF_SEL)) == in rbtx4938_mem_setup()
222 pr_info("RBTX4938 --- FPGA(Rev %02x) DIPSW:%02x,%02x\n", in rbtx4938_mem_setup()
232 .end = RBTX4938_RTL_8019_BASE + 0x20 - 1, in rbtx4938_ne_init()
239 platform_device_register_simple("ne", -1, res, ARRAY_SIZE(res)); in rbtx4938_ne_init()
270 .label = "RBTX4938-SPICS",
278 .modalias = "rtc-rs5c348", in rbtx4938_spi_init()
282 /* Mode 1 (High-Active, Shift-Then-Sample), High Avtive CS */ in rbtx4938_spi_init()
289 gpio_request(16 + SRTC_CS, "rtc-rs5c348"); in rbtx4938_spi_init()
356 platform_device_register_simple("txx9aclc-generic", -1, NULL, 0); in rbtx4938_device_init()
358 txx9_iocled_init(RBTX4938_LED_ADDR - IO_BASE, -1, 8, 1, "green", NULL); in rbtx4938_device_init()