Searched refs:I2C_MAX_STANDARD_MODE_FREQ (Results 1 – 25 of 55) sorted by relevance
123
88 static uint frequency = I2C_MAX_STANDARD_MODE_FREQ; /* I2C clock frequency in Hz */300 if (frequency >= 2 * I2C_MAX_STANDARD_MODE_FREQ) { in diolan_init()303 } else if (frequency >= I2C_MAX_STANDARD_MODE_FREQ || frequency == 0) { in diolan_init()305 frequency = I2C_MAX_STANDARD_MODE_FREQ; in diolan_init()
67 frequency = I2C_MAX_STANDARD_MODE_FREQ; in pasemi_platform_i2c_probe()
208 I2C_MAX_STANDARD_MODE_FREQ,225 case I2C_MAX_STANDARD_MODE_FREQ: in i2c_amd_get_bus_speed()
399 div = (dev->clk_freq > I2C_MAX_STANDARD_MODE_FREQ) ? 3 : 2; in setup_i2c_controller()423 brcr2 = i2c_clk / (I2C_MAX_STANDARD_MODE_FREQ * 2) & 0xffff; in setup_i2c_controller()946 nmk->clk_freq = I2C_MAX_STANDARD_MODE_FREQ; in nmk_i2c_of_probe()949 if (nmk->clk_freq <= I2C_MAX_STANDARD_MODE_FREQ) in nmk_i2c_of_probe()
109 dev->timings.bus_freq_hz = I2C_MAX_STANDARD_MODE_FREQ; in mfld_setup()158 dev->timings.bus_freq_hz = I2C_MAX_STANDARD_MODE_FREQ; in navi_amd_setup()
388 bus_clk_rate = I2C_MAX_STANDARD_MODE_FREQ; in i2c_lpc2k_probe()398 if (bus_clk_rate <= I2C_MAX_STANDARD_MODE_FREQ) in i2c_lpc2k_probe()
347 else if (freq == I2C_MAX_STANDARD_MODE_FREQ) in sprd_i2c_set_clk()508 i2c_dev->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in sprd_i2c_probe()522 if (i2c_dev->bus_freq != I2C_MAX_STANDARD_MODE_FREQ && in sprd_i2c_probe()
456 i2c_dev->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in owl_i2c_probe()459 if (i2c_dev->bus_freq != I2C_MAX_STANDARD_MODE_FREQ && in owl_i2c_probe()
188 I2C_MAX_STANDARD_MODE_FREQ,274 case I2C_MAX_STANDARD_MODE_FREQ: in i2c_dw_acpi_configure()
145 if (idev->bus_clk_rate <= I2C_MAX_STANDARD_MODE_FREQ) { in altr_i2c_init()422 idev->bus_clk_rate = I2C_MAX_STANDARD_MODE_FREQ; /* default clock rate */ in altr_i2c_probe()
477 freq = I2C_MAX_STANDARD_MODE_FREQ; in xlp9xx_i2c_get_frequency()482 freq = I2C_MAX_STANDARD_MODE_FREQ; in xlp9xx_i2c_get_frequency()
420 case I2C_MAX_STANDARD_MODE_FREQ: in hisi_i2c_configure_bus()425 ctlr->t.bus_freq_hz = I2C_MAX_STANDARD_MODE_FREQ; in hisi_i2c_configure_bus()
186 i2c->twsi_freq = I2C_MAX_STANDARD_MODE_FREQ; in thunder_i2c_probe_pci()
878 bus_freq = I2C_MAX_STANDARD_MODE_FREQ; /* 100kHz by default */ in mv64xxx_of_config()913 if (bus_freq <= I2C_MAX_STANDARD_MODE_FREQ) in mv64xxx_of_config()920 if (bus_freq <= I2C_MAX_STANDARD_MODE_FREQ) in mv64xxx_of_config()
745 if (speed > I2C_MAX_STANDARD_MODE_FREQ) { in mxs_i2c_derive_timing()783 speed = I2C_MAX_STANDARD_MODE_FREQ; in mxs_i2c_get_ofdata()
1001 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in bcm_iproc_i2c_cfg_speed()1004 if (bus_speed < I2C_MAX_STANDARD_MODE_FREQ) { in bcm_iproc_i2c_cfg_speed()1011 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in bcm_iproc_i2c_cfg_speed()
189 u32 clk_freq = I2C_MAX_STANDARD_MODE_FREQ; in p2wi_probe()
331 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in uniphier_i2c_probe()
296 i2c->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in mtk_i2c_probe()
300 i2c->frequency = I2C_MAX_STANDARD_MODE_FREQ; in dc_i2c_probe()
202 if (idev->bus_clk_rate <= I2C_MAX_STANDARD_MODE_FREQ) { in axxia_i2c_init()764 idev->bus_clk_rate = I2C_MAX_STANDARD_MODE_FREQ; /* default clock rate */ in axxia_i2c_probe()
288 (i2c->op_clock >= I2C_MAX_FAST_MODE_PLUS_FREQ) ? I2C_MAX_STANDARD_MODE_FREQ : in exynos5_i2c_set_timing()801 i2c->op_clock = I2C_MAX_STANDARD_MODE_FREQ; in exynos5_i2c_probe()
271 if (pd->bus_speed == I2C_MAX_STANDARD_MODE_FREQ) { in sh_mobile_i2c_init()900 pd->bus_speed = (ret || !bus_speed) ? I2C_MAX_STANDARD_MODE_FREQ : bus_speed; in sh_mobile_i2c_probe()
595 if (i2c->speed_hz <= I2C_MAX_STANDARD_MODE_FREQ) in mtk_i2c_init_hw()643 if (speed <= I2C_MAX_STANDARD_MODE_FREQ) in mtk_i2c_get_spec()1358 i2c->speed_hz = I2C_MAX_STANDARD_MODE_FREQ; in mtk_i2c_parse_dt()
44 PROPERTY_ENTRY_U32("clock-frequency", I2C_MAX_STANDARD_MODE_FREQ),