Home
last modified time | relevance | path

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

123

/Linux-v6.6/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-pasemi-platform.c67 frequency = I2C_MAX_STANDARD_MODE_FREQ; in pasemi_platform_i2c_probe()
Di2c-amd-mp2-plat.c208 I2C_MAX_STANDARD_MODE_FREQ,
225 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()
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()
Di2c-designware-pcidrv.c109 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()
Di2c-lpc2k.c388 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()
Di2c-sprd.c347 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()
Di2c-owl.c456 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()
Di2c-designware-common.c188 I2C_MAX_STANDARD_MODE_FREQ,
274 case I2C_MAX_STANDARD_MODE_FREQ: in i2c_dw_acpi_configure()
Di2c-altera.c145 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()
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-hisi.c420 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()
Di2c-thunderx-pcidrv.c186 i2c->twsi_freq = I2C_MAX_STANDARD_MODE_FREQ; in thunder_i2c_probe_pci()
Di2c-mv64xxx.c878 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()
Di2c-mxs.c745 if (speed > I2C_MAX_STANDARD_MODE_FREQ) { in mxs_i2c_derive_timing()
783 speed = I2C_MAX_STANDARD_MODE_FREQ; in mxs_i2c_get_ofdata()
Di2c-bcm-iproc.c1001 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()
Di2c-sun6i-p2wi.c189 u32 clk_freq = I2C_MAX_STANDARD_MODE_FREQ; in p2wi_probe()
Di2c-uniphier.c331 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in uniphier_i2c_probe()
Di2c-mt7621.c296 i2c->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in mtk_i2c_probe()
Di2c-digicolor.c300 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-exynos5.c288 (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()
Di2c-sh_mobile.c271 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()
Di2c-mt65xx.c595 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()
/Linux-v6.6/drivers/mfd/
Dintel_quark_i2c_gpio.c44 PROPERTY_ENTRY_U32("clock-frequency", I2C_MAX_STANDARD_MODE_FREQ),

123