Home
last modified time | relevance | path

Searched refs:I2C_MAX_STANDARD_MODE_FREQ (Results 1 – 25 of 51) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-diolan-u2c.c88 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()
Di2c-amd-mp2-plat.c209 I2C_MAX_STANDARD_MODE_FREQ,
226 case I2C_MAX_STANDARD_MODE_FREQ: in i2c_amd_get_bus_speed()
Di2c-nomadik.c399 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()
Di2c-sprd.c348 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()
Di2c-lpc2k.c395 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()
Di2c-designware-common.c185 I2C_MAX_STANDARD_MODE_FREQ,
271 case I2C_MAX_STANDARD_MODE_FREQ: in i2c_dw_acpi_configure()
Di2c-stu300.c135 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()
Di2c-owl.c420 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()
Di2c-altera.c145 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()
Di2c-xlp9xx.c477 freq = I2C_MAX_STANDARD_MODE_FREQ; in xlp9xx_i2c_get_frequency()
482 freq = I2C_MAX_STANDARD_MODE_FREQ; in xlp9xx_i2c_get_frequency()
Di2c-mv64xxx.c811 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()
Di2c-thunderx-pcidrv.c186 i2c->twsi_freq = I2C_MAX_STANDARD_MODE_FREQ; in thunder_i2c_probe_pci()
Di2c-bcm-iproc.c993 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()
Di2c-mxs.c738 if (speed > I2C_MAX_STANDARD_MODE_FREQ) { in mxs_i2c_derive_timing()
776 speed = I2C_MAX_STANDARD_MODE_FREQ; in mxs_i2c_get_ofdata()
Di2c-designware-pcidrv.c92 dev->timings.bus_freq_hz = I2C_MAX_STANDARD_MODE_FREQ; in mfld_setup()
Di2c-sun6i-p2wi.c189 u32 clk_freq = I2C_MAX_STANDARD_MODE_FREQ; in p2wi_probe()
Di2c-exynos5.c280 (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()
Di2c-mt65xx.c523 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()
Di2c-mt7621.c303 i2c->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in mtk_i2c_probe()
Di2c-digicolor.c301 i2c->frequency = I2C_MAX_STANDARD_MODE_FREQ; in dc_i2c_probe()
Di2c-axxia.c202 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()
Di2c-uniphier.c331 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in uniphier_i2c_probe()
Di2c-sh_mobile.c271 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()
Di2c-efm32.c381 frequency = I2C_MAX_STANDARD_MODE_FREQ; in efm32_i2c_probe()
Di2c-tegra.c644 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()

123