Lines Matching refs:gatt
697 u8 gatt;
703 gatt = readb(host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
705 gatt &= ~VIA_CRDR_PCICLKGATT_3V3;
707 gatt |= VIA_CRDR_PCICLKGATT_3V3;
709 gatt |= VIA_CRDR_PCICLKGATT_PAD_PWRON;
711 gatt &= ~VIA_CRDR_PCICLKGATT_PAD_PWRON;
712 writeb(gatt, host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
806 u8 gatt;
815 gatt = VIA_CRDR_PCICLKGATT_PAD_PWRON;
817 gatt &= VIA_CRDR_PCICLKGATT_3V3;
819 gatt |= VIA_CRDR_PCICLKGATT_3V3;
820 writeb(gatt, host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
822 gatt |= VIA_CRDR_PCICLKGATT_SFTRST;
823 writeb(gatt, host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1086 u8 gatt;
1132 gatt = VIA_CRDR_PCICLKGATT_3V3 | VIA_CRDR_PCICLKGATT_PAD_PWRON;
1133 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1135 gatt |= VIA_CRDR_PCICLKGATT_SFTRST;
1136 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1180 u8 gatt;
1213 gatt = readb(sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1214 gatt &= ~VIA_CRDR_PCICLKGATT_PAD_PWRON;
1215 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1283 u8 gatt;
1287 gatt = VIA_CRDR_PCICLKGATT_PAD_PWRON;
1289 gatt &= ~VIA_CRDR_PCICLKGATT_3V3;
1291 gatt |= VIA_CRDR_PCICLKGATT_3V3;
1292 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1294 gatt |= VIA_CRDR_PCICLKGATT_SFTRST;
1295 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);