Searched refs:i_thresh_5v (Results 1 – 1 of 1) sorted by relevance
243 static int nx20p3483_set_src_ovc_limit(const struct device *dev, uint8_t i_thresh_5v, in nx20p3483_set_src_ovc_limit() argument248 if (i_thresh_5v < NX20P3483_I_THRESHOLD_0_400 || in nx20p3483_set_src_ovc_limit()249 i_thresh_5v > NX20P3483_I_THRESHOLD_3_400) { in nx20p3483_set_src_ovc_limit()250 LOG_ERR("Invalid SRC 5V ovc threshold: %d", i_thresh_5v); in nx20p3483_set_src_ovc_limit()260 ret = write_reg(dev, NX20P3483_REG_5V_SRC_OCP_THRESHOLD, i_thresh_5v); in nx20p3483_set_src_ovc_limit()270 LOG_DBG("Set SRC OVC 5V: %d, HV: %d", i_thresh_5v, i_thresh_hv); in nx20p3483_set_src_ovc_limit()