Searched refs:sclfrq (Results 1 – 1 of 1) sorted by relevance
1817 u32 sclfrq = 0; in npcm_i2c_init_clk() local1829 sclfrq = src_clk_khz / (bus_freq_khz * 4); in npcm_i2c_init_clk()1831 if (sclfrq < SCLFRQ_MIN || sclfrq > SCLFRQ_MAX) in npcm_i2c_init_clk()1844 sclfrq = 0; in npcm_i2c_init_clk()1868 sclfrq = 0; in npcm_i2c_init_clk()1905 iowrite8(FIELD_PREP(I2CCTL2_SCLFRQ6_0, sclfrq & 0x7F), in npcm_i2c_init_clk()1909 iowrite8(fast_mode | FIELD_PREP(I2CCTL3_SCLFRQ8_7, (sclfrq >> 7) & 0x3), in npcm_i2c_init_clk()