Searched refs:pwrsts (Results 1 – 3 of 3) sorted by relevance
491 uint32_t pwrsts = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PWRSTS); in numaker_utcpd_vbus_is_present() local493 if (pwrsts & UTCPD_PWRSTS_VBPS_Msk) { in numaker_utcpd_vbus_is_present()510 uint32_t pwrsts = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PWRSTS); in numaker_utcpd_vbus_is_source() local512 if (pwrsts & (UTCPD_PWRSTS_SRHV_Msk | UTCPD_PWRSTS_SRVB_Msk)) { in numaker_utcpd_vbus_is_source()529 uint32_t pwrsts = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PWRSTS); in numaker_utcpd_vbus_is_sink() local531 if (pwrsts & UTCPD_PWRSTS_SKVB_Msk) { in numaker_utcpd_vbus_is_sink()2105 uint32_t pwrsts = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PWRSTS); in numaker_tcpc_get_snk_ctrl() local2107 return (pwrsts & UTCPD_PWRSTS_SKVB_Msk) ? true : false; in numaker_tcpc_get_snk_ctrl()2120 uint32_t pwrsts = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PWRSTS); in numaker_tcpc_get_src_ctrl() local2122 return (pwrsts & (UTCPD_PWRSTS_SRVB_Msk | UTCPD_PWRSTS_SRHV_Msk)) ? true : false; in numaker_tcpc_get_src_ctrl()[all …]
32 uint16_t pwrsts; member
236 while ((CAVS_SHIM.pwrsts & CAVS_PWRSTS_PDSPPGS(id))) { in soc_adsp_halt_cpu()