Lines Matching +full:0 +full:x00000033

26 module_param(enable_pmp, bool, 0);
30 #define AHCI_BISTAFR 0x00a0
31 #define AHCI_BISTCR 0x00a4
32 #define AHCI_BISTFCTR 0x00a8
33 #define AHCI_BISTSR 0x00ac
34 #define AHCI_BISTDECR 0x00b0
35 #define AHCI_DIAGNR0 0x00b4
36 #define AHCI_DIAGNR1 0x00b8
37 #define AHCI_OOBR 0x00bc
38 #define AHCI_PHYCS0R 0x00c0
39 #define AHCI_PHYCS1R 0x00c4
40 #define AHCI_PHYCS2R 0x00c8
41 #define AHCI_TIMER1MS 0x00e0
42 #define AHCI_GPARAM1R 0x00e8
43 #define AHCI_GPARAM2R 0x00ec
44 #define AHCI_PPARAMR 0x00f0
45 #define AHCI_TESTR 0x00f4
46 #define AHCI_VERSIONR 0x00f8
47 #define AHCI_IDR 0x00fc
48 #define AHCI_RWCR 0x00fc
49 #define AHCI_P0DMACR 0x0170
50 #define AHCI_P0PHYCR 0x0178
51 #define AHCI_P0PHYSR 0x017c
92 writel(0, reg_base + AHCI_RWCR); in ahci_sunxi_phy_init()
97 (0x7 << 24), in ahci_sunxi_phy_init()
98 (0x5 << 24) | BIT(23) | BIT(18)); in ahci_sunxi_phy_init()
100 (0x3 << 16) | (0x1f << 8) | (0x3 << 6), in ahci_sunxi_phy_init()
101 (0x2 << 16) | (0x6 << 8) | (0x2 << 6)); in ahci_sunxi_phy_init()
105 (0x7 << 20), (0x3 << 20)); in ahci_sunxi_phy_init()
107 (0x1f << 5), (0x19 << 5)); in ahci_sunxi_phy_init()
110 sunxi_setbits(reg_base + AHCI_PHYCS0R, (0x1 << 19)); in ahci_sunxi_phy_init()
114 reg_val = sunxi_getbits(reg_base + AHCI_PHYCS0R, 0x7, 28); in ahci_sunxi_phy_init()
115 if (reg_val == 0x02) in ahci_sunxi_phy_init()
118 if (--timeout == 0) { in ahci_sunxi_phy_init()
125 sunxi_setbits(reg_base + AHCI_PHYCS2R, (0x1 << 24)); in ahci_sunxi_phy_init()
129 reg_val = sunxi_getbits(reg_base + AHCI_PHYCS2R, 0x1, 24); in ahci_sunxi_phy_init()
130 if (reg_val == 0x00) in ahci_sunxi_phy_init()
133 if (--timeout == 0) { in ahci_sunxi_phy_init()
142 writel(0x7, reg_base + AHCI_RWCR); in ahci_sunxi_phy_init()
144 return 0; in ahci_sunxi_phy_init()
193 * sunxi_clrsetbits(hpriv->mmio + AHCI_P0DMACR, 0x0000ffff, in ahci_sunxi_start_engine()
194 * 0x00000033); in ahci_sunxi_start_engine()
196 sunxi_clrsetbits(hpriv->mmio + AHCI_P0DMACR, 0x0000ffff, 0x00004433); in ahci_sunxi_start_engine()
249 return 0; in ahci_sunxi_probe()
275 return 0; in ahci_sunxi_resume()