Home
last modified time | relevance | path

Searched refs:i_thresh_hv (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/usb_c/ppc/
Dnxp_nx20p3483.c244 uint8_t i_thresh_hv) in nx20p3483_set_src_ovc_limit() argument
254 if (i_thresh_hv < NX20P3483_I_THRESHOLD_0_400 || in nx20p3483_set_src_ovc_limit()
255 i_thresh_hv > NX20P3483_I_THRESHOLD_3_400) { in nx20p3483_set_src_ovc_limit()
256 LOG_ERR("Invalid SRC HV ovc threshold: %d", i_thresh_hv); in nx20p3483_set_src_ovc_limit()
265 ret = write_reg(dev, NX20P3483_REG_HV_SRC_OCP_THRESHOLD, i_thresh_hv); 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()