/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-mt7621.c | 63 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()
|
D | i2c-owl.c | 98 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()
|
D | i2c-sprd.c | 84 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()
|
D | i2c-davinci.c | 140 .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()
|
D | i2c-mv64xxx.c | 797 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/ |
D | i2c-davinci.h | 17 unsigned int bus_freq; /* standard bus frequency (kHz) */ member
|
/Linux-v5.10/drivers/net/ethernet/ti/ |
D | davinci_mdio.c | 77 .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()
|
D | cpsw_ale.h | 28 unsigned long bus_freq; member
|
D | am65-cpsw-nuss.h | 109 unsigned long bus_freq; member
|
/Linux-v5.10/include/linux/ |
D | davinci_emac.h | 18 unsigned long bus_freq; member
|
/Linux-v5.10/arch/powerpc/platforms/512x/ |
D | clock-commonclk.c | 421 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/ |
D | board-sffsdr.c | 100 .bus_freq = 20 /* kHz */,
|
D | board-dm355-leopard.c | 110 .bus_freq = 400 /* kHz */,
|
D | board-dm355-evm.c | 129 .bus_freq = 400 /* kHz */,
|
D | board-mityomapl138.c | 201 .bus_freq = 100, /* kHz */
|
D | board-da830-evm.c | 500 .bus_freq = 100, /* kHz */
|
D | board-dm365-evm.c | 246 .bus_freq = 400 /* kHz */,
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | keystone-k2e.dtsi | 195 bus_freq = <2500000>;
|
D | am3517.dtsi | 86 bus_freq = <1000000>;
|
D | keystone-k2hk.dtsi | 292 bus_freq = <2500000>;
|
D | da850-lcdk.dts | 263 bus_freq = <2200000>;
|
D | da850-evm.dts | 323 bus_freq = <2200000>;
|
/Linux-v5.10/arch/arm64/boot/dts/ti/ |
D | k3-j7200-mcu-wakeup.dtsi | 199 bus_freq = <1000000>;
|
D | k3-am65-mcu.dtsi | 248 bus_freq = <1000000>;
|
/Linux-v5.10/include/linux/soundwire/ |
D | sdw.h | 268 u32 *bus_freq; member
|