Searched refs:rolctl (Results 1 – 1 of 1) sorted by relevance
1633 uint32_t rolctl = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, ROLCTL); in numaker_tcpc_get_cc() local1634 uint32_t rolctl_cc1 = rolctl & UTCPD_ROLCTL_CC1_Msk; in numaker_tcpc_get_cc()1635 uint32_t rolctl_cc2 = rolctl & UTCPD_ROLCTL_CC2_Msk; in numaker_tcpc_get_cc()1746 uint32_t rolctl = 0; in numaker_tcpc_set_cc() local1762 rolctl |= UTCPD_ROLECTL_RPVALUE_DEF; in numaker_tcpc_set_cc()1766 rolctl |= UTCPD_ROLECTL_RPVALUE_1P5A; in numaker_tcpc_set_cc()1770 rolctl |= UTCPD_ROLECTL_RPVALUE_3A; in numaker_tcpc_set_cc()1781 rolctl |= (UTCPD_ROLECTL_CC1_RA | UTCPD_ROLECTL_CC2_RA); in numaker_tcpc_set_cc()1785 rolctl |= (UTCPD_ROLECTL_CC1_RP | UTCPD_ROLECTL_CC2_RP); in numaker_tcpc_set_cc()1789 rolctl |= (UTCPD_ROLECTL_CC1_RD | UTCPD_ROLECTL_CC2_RD); in numaker_tcpc_set_cc()[all …]