Home
last modified time | relevance | path

Searched refs:I2C_MAX_FAST_MODE_FREQ (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-designware-common.c183 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()
Di2c-hix5hd2.c402 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()
Di2c-amd-mp2-plat.c208 I2C_MAX_FAST_MODE_FREQ,
228 case I2C_MAX_FAST_MODE_FREQ: in i2c_amd_get_bus_speed()
Di2c-riic.c290 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()
Di2c-bcm-iproc.c1002 } 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()
Di2c-synquacer.c73 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()
Di2c-stm32f4.c266 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()
Di2c-sprd.c346 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()
Di2c-rk3x.c545 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()
Di2c-designware-pcidrv.c227 dev->timings.bus_freq_hz = I2C_MAX_FAST_MODE_FREQ; in i2c_dw_pci_probe()
Di2c-st.c225 .rate = I2C_MAX_FAST_MODE_FREQ,
839 if (!ret && (clk_rate == I2C_MAX_FAST_MODE_FREQ)) in st_i2c_probe()
Di2c-uniphier.c333 if (!bus_speed || bus_speed > I2C_MAX_FAST_MODE_FREQ) { in uniphier_i2c_probe()
Di2c-lpc2k.c408 else if (bus_clk_rate <= I2C_MAX_FAST_MODE_FREQ) in i2c_lpc2k_probe()
Di2c-owl.c424 i2c_dev->bus_freq != I2C_MAX_FAST_MODE_FREQ) { in owl_i2c_probe()
Di2c-diolan-u2c.c302 frequency = I2C_MAX_FAST_MODE_FREQ; in diolan_init()
Di2c-wmt.c402 if (!err && (clk_rate == I2C_MAX_FAST_MODE_FREQ)) in wmt_i2c_probe()
Di2c-altera.c426 if (idev->bus_clk_rate > I2C_MAX_FAST_MODE_FREQ) { in altr_i2c_probe()
Di2c-uniphier-f.c538 if (!bus_speed || bus_speed > I2C_MAX_FAST_MODE_FREQ) { in uniphier_fi2c_probe()
Di2c-xlp9xx.c479 } else if (freq == 0 || freq > I2C_MAX_FAST_MODE_FREQ) { in xlp9xx_i2c_get_frequency()
Di2c-mt65xx.c573 else if (speed <= I2C_MAX_FAST_MODE_FREQ) in mtk_i2c_get_spec()
796 I2C_MAX_FAST_MODE_FREQ, in mtk_i2c_set_speed()
Di2c-npcm7xx.c1820 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()
Di2c-imx-lpi2c.c149 if (bitrate < I2C_MAX_FAST_MODE_FREQ) in lpi2c_imx_set_mode()
Di2c-bcm-kona.c728 case I2C_MAX_FAST_MODE_FREQ: in bcm_kona_i2c_assign_bus_speed()
/kernel/linux/linux-5.10/drivers/i2c/algos/
Di2c-algo-pca.c483 } else if (pca_data->i2c_clock > I2C_MAX_FAST_MODE_FREQ) { in pca_init()
/kernel/linux/linux-5.10/include/linux/
Di2c.h44 #define I2C_MAX_FAST_MODE_FREQ 400000 macro

12