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);
1083 u8 gatt;
1129 gatt = VIA_CRDR_PCICLKGATT_3V3 | VIA_CRDR_PCICLKGATT_PAD_PWRON;
1130 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1132 gatt |= VIA_CRDR_PCICLKGATT_SFTRST;
1133 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1176 u8 gatt;
1209 gatt = readb(sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1210 gatt &= ~VIA_CRDR_PCICLKGATT_PAD_PWRON;
1211 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1277 u8 gatt;
1281 gatt = VIA_CRDR_PCICLKGATT_PAD_PWRON;
1283 gatt &= ~VIA_CRDR_PCICLKGATT_3V3;
1285 gatt |= VIA_CRDR_PCICLKGATT_3V3;
1286 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);
1288 gatt |= VIA_CRDR_PCICLKGATT_SFTRST;
1289 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT);