Searched refs:bit_rate_divider (Results 1 – 1 of 1) sorted by relevance
75 uint8_t bit_rate_divider; in peci_npcx_configure() local83 bit_rate_divider = DIV_ROUND_UP(data->peci_src_clk_freq, bitrate * 1000 * 4) - 1; in peci_npcx_configure()88 bit_rate_divider = CLAMP(bit_rate_divider, PECI_MAX_BIT_RATE_VALID_MIN, in peci_npcx_configure()91 if (bit_rate_divider < PECI_HIGH_SPEED_MIN_VAL) { in peci_npcx_configure()96 SET_FIELD(reg->PECI_RATE, NPCX_PECI_RATE_MAX_BIT_RATE, bit_rate_divider); in peci_npcx_configure()