Lines Matching refs:gatt
697 u8 gatt; in via_sdc_set_power() local
703 gatt = readb(host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sdc_set_power()
705 gatt &= ~VIA_CRDR_PCICLKGATT_3V3; in via_sdc_set_power()
707 gatt |= VIA_CRDR_PCICLKGATT_3V3; in via_sdc_set_power()
709 gatt |= VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sdc_set_power()
711 gatt &= ~VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sdc_set_power()
712 writeb(gatt, host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sdc_set_power()
806 u8 gatt; in via_reset_pcictrl() local
815 gatt = VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_reset_pcictrl()
817 gatt &= VIA_CRDR_PCICLKGATT_3V3; in via_reset_pcictrl()
819 gatt |= VIA_CRDR_PCICLKGATT_3V3; in via_reset_pcictrl()
820 writeb(gatt, host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_reset_pcictrl()
822 gatt |= VIA_CRDR_PCICLKGATT_SFTRST; in via_reset_pcictrl()
823 writeb(gatt, host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_reset_pcictrl()
1083 u8 gatt; in via_sd_probe() local
1129 gatt = VIA_CRDR_PCICLKGATT_3V3 | VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sd_probe()
1130 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_probe()
1132 gatt |= VIA_CRDR_PCICLKGATT_SFTRST; in via_sd_probe()
1133 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_probe()
1176 u8 gatt; in via_sd_remove() local
1209 gatt = readb(sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_remove()
1210 gatt &= ~VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sd_remove()
1211 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_remove()
1277 u8 gatt; in via_sd_resume() local
1281 gatt = VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sd_resume()
1283 gatt &= ~VIA_CRDR_PCICLKGATT_3V3; in via_sd_resume()
1285 gatt |= VIA_CRDR_PCICLKGATT_3V3; in via_sd_resume()
1286 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_resume()
1288 gatt |= VIA_CRDR_PCICLKGATT_SFTRST; in via_sd_resume()
1289 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_resume()