Searched refs:sclfrq (Results 1 – 1 of 1) sorted by relevance
1810 u32 sclfrq = 0; in npcm_i2c_init_clk() local1822 sclfrq = src_clk_khz / (bus_freq_khz * 4); in npcm_i2c_init_clk()1824 if (sclfrq < SCLFRQ_MIN || sclfrq > SCLFRQ_MAX) in npcm_i2c_init_clk()1837 sclfrq = 0; in npcm_i2c_init_clk()1861 sclfrq = 0; in npcm_i2c_init_clk()1898 iowrite8(FIELD_PREP(I2CCTL2_SCLFRQ6_0, sclfrq & 0x7F), in npcm_i2c_init_clk()1902 iowrite8(fast_mode | FIELD_PREP(I2CCTL3_SCLFRQ8_7, (sclfrq >> 7) & 0x3), in npcm_i2c_init_clk()