Searched refs:I2C_MAX_FAST_MODE_FREQ (Results 1 – 25 of 39) sorted by relevance
12
187 I2C_MAX_FAST_MODE_FREQ,283 case I2C_MAX_FAST_MODE_FREQ: in i2c_dw_acpi_configure()331 t->bus_freq_hz = I2C_MAX_FAST_MODE_FREQ; in i2c_dw_adjust_bus_speed()
406 if (freq > I2C_MAX_FAST_MODE_FREQ) { in hix5hd2_i2c_probe()407 priv->freq = I2C_MAX_FAST_MODE_FREQ; in hix5hd2_i2c_probe()409 I2C_MAX_FAST_MODE_FREQ); in hix5hd2_i2c_probe()
207 I2C_MAX_FAST_MODE_FREQ,227 case I2C_MAX_FAST_MODE_FREQ: in i2c_amd_get_bus_speed()
291 if (t->bus_freq_hz > I2C_MAX_FAST_MODE_FREQ) { in riic_init_hw()294 t->bus_freq_hz, I2C_MAX_FAST_MODE_FREQ); in riic_init_hw()
1010 } else if (bus_speed < I2C_MAX_FAST_MODE_FREQ) { in bcm_iproc_i2c_cfg_speed()1013 bus_speed = I2C_MAX_FAST_MODE_FREQ; in bcm_iproc_i2c_cfg_speed()1019 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)594 if (bus_speed < I2C_MAX_FAST_MODE_FREQ) in synquacer_i2c_probe()
345 if (freq == I2C_MAX_FAST_MODE_FREQ) in sprd_i2c_set_clk()523 i2c_dev->bus_freq != I2C_MAX_FAST_MODE_FREQ) in sprd_i2c_probe()
266 val = DIV_ROUND_UP(i2c_dev->parent_rate, I2C_MAX_FAST_MODE_FREQ * 3); in stm32f4_i2c_set_speed_mode()809 if (!ret && clk_rate >= I2C_MAX_FAST_MODE_FREQ) in stm32f4_i2c_probe()
547 else if (speed <= I2C_MAX_FAST_MODE_FREQ) in rk3x_i2c_get_spec()583 if (WARN_ON(t->bus_freq_hz > I2C_MAX_FAST_MODE_FREQ)) in rk3x_i2c_v0_calc_timings()584 t->bus_freq_hz = I2C_MAX_FAST_MODE_FREQ; in rk3x_i2c_v0_calc_timings()
225 .rate = I2C_MAX_FAST_MODE_FREQ,833 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()
400 else if (bus_clk_rate <= I2C_MAX_FAST_MODE_FREQ) in i2c_lpc2k_probe()
694 case I2C_MAX_FAST_MODE_FREQ: in pci1xxxx_i2c_set_freq()727 i2c->freq = I2C_MAX_FAST_MODE_FREQ; in pci1xxxx_i2c_init()
460 i2c_dev->bus_freq != I2C_MAX_FAST_MODE_FREQ) { in owl_i2c_probe()
119 case I2C_MAX_FAST_MODE_FREQ: in rzv2m_i2c_clock_calculate()
400 if (!err && (clk_rate == I2C_MAX_FAST_MODE_FREQ)) in wmt_i2c_probe()
302 frequency = I2C_MAX_FAST_MODE_FREQ; in diolan_init()
425 if (idev->bus_clk_rate > I2C_MAX_FAST_MODE_FREQ) { in altr_i2c_probe()
479 } else if (freq == 0 || freq > I2C_MAX_FAST_MODE_FREQ) { in xlp9xx_i2c_get_frequency()
412 case I2C_MAX_FAST_MODE_FREQ: in hisi_i2c_configure_bus()
538 if (!bus_speed || bus_speed > I2C_MAX_FAST_MODE_FREQ) { in uniphier_fi2c_probe()
1838 else if (bus_freq_hz <= I2C_MAX_FAST_MODE_FREQ) { in npcm_i2c_init_clk()1891 if (bus_freq_hz >= I2C_MAX_FAST_MODE_FREQ) { in npcm_i2c_init_clk()1910 if (bus_freq_hz >= I2C_MAX_FAST_MODE_FREQ) { in npcm_i2c_init_clk()
54 PROPERTY_ENTRY_U32("clock-frequency", I2C_MAX_FAST_MODE_FREQ),
483 } else if (pca_data->i2c_clock > I2C_MAX_FAST_MODE_FREQ) { in pca_init()
86 case I2C_MAX_FAST_MODE_FREQ: in i2c_freq_mode_string()1914 t->bus_freq_hz <= I2C_MAX_FAST_MODE_FREQ ? 300 : 120; in i2c_parse_fw_timings()1917 d = t->bus_freq_hz <= I2C_MAX_FAST_MODE_FREQ ? 300 : 120; in i2c_parse_fw_timings()