Lines Matching refs:gatt
695 u8 gatt; in via_sdc_set_power() local
701 gatt = readb(host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sdc_set_power()
703 gatt &= ~VIA_CRDR_PCICLKGATT_3V3; in via_sdc_set_power()
705 gatt |= VIA_CRDR_PCICLKGATT_3V3; in via_sdc_set_power()
707 gatt |= VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sdc_set_power()
709 gatt &= ~VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sdc_set_power()
710 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()
1090 u8 gatt; in via_sd_probe() local
1136 gatt = VIA_CRDR_PCICLKGATT_3V3 | VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sd_probe()
1137 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_probe()
1139 gatt |= VIA_CRDR_PCICLKGATT_SFTRST; in via_sd_probe()
1140 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_probe()
1182 u8 gatt; in via_sd_remove() local
1217 gatt = readb(sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_remove()
1218 gatt &= ~VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sd_remove()
1219 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_remove()
1292 u8 gatt; in via_sd_resume() local
1296 gatt = VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sd_resume()
1298 gatt &= ~VIA_CRDR_PCICLKGATT_3V3; in via_sd_resume()
1300 gatt |= VIA_CRDR_PCICLKGATT_3V3; in via_sd_resume()
1301 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_resume()
1303 gatt |= VIA_CRDR_PCICLKGATT_SFTRST; in via_sd_resume()
1304 writeb(gatt, sdhost->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sd_resume()