Lines Matching refs:reg32
22 u32 reg32; in common_sata_init() local
26 reg32 = SIG_MODE_PRI_NORMAL | FAST_PCB1 | FAST_PCB0 | PCB1 | PCB0; in common_sata_init()
27 dm_pci_write_config32(dev, IDE_CONFIG, reg32); in common_sata_init()
46 u32 reg32; in bd82x6x_sata_init() local
79 reg32 = readl(abar + 0x00); in bd82x6x_sata_init()
80 reg32 |= 0x0c006000; /* set PSC+SSC+SALP+SSS */ in bd82x6x_sata_init()
81 reg32 &= ~0x00020060; /* clear SXS+EMS+PMS */ in bd82x6x_sata_init()
84 reg32 &= ~0x00f00000; in bd82x6x_sata_init()
85 reg32 |= (speed_support & 0x03) << 20; in bd82x6x_sata_init()
87 writel(reg32, abar + 0x00); in bd82x6x_sata_init()
93 reg32 = readl(abar + 0x24); in bd82x6x_sata_init()
94 reg32 &= ~0x00000002; in bd82x6x_sata_init()
95 writel(reg32, abar + 0x24); in bd82x6x_sata_init()
97 reg32 = readl(abar + 0xa0); in bd82x6x_sata_init()
98 reg32 &= ~0x00000005; in bd82x6x_sata_init()
99 writel(reg32, abar + 0xa0); in bd82x6x_sata_init()
168 reg32 = pch_common_sir_read(dev, 0x54); in bd82x6x_sata_init()
169 reg32 &= 0xff000000; in bd82x6x_sata_init()
170 reg32 |= 0x5555aa; in bd82x6x_sata_init()
171 pch_common_sir_write(dev, 0x54, reg32); in bd82x6x_sata_init()
173 reg32 = pch_common_sir_read(dev, 0x68); in bd82x6x_sata_init()
174 reg32 &= 0xffff0000; in bd82x6x_sata_init()
175 reg32 |= 0xcccc; in bd82x6x_sata_init()
176 pch_common_sir_write(dev, 0x68, reg32); in bd82x6x_sata_init()
177 reg32 = pch_common_sir_read(dev, 0x78); in bd82x6x_sata_init()
178 reg32 &= 0x0000ffff; in bd82x6x_sata_init()
179 reg32 |= 0x88880000; in bd82x6x_sata_init()
180 pch_common_sir_write(dev, 0x78, reg32); in bd82x6x_sata_init()