Searched refs:I2C_MAX_FAST_MODE_FREQ (Results 1 – 25 of 34) sorted by relevance
12
183 I2C_MAX_FAST_MODE_FREQ,279 case I2C_MAX_FAST_MODE_FREQ: in i2c_dw_acpi_configure()327 t->bus_freq_hz = I2C_MAX_FAST_MODE_FREQ; in i2c_dw_adjust_bus_speed()
402 if (freq > I2C_MAX_FAST_MODE_FREQ) { in hix5hd2_i2c_probe()403 priv->freq = I2C_MAX_FAST_MODE_FREQ; in hix5hd2_i2c_probe()405 I2C_MAX_FAST_MODE_FREQ); in hix5hd2_i2c_probe()
208 I2C_MAX_FAST_MODE_FREQ,228 case I2C_MAX_FAST_MODE_FREQ: in i2c_amd_get_bus_speed()
290 if (t->bus_freq_hz > I2C_MAX_FAST_MODE_FREQ) { in riic_init_hw()293 t->bus_freq_hz, I2C_MAX_FAST_MODE_FREQ); in riic_init_hw()
1002 } else if (bus_speed < I2C_MAX_FAST_MODE_FREQ) { in bcm_iproc_i2c_cfg_speed()1005 bus_speed = I2C_MAX_FAST_MODE_FREQ; in bcm_iproc_i2c_cfg_speed()1011 val |= (bus_speed == I2C_MAX_FAST_MODE_FREQ) << TIM_CFG_MODE_400_SHIFT; in bcm_iproc_i2c_cfg_speed()1164 val |= (iproc_i2c->bus_speed == I2C_MAX_FAST_MODE_FREQ) << TIM_CFG_MODE_400_SHIFT; in bcm_iproc_i2c_resume()
73 DIV_ROUND_UP((DIV_ROUND_UP((rate), I2C_MAX_FAST_MODE_FREQ) - 2) * 2, 3)600 if (bus_speed < I2C_MAX_FAST_MODE_FREQ) in synquacer_i2c_probe()
266 val = DIV_ROUND_UP(i2c_dev->parent_rate, I2C_MAX_FAST_MODE_FREQ * 3); in stm32f4_i2c_set_speed_mode()810 if (!ret && clk_rate >= I2C_MAX_FAST_MODE_FREQ) in stm32f4_i2c_probe()
346 if (freq == I2C_MAX_FAST_MODE_FREQ) in sprd_i2c_set_clk()524 i2c_dev->bus_freq != I2C_MAX_FAST_MODE_FREQ) in sprd_i2c_probe()
545 else if (speed <= I2C_MAX_FAST_MODE_FREQ) in rk3x_i2c_get_spec()582 if (WARN_ON(t->bus_freq_hz > I2C_MAX_FAST_MODE_FREQ)) in rk3x_i2c_v0_calc_timings()583 t->bus_freq_hz = I2C_MAX_FAST_MODE_FREQ; in rk3x_i2c_v0_calc_timings()
227 dev->timings.bus_freq_hz = I2C_MAX_FAST_MODE_FREQ; in i2c_dw_pci_probe()
225 .rate = I2C_MAX_FAST_MODE_FREQ,839 if (!ret && (clk_rate == I2C_MAX_FAST_MODE_FREQ)) in st_i2c_probe()
333 if (!bus_speed || bus_speed > I2C_MAX_FAST_MODE_FREQ) { in uniphier_i2c_probe()
408 else if (bus_clk_rate <= I2C_MAX_FAST_MODE_FREQ) in i2c_lpc2k_probe()
424 i2c_dev->bus_freq != I2C_MAX_FAST_MODE_FREQ) { in owl_i2c_probe()
302 frequency = I2C_MAX_FAST_MODE_FREQ; in diolan_init()
402 if (!err && (clk_rate == I2C_MAX_FAST_MODE_FREQ)) in wmt_i2c_probe()
426 if (idev->bus_clk_rate > I2C_MAX_FAST_MODE_FREQ) { in altr_i2c_probe()
538 if (!bus_speed || bus_speed > I2C_MAX_FAST_MODE_FREQ) { in uniphier_fi2c_probe()
479 } else if (freq == 0 || freq > I2C_MAX_FAST_MODE_FREQ) { in xlp9xx_i2c_get_frequency()
573 else if (speed <= I2C_MAX_FAST_MODE_FREQ) in mtk_i2c_get_spec()796 I2C_MAX_FAST_MODE_FREQ, in mtk_i2c_set_speed()
1820 else if (bus_freq_hz <= I2C_MAX_FAST_MODE_FREQ) { in npcm_i2c_init_clk()1873 if (bus_freq_hz >= I2C_MAX_FAST_MODE_FREQ) { in npcm_i2c_init_clk()1892 if (bus_freq_hz >= I2C_MAX_FAST_MODE_FREQ) { in npcm_i2c_init_clk()
149 if (bitrate < I2C_MAX_FAST_MODE_FREQ) in lpi2c_imx_set_mode()
728 case I2C_MAX_FAST_MODE_FREQ: in bcm_kona_i2c_assign_bus_speed()
483 } else if (pca_data->i2c_clock > I2C_MAX_FAST_MODE_FREQ) { in pca_init()
44 #define I2C_MAX_FAST_MODE_FREQ 400000 macro