Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_sam_twihs.c74 uint32_t ck_div = 0U; in i2c_clk_set() local
83 / (1 << ck_div); in i2c_clk_set()
88 ck_div++; in i2c_clk_set()
92 if (ck_div > CKDIV_MAX) { in i2c_clk_set()
99 | TWIHS_CWGR_CKDIV(ck_div); in i2c_clk_set()
Di2c_sam_twi.c75 uint32_t ck_div = 0U; in i2c_clk_set() local
84 / (1 << ck_div); in i2c_clk_set()
89 ck_div++; in i2c_clk_set()
93 if (ck_div > CKDIV_MAX) { in i2c_clk_set()
100 | TWI_CWGR_CKDIV(ck_div); in i2c_clk_set()
Di2c_sam_twihs_rtio.c71 uint32_t ck_div = 0U; in i2c_clk_set() local
80 / (1 << ck_div); in i2c_clk_set()
85 ck_div++; in i2c_clk_set()
89 if (ck_div > CKDIV_MAX) { in i2c_clk_set()
96 | TWIHS_CWGR_CKDIV(ck_div); in i2c_clk_set()