Lines Matching full:pwrctl
345 NUMAKER_UTCPD_REG_DUMP(dev, PWRCTL); in numaker_utcpd_dump_regs()
550 uint32_t pwrctl = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PWRCTL); in numaker_utcpd_vbus_set_discharge() local
559 pwrctl |= UTCPD_PWRCTL_FDGEN_Msk; in numaker_utcpd_vbus_set_discharge()
561 pwrctl &= ~UTCPD_PWRCTL_FDGEN_Msk; in numaker_utcpd_vbus_set_discharge()
563 rc = NUMAKER_UTCPD_REG_WRITE_BY_NAME(dev, PWRCTL, pwrctl); in numaker_utcpd_vbus_set_discharge()
1049 uint32_t pwrctl = 0; in numaker_utcpd_vbus_init() local
1104 pwrctl &= ~UTCPD_PWRCTL_VBMONI_DIS; in numaker_utcpd_vbus_init()
1106 pwrctl |= UTCPD_PWRCTL_VBMONI_DIS; in numaker_utcpd_vbus_init()
1109 pwrctl |= UTCPD_PWRCTL_DSVBAM_DIS; in numaker_utcpd_vbus_init()
1114 pwrctl &= ~UTCPD_PWRCTL_ADGDC; in numaker_utcpd_vbus_init()
1115 return NUMAKER_UTCPD_REG_WRITE_BY_NAME(dev, PWRCTL, pwrctl); in numaker_utcpd_vbus_init()
1331 value = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PWRCTL); in numaker_utcpd_init_recycle()
1333 rc = NUMAKER_UTCPD_REG_WRITE_BY_NAME(dev, PWRCTL, value); in numaker_utcpd_init_recycle()
1882 uint32_t pwrctl = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, PWRCTL); in numaker_tcpc_set_vconn() local
1894 pwrctl |= UTCPD_PWRCTL_VCEN_Msk; in numaker_tcpc_set_vconn()
1896 pwrctl &= ~UTCPD_PWRCTL_VCEN_Msk; in numaker_tcpc_set_vconn()
1898 return NUMAKER_UTCPD_REG_WRITE_BY_NAME(dev, PWRCTL, pwrctl); in numaker_tcpc_set_vconn()