Lines Matching refs:apmc
1223 u32 apmc; in jme_pseudo_hotplug_enabled() local
1224 apmc = jread32(jme, JME_APMC); in jme_pseudo_hotplug_enabled()
1225 return apmc & JME_APMC_PSEUDO_HP_EN; in jme_pseudo_hotplug_enabled()
1231 u32 apmc; in jme_start_shutdown_timer() local
1233 apmc = jread32(jme, JME_APMC) | JME_APMC_PCIE_SD_EN; in jme_start_shutdown_timer()
1234 apmc &= ~JME_APMC_EPIEN_CTRL; in jme_start_shutdown_timer()
1236 jwrite32f(jme, JME_APMC, apmc | JME_APMC_EPIEN_CTRL_EN); in jme_start_shutdown_timer()
1239 jwrite32f(jme, JME_APMC, apmc); in jme_start_shutdown_timer()
1250 u32 apmc; in jme_stop_shutdown_timer() local
1256 apmc = jread32(jme, JME_APMC); in jme_stop_shutdown_timer()
1257 apmc &= ~(JME_APMC_PCIE_SD_EN | JME_APMC_EPIEN_CTRL); in jme_stop_shutdown_timer()
1258 jwrite32f(jme, JME_APMC, apmc | JME_APMC_EPIEN_CTRL_DIS); in jme_stop_shutdown_timer()
1260 jwrite32f(jme, JME_APMC, apmc); in jme_stop_shutdown_timer()
2912 u32 apmc; in jme_init_one() local
3005 apmc = jread32(jme, JME_APMC) & ~JME_APMC_PSEUDO_HP_EN; in jme_init_one()
3006 jwrite32(jme, JME_APMC, apmc); in jme_init_one()
3008 apmc = jread32(jme, JME_APMC) | JME_APMC_PSEUDO_HP_EN; in jme_init_one()
3009 jwrite32(jme, JME_APMC, apmc); in jme_init_one()