Lines Matching refs:word

22 	unsigned long word;  in __area_sdram_check()  local
24 word = __raw_readl(SH7751_BCR1); in __area_sdram_check()
26 if (((word >> area) & 1) == 0) { in __area_sdram_check()
28 area, word); in __area_sdram_check()
31 pci_write_reg(chan, word, SH4_PCIBCR1); in __area_sdram_check()
33 word = __raw_readw(SH7751_BCR2); in __area_sdram_check()
35 if (((word >> (area << 1)) & 0x3) != 0x3) { in __area_sdram_check()
37 area, word); in __area_sdram_check()
40 pci_write_reg(chan, word, SH4_PCIBCR2); in __area_sdram_check()
79 u32 word, reg; in sh7751_pci_init() local
101 word = SH4_PCIPINT_D3 | SH4_PCIPINT_D0; in sh7751_pci_init()
102 pci_write_reg(chan, word, SH4_PCIPINT); in sh7751_pci_init()
108 word = SH7751_PCICONF1_WCC | SH7751_PCICONF1_PER | in sh7751_pci_init()
110 pci_write_reg(chan, word, SH7751_PCICONF1); in sh7751_pci_init()
113 word = PCI_BASE_CLASS_BRIDGE << 24; in sh7751_pci_init()
114 pci_write_reg(chan, word, SH7751_PCICONF2); in sh7751_pci_init()
119 word = sh7751_pci_map.window0.size - 1; in sh7751_pci_init()
120 pci_write_reg(chan, word, SH4_PCILSR0); in sh7751_pci_init()
122 word = P2SEGADDR(sh7751_pci_map.window0.base); in sh7751_pci_init()
123 pci_write_reg(chan, word, SH4_PCILAR0); in sh7751_pci_init()
124 pci_write_reg(chan, word, SH7751_PCICONF5); in sh7751_pci_init()
129 word = chan->resources[1].start & SH4_PCIMBR_MASK; in sh7751_pci_init()
130 pr_debug("PCI: Setting upper bits of Memory window to 0x%x\n", word); in sh7751_pci_init()
131 pci_write_reg(chan, word , SH4_PCIMBR); in sh7751_pci_init()
135 word = chan->resources[0].start & SH4_PCIIOBR_MASK; in sh7751_pci_init()
136 pr_debug("PCI: Setting upper bits of IO window to 0x%x\n", word); in sh7751_pci_init()
137 pci_write_reg(chan, word, SH4_PCIIOBR); in sh7751_pci_init()
143 case SH7751_CS0_BASE_ADDR: word = __area_sdram_check(chan, 0); break; in sh7751_pci_init()
144 case SH7751_CS1_BASE_ADDR: word = __area_sdram_check(chan, 1); break; in sh7751_pci_init()
145 case SH7751_CS2_BASE_ADDR: word = __area_sdram_check(chan, 2); break; in sh7751_pci_init()
146 case SH7751_CS3_BASE_ADDR: word = __area_sdram_check(chan, 3); break; in sh7751_pci_init()
147 case SH7751_CS4_BASE_ADDR: word = __area_sdram_check(chan, 4); break; in sh7751_pci_init()
148 case SH7751_CS5_BASE_ADDR: word = __area_sdram_check(chan, 5); break; in sh7751_pci_init()
149 case SH7751_CS6_BASE_ADDR: word = __area_sdram_check(chan, 6); break; in sh7751_pci_init()
152 if (!word) in sh7751_pci_init()
156 word = __raw_readl(SH7751_WCR1); in sh7751_pci_init()
157 pci_write_reg(chan, word, SH4_PCIWCR1); in sh7751_pci_init()
158 word = __raw_readl(SH7751_WCR2); in sh7751_pci_init()
159 pci_write_reg(chan, word, SH4_PCIWCR2); in sh7751_pci_init()
160 word = __raw_readl(SH7751_WCR3); in sh7751_pci_init()
161 pci_write_reg(chan, word, SH4_PCIWCR3); in sh7751_pci_init()
162 word = __raw_readl(SH7751_MCR); in sh7751_pci_init()
163 pci_write_reg(chan, word, SH4_PCIMCR); in sh7751_pci_init()
174 word = SH4_PCICR_PREFIX | SH4_PCICR_CFIN | SH4_PCICR_ARBM; in sh7751_pci_init()
175 pci_write_reg(chan, word, SH4_PCICR); in sh7751_pci_init()