/linux-6.12.1/arch/powerpc/sysdev/ |
D | mpc5xxx_clocks.c | 19 u32 bus_freq; in mpc5xxx_fwnode_get_bus_frequency() local 22 ret = fwnode_property_read_u32(fwnode, "bus-frequency", &bus_freq); in mpc5xxx_fwnode_get_bus_frequency() 24 return bus_freq; in mpc5xxx_fwnode_get_bus_frequency() 27 ret = fwnode_property_read_u32(parent, "bus-frequency", &bus_freq); in mpc5xxx_fwnode_get_bus_frequency() 30 return bus_freq; in mpc5xxx_fwnode_get_bus_frequency()
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-mt7621.c | 64 u32 bus_freq; member 263 i2c->clk_div = clk_get_rate(i2c->clk) / i2c->bus_freq - 1; in mtk_i2c_init() 295 &i2c->bus_freq)) in mtk_i2c_probe() 296 i2c->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in mtk_i2c_probe() 298 if (i2c->bus_freq == 0) { in mtk_i2c_probe() 320 dev_info(&pdev->dev, "clock %u kHz\n", i2c->bus_freq / 1000); in mtk_i2c_probe()
|
D | i2c-owl.c | 102 u32 bus_freq; member 162 val = DIV_ROUND_UP(i2c_dev->clk_rate, i2c_dev->bus_freq * 16); in owl_i2c_set_freq() 455 &i2c_dev->bus_freq)) in owl_i2c_probe() 456 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() 460 i2c_dev->bus_freq != I2C_MAX_FAST_MODE_FREQ) { in owl_i2c_probe() 461 dev_err(dev, "invalid clock-frequency %d\n", i2c_dev->bus_freq); in owl_i2c_probe()
|
D | i2c-sprd.c | 85 u32 bus_freq; member 360 sprd_i2c_set_clk(i2c_dev, i2c_dev->bus_freq); in sprd_i2c_enable() 508 i2c_dev->bus_freq = I2C_MAX_STANDARD_MODE_FREQ; in sprd_i2c_probe() 519 i2c_dev->bus_freq = prop; in sprd_i2c_probe() 522 if (i2c_dev->bus_freq != I2C_MAX_STANDARD_MODE_FREQ && in sprd_i2c_probe() 523 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() 791 dev->pdata->bus_freq = prop / 1000; in davinci_i2c_probe()
|
D | i2c-mv64xxx.c | 863 u32 bus_freq, tclk; in mv64xxx_of_config() local 876 if (of_property_read_u32(np, "clock-frequency", &bus_freq)) in mv64xxx_of_config() 877 bus_freq = I2C_MAX_STANDARD_MODE_FREQ; /* 100kHz by default */ in mv64xxx_of_config() 883 if (!mv64xxx_find_baud_factors(drv_data, bus_freq, tclk)) { in mv64xxx_of_config() 912 if (bus_freq <= I2C_MAX_STANDARD_MODE_FREQ) in mv64xxx_of_config() 919 if (bus_freq <= I2C_MAX_STANDARD_MODE_FREQ) in mv64xxx_of_config()
|
/linux-6.12.1/drivers/net/mdio/ |
D | mdio-mscc-miim.c | 60 u32 bus_freq; member 255 if (!miim->bus_freq) in mscc_miim_clk_set() 260 div = DIV_ROUND_UP(rate, 2 * miim->bus_freq) - 1; in mscc_miim_clk_set() 316 of_property_read_u32(np, "clock-frequency", &miim->bus_freq); in mscc_miim_probe() 318 if (miim->bus_freq && !miim->clk) { in mscc_miim_probe()
|
/linux-6.12.1/include/linux/platform_data/ |
D | i2c-davinci.h | 17 unsigned int bus_freq; /* standard bus frequency (kHz) */ member
|
/linux-6.12.1/include/linux/ |
D | davinci_emac.h | 18 unsigned long bus_freq; member
|
/linux-6.12.1/arch/powerpc/platforms/512x/ |
D | clock-commonclk.c | 421 static void __init 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-6.12.1/drivers/net/ethernet/ti/ |
D | davinci_mdio.c | 90 .bus_freq = DEF_OUT_FREQ, 115 div = (mdio_in / data->pdata.bus_freq) - 1; in davinci_mdio_init_clk() 316 data->pdata.bus_freq); in davinci_mdio_common_reset() 500 data->bus_freq = prop; in davinci_mdio_probe_dt()
|
D | am65-cpsw-qos.c | 33 am65_cpsw_qos_tx_rate_calc(u32 rate_mbps, unsigned long bus_freq) in am65_cpsw_qos_tx_rate_calc() argument 37 bus_freq /= 1000000; in am65_cpsw_qos_tx_rate_calc() 38 ir = DIV_ROUND_UP(((u64)rate_mbps * 32768), bus_freq); in am65_cpsw_qos_tx_rate_calc() 85 common->bus_freq); in am65_cpsw_tx_pn_shaper_apply() 95 common->bus_freq); in am65_cpsw_tx_pn_shaper_apply() 1187 ch_cir = am65_cpsw_qos_tx_rate_calc(rate_mbps, common->bus_freq); in am65_cpsw_qos_tx_p0_rate_apply() 1275 common->bus_freq); in am65_cpsw_qos_tx_p0_rate_init()
|
D | cpsw_ale.h | 29 unsigned long bus_freq; member
|
D | am65-cpsw-nuss.h | 170 unsigned long bus_freq; member
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | am57-pruss.dtsi | 112 bus_freq = <1000000>; 221 bus_freq = <1000000>;
|
D | am3517.dtsi | 108 bus_freq = <1000000>;
|
/linux-6.12.1/arch/arm64/boot/dts/ti/ |
D | k3-j784s4-evm-quad-port-eth-exp1.dtso | 77 bus_freq = <1000000>;
|
D | k3-j721e-evm-gesi-exp-board.dtso | 73 bus_freq = <1000000>;
|
/linux-6.12.1/arch/arm/boot/dts/ti/keystone/ |
D | keystone-k2e.dtsi | 195 bus_freq = <2500000>;
|
D | keystone-k2hk.dtsi | 292 bus_freq = <2500000>;
|
D | keystone-k2l.dtsi | 398 bus_freq = <2500000>;
|
/linux-6.12.1/arch/arm/boot/dts/ti/davinci/ |
D | da850-lcdk.dts | 263 bus_freq = <2200000>;
|
D | da850-evm.dts | 323 bus_freq = <2200000>;
|
/linux-6.12.1/drivers/net/can/ |
D | kvaser_pciefd.c | 428 u32 bus_freq; member 698 top = can->kv_pcie->bus_freq / (2 * 500000) - 1; in kvaser_pciefd_pwm_start() 1172 pcie->bus_freq = ioread32(KVASER_PCIEFD_SYSID_ADDR(pcie) + KVASER_PCIEFD_SYSID_BUSFREQ_REG); in kvaser_pciefd_setup_board()
|
/linux-6.12.1/include/linux/soundwire/ |
D | sdw.h | 280 u32 *bus_freq; member
|