Home
last modified time | relevance | path

Searched refs:bus_freq (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v5.10/drivers/i2c/busses/
Di2c-mt7621.c63 u32 bus_freq; member
262 i2c->clk_div = clk_get_rate(i2c->clk) / i2c->bus_freq - 1; in mtk_i2c_init()
302 &i2c->bus_freq)) in mtk_i2c_probe()
303 i2c->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in mtk_i2c_probe()
305 if (i2c->bus_freq == 0) { in mtk_i2c_probe()
327 dev_info(&pdev->dev, "clock %u kHz\n", i2c->bus_freq / 1000); in mtk_i2c_probe()
Di2c-owl.c98 u32 bus_freq; member
158 val = DIV_ROUND_UP(i2c_dev->clk_rate, i2c_dev->bus_freq * 16); in owl_i2c_set_freq()
419 &i2c_dev->bus_freq)) in owl_i2c_probe()
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()
424 i2c_dev->bus_freq != I2C_MAX_FAST_MODE_FREQ) { in owl_i2c_probe()
425 dev_err(dev, "invalid clock-frequency %d\n", i2c_dev->bus_freq); in owl_i2c_probe()
Di2c-sprd.c84 u32 bus_freq; member
355 sprd_i2c_set_clk(i2c_dev, i2c_dev->bus_freq); in sprd_i2c_enable()
503 i2c_dev->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in sprd_i2c_probe()
514 i2c_dev->bus_freq = prop; in sprd_i2c_probe()
517 if (i2c_dev->bus_freq != I2C_MAX_STANDARD_MODE_FREQ && in sprd_i2c_probe()
518 i2c_dev->bus_freq != I2C_MAX_FAST_MODE_FREQ) in sprd_i2c_probe()
Di2c-davinci.c140 .bus_freq = 100,
215 clk = ((input_clock / (psc + 1)) / (pdata->bus_freq * 1000)); in i2c_davinci_calc_clk_dividers()
217 if (input_clock / (psc + 1) / clk > pdata->bus_freq * 1000) in i2c_davinci_calc_clk_dividers()
224 if (pdata->bus_freq > 100) in i2c_davinci_calc_clk_dividers()
278 pdata->bus_freq, pdata->bus_delay); in i2c_davinci_init()
803 dev->pdata->bus_freq = prop / 1000; in davinci_i2c_probe()
Di2c-mv64xxx.c797 u32 bus_freq, tclk; in mv64xxx_of_config() local
810 if (of_property_read_u32(np, "clock-frequency", &bus_freq)) in mv64xxx_of_config()
811 bus_freq = I2C_MAX_STANDARD_MODE_FREQ; /* 100kHz by default */ in mv64xxx_of_config()
817 if (!mv64xxx_find_baud_factors(drv_data, bus_freq, tclk)) { 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()
/Linux-v5.10/include/linux/platform_data/
Di2c-davinci.h17 unsigned int bus_freq; /* standard bus frequency (kHz) */ member
/Linux-v5.10/drivers/net/ethernet/ti/
Ddavinci_mdio.c77 .bus_freq = DEF_OUT_FREQ,
100 div = (mdio_in / data->pdata.bus_freq) - 1; in davinci_mdio_init_clk()
151 data->pdata.bus_freq); in davinci_mdio_reset()
322 data->bus_freq = prop; in davinci_mdio_probe_dt()
Dcpsw_ale.h28 unsigned long bus_freq; member
Dam65-cpsw-nuss.h109 unsigned long bus_freq; member
/Linux-v5.10/include/linux/
Ddavinci_emac.h18 unsigned long bus_freq; member
/Linux-v5.10/arch/powerpc/platforms/512x/
Dclock-commonclk.c421 static void mpc512x_clk_setup_ref_clock(struct device_node *np, int bus_freq, in mpc512x_clk_setup_ref_clock() argument
452 if (bus_freq && calc_freq != bus_freq) in mpc512x_clk_setup_ref_clock()
454 calc_freq, bus_freq); in mpc512x_clk_setup_ref_clock()
456 calc_freq = bus_freq; /* start with IPS */ in mpc512x_clk_setup_ref_clock()
/Linux-v5.10/arch/arm/mach-davinci/
Dboard-sffsdr.c100 .bus_freq = 20 /* kHz */,
Dboard-dm355-leopard.c110 .bus_freq = 400 /* kHz */,
Dboard-dm355-evm.c129 .bus_freq = 400 /* kHz */,
Dboard-mityomapl138.c201 .bus_freq = 100, /* kHz */
Dboard-da830-evm.c500 .bus_freq = 100, /* kHz */
Dboard-dm365-evm.c246 .bus_freq = 400 /* kHz */,
/Linux-v5.10/arch/arm/boot/dts/
Dkeystone-k2e.dtsi195 bus_freq = <2500000>;
Dam3517.dtsi86 bus_freq = <1000000>;
Dkeystone-k2hk.dtsi292 bus_freq = <2500000>;
Dda850-lcdk.dts263 bus_freq = <2200000>;
Dda850-evm.dts323 bus_freq = <2200000>;
/Linux-v5.10/arch/arm64/boot/dts/ti/
Dk3-j7200-mcu-wakeup.dtsi199 bus_freq = <1000000>;
Dk3-am65-mcu.dtsi248 bus_freq = <1000000>;
/Linux-v5.10/include/linux/soundwire/
Dsdw.h268 u32 *bus_freq; member

12