Searched refs:mshead (Results 1 – 1 of 1) sorted by relevance
1912 uint32_t mshead = NUMAKER_UTCPD_REG_READ_BY_NAME(dev, MSHEAD); in numaker_tcpc_set_roles() local1915 mshead &= ~UTCPD_MSHEAD_PWRROL_Msk; in numaker_tcpc_set_roles()1917 mshead |= UTCPD_MHINFO_PROLE_SRC; in numaker_tcpc_set_roles()1919 mshead |= UTCPD_MHINFO_PROLE_SNK; in numaker_tcpc_set_roles()1923 mshead &= ~UTCPD_MSHEAD_DAROL_Msk; in numaker_tcpc_set_roles()1925 mshead |= UTCPD_MHINFO_DROLE_DFP; in numaker_tcpc_set_roles()1927 mshead |= UTCPD_MHINFO_DROLE_UFP; in numaker_tcpc_set_roles()1931 return NUMAKER_UTCPD_REG_WRITE_BY_NAME(dev, MSHEAD, mshead); in numaker_tcpc_set_roles()