Searched refs:mv_norm (Results 1 – 1 of 1) sorted by relevance
163 #define NUMAKER_UTCPD_VBUS_THRESHOLD_WRITE(dev, reg_name, mv_norm) \ argument166 mv_bit = numaker_utcpd_vbus_volt_mv2bit(dev, mv_norm); \2255 uint32_t mv_norm; in numaker_tcpc_vbus_check_level() local2256 int rc = numaker_utcpd_vbus_measure(dev, &mv_norm); in numaker_tcpc_vbus_check_level()2262 return (rc == 0) ? (mv_norm < PD_V_SAFE_0V_MAX_MV) in numaker_tcpc_vbus_check_level()2265 return (rc == 0) ? (mv_norm >= PD_V_SAFE_5V_MIN_MV) in numaker_tcpc_vbus_check_level()2268 return (rc == 0) ? (mv_norm < TC_V_SINK_DISCONNECT_MAX_MV) in numaker_tcpc_vbus_check_level()