Searched refs:vbscale (Results 1 – 1 of 1) sorted by relevance
214 } vbscale; member299 return (uint32_t)(((uint64_t)bit) * data->vref_mv * config->utcpd.vbvol.vbscale.value / in numaker_utcpd_vbus_volt_bit2mv()319 return mv * BIT_MASK(10) / data->vref_mv / config->utcpd.vbvol.vbscale.value; in numaker_utcpd_vbus_volt_mv2bit()1053 vbvol |= config->utcpd.vbvol.vbscale.bit; in numaker_utcpd_vbus_init()2406 .vbscale = NUMAKER_UTCPD_VBUS_DIVIDE_CAST(inst), \