Searched refs:I2C_MAX_STANDARD_MODE_FREQ (Results 1 – 25 of 51) 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()
209 I2C_MAX_STANDARD_MODE_FREQ,226 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()952 nmk->clk_freq = I2C_MAX_STANDARD_MODE_FREQ; in nmk_i2c_of_probe()955 if (nmk->clk_freq <= I2C_MAX_STANDARD_MODE_FREQ) in nmk_i2c_of_probe()
348 else if (freq == I2C_MAX_STANDARD_MODE_FREQ) in sprd_i2c_set_clk()509 i2c_dev->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in sprd_i2c_probe()523 if (i2c_dev->bus_freq != I2C_MAX_STANDARD_MODE_FREQ && in sprd_i2c_probe()
395 bus_clk_rate = I2C_MAX_STANDARD_MODE_FREQ; in i2c_lpc2k_probe()406 if (bus_clk_rate <= I2C_MAX_STANDARD_MODE_FREQ) in i2c_lpc2k_probe()
185 I2C_MAX_STANDARD_MODE_FREQ,271 case I2C_MAX_STANDARD_MODE_FREQ: in i2c_dw_acpi_configure()
135 static unsigned int scl_frequency = I2C_MAX_STANDARD_MODE_FREQ;500 if (dev->speed > I2C_MAX_STANDARD_MODE_FREQ) in stu300_set_clk()521 if (dev->speed > I2C_MAX_STANDARD_MODE_FREQ) { in stu300_set_clk()
420 i2c_dev->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in owl_i2c_probe()423 if (i2c_dev->bus_freq != I2C_MAX_STANDARD_MODE_FREQ && in owl_i2c_probe()
145 if (idev->bus_clk_rate <= I2C_MAX_STANDARD_MODE_FREQ) { in altr_i2c_init()423 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()
811 bus_freq = I2C_MAX_STANDARD_MODE_FREQ; /* 100kHz by default */ in mv64xxx_of_config()847 if (bus_freq <= I2C_MAX_STANDARD_MODE_FREQ) in mv64xxx_of_config()854 if (bus_freq <= I2C_MAX_STANDARD_MODE_FREQ) in mv64xxx_of_config()
186 i2c->twsi_freq = I2C_MAX_STANDARD_MODE_FREQ; in thunder_i2c_probe_pci()
993 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in bcm_iproc_i2c_cfg_speed()996 if (bus_speed < I2C_MAX_STANDARD_MODE_FREQ) { in bcm_iproc_i2c_cfg_speed()1003 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in bcm_iproc_i2c_cfg_speed()
738 if (speed > I2C_MAX_STANDARD_MODE_FREQ) { in mxs_i2c_derive_timing()776 speed = I2C_MAX_STANDARD_MODE_FREQ; in mxs_i2c_get_ofdata()
92 dev->timings.bus_freq_hz = I2C_MAX_STANDARD_MODE_FREQ; in mfld_setup()
189 u32 clk_freq = I2C_MAX_STANDARD_MODE_FREQ; in p2wi_probe()
280 (i2c->op_clock >= I2C_MAX_FAST_MODE_PLUS_FREQ) ? I2C_MAX_STANDARD_MODE_FREQ : in exynos5_i2c_set_timing()752 i2c->op_clock = I2C_MAX_STANDARD_MODE_FREQ; in exynos5_i2c_probe()
523 if (i2c->speed_hz <= I2C_MAX_STANDARD_MODE_FREQ) in mtk_i2c_init_hw()571 if (speed <= I2C_MAX_STANDARD_MODE_FREQ) in mtk_i2c_get_spec()1180 i2c->speed_hz = I2C_MAX_STANDARD_MODE_FREQ; in mtk_i2c_parse_dt()
303 i2c->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in mtk_i2c_probe()
301 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()
331 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in uniphier_i2c_probe()
271 if (pd->bus_speed == I2C_MAX_STANDARD_MODE_FREQ) { in sh_mobile_i2c_init()894 pd->bus_speed = (ret || !bus_speed) ? I2C_MAX_STANDARD_MODE_FREQ : bus_speed; in sh_mobile_i2c_probe()
381 frequency = I2C_MAX_STANDARD_MODE_FREQ; in efm32_i2c_probe()
644 case I2C_MAX_STANDARD_MODE_FREQ + 1 ... I2C_MAX_FAST_MODE_PLUS_FREQ: in tegra_i2c_init()656 case 0 ... I2C_MAX_STANDARD_MODE_FREQ: in tegra_i2c_init()1637 i2c_dev->bus_clk_rate = I2C_MAX_STANDARD_MODE_FREQ; in tegra_i2c_parse_dt()