Searched refs:phyctl (Results 1 – 1 of 1) sorted by relevance
1187 uint32_t phyctl = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PHYCTL); in numaker_utcpd_phy_init() local1194 phyctl |= UTCPD_PHYCTL_PHYPWR_Msk; in numaker_utcpd_phy_init()1195 return NUMAKER_UTCPD_REG_WRITE_BY_NAME(dev, PHYCTL, phyctl); in numaker_utcpd_phy_init()1208 uint32_t phyctl = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PHYCTL); in numaker_utcpd_deadbattery_query_enable() local1213 return !(phyctl & UTCPD_PHYCTL_DBCTL_Msk); in numaker_utcpd_deadbattery_query_enable()1226 uint32_t phyctl = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PHYCTL); in numaker_utcpd_deadbattery_set_enable() local1230 phyctl &= ~UTCPD_PHYCTL_DBCTL_Msk; in numaker_utcpd_deadbattery_set_enable()1233 phyctl |= UTCPD_PHYCTL_DBCTL_Msk; in numaker_utcpd_deadbattery_set_enable()1235 return NUMAKER_UTCPD_REG_WRITE_BY_NAME(dev, PHYCTL, phyctl); in numaker_utcpd_deadbattery_set_enable()