Lines Matching refs:apmc
1221 u32 apmc; in jme_pseudo_hotplug_enabled() local
1222 apmc = jread32(jme, JME_APMC); in jme_pseudo_hotplug_enabled()
1223 return apmc & JME_APMC_PSEUDO_HP_EN; in jme_pseudo_hotplug_enabled()
1229 u32 apmc; in jme_start_shutdown_timer() local
1231 apmc = jread32(jme, JME_APMC) | JME_APMC_PCIE_SD_EN; in jme_start_shutdown_timer()
1232 apmc &= ~JME_APMC_EPIEN_CTRL; in jme_start_shutdown_timer()
1234 jwrite32f(jme, JME_APMC, apmc | JME_APMC_EPIEN_CTRL_EN); in jme_start_shutdown_timer()
1237 jwrite32f(jme, JME_APMC, apmc); in jme_start_shutdown_timer()
1248 u32 apmc; in jme_stop_shutdown_timer() local
1254 apmc = jread32(jme, JME_APMC); in jme_stop_shutdown_timer()
1255 apmc &= ~(JME_APMC_PCIE_SD_EN | JME_APMC_EPIEN_CTRL); in jme_stop_shutdown_timer()
1256 jwrite32f(jme, JME_APMC, apmc | JME_APMC_EPIEN_CTRL_DIS); in jme_stop_shutdown_timer()
1258 jwrite32f(jme, JME_APMC, apmc); in jme_stop_shutdown_timer()
2910 u32 apmc; in jme_init_one() local
3003 apmc = jread32(jme, JME_APMC) & ~JME_APMC_PSEUDO_HP_EN; in jme_init_one()
3004 jwrite32(jme, JME_APMC, apmc); in jme_init_one()
3006 apmc = jread32(jme, JME_APMC) | JME_APMC_PSEUDO_HP_EN; in jme_init_one()
3007 jwrite32(jme, JME_APMC, apmc); in jme_init_one()