Home
last modified time | relevance | path

Searched full:bus_freq (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/sys/dev/iicbus/
H A Diicbus.c94 iicbus_attach_common(device_t dev, u_int bus_freq) in iicbus_attach_common() argument
104 iicbus_init_frequency(dev, bus_freq); in iicbus_attach_common()
311 iicbus_init_frequency(device_t dev, u_int bus_freq) in iicbus_init_frequency() argument
320 if (bus_freq > 0) in iicbus_init_frequency()
321 sc->bus_freq = bus_freq; in iicbus_init_frequency()
323 sc->bus_freq = 100000; in iicbus_init_frequency()
325 "frequency", (int *)&sc->bus_freq); in iicbus_init_frequency()
336 OID_AUTO, "frequency", CTLFLAG_RWTUN, &sc->bus_freq, in iicbus_init_frequency()
337 sc->bus_freq, "Bus frequency in Hz"); in iicbus_init_frequency()
350 if (sc->bus_freq == 0 || speed == IIC_SLOW) in iicbus_get_frequency()
[all …]
H A Diicbus.h49 u_int bus_freq; /* Configured bus Hz. */ member
85 void iicbus_init_frequency(device_t dev, u_int bus_freq);
87 int iicbus_attach_common(device_t dev, u_int bus_freq);
H A Dacpi_iicbus.c498 if (super_sc->bus_freq == 0 || super_sc->bus_freq > sb.ConnectionSpeed) in acpi_iicbus_enumerate_child()
499 super_sc->bus_freq = sb.ConnectionSpeed; in acpi_iicbus_enumerate_child()
591 error = iicbus_attach_common(dev, sc->super_sc.bus_freq); in acpi_iicbus_attach()
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dti,davinci-mdio.yaml36 bus_freq:
62 - bus_freq
79 bus_freq = <1000000>;
H A Dti,cpsw-switch.yaml227 bus_freq = <1000000>;
H A Dti,k3-am654-cpsw-nuss.yaml297 bus_freq = <1000000>;
/freebsd/sys/amd64/vmm/intel/
H A Dvmx_msr.c245 uint64_t bus_freq, ratio; in vmx_msr_init() local
273 bus_freq = 133330000; /* 133Mhz */ in vmx_msr_init()
275 bus_freq = 100000000; /* 100Mhz */ in vmx_msr_init()
282 ratio = (tsc_freq / bus_freq) & 0xff; in vmx_msr_init()
/freebsd/sys/arm/nvidia/
H A Dtegra_i2c.c227 uint32_t bus_freq; member
337 tegra_i2c_setup_clk(sc, sc->bus_freq); in tegra_i2c_hw_init()
676 rv = OF_getencprop(node, "clock-frequency", &sc->bus_freq, in tegra_i2c_attach()
677 sizeof(sc->bus_freq)); in tegra_i2c_attach()
678 if (rv != sizeof(sc->bus_freq)) { in tegra_i2c_attach()
679 sc->bus_freq = 100000; in tegra_i2c_attach()
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Dam57-pruss.dtsi112 bus_freq = <1000000>;
221 bus_freq = <1000000>;
H A Dam3517.dtsi108 bus_freq = <1000000>;
H A Ddm816x.dtsi365 bus_freq = <1000000>;
/freebsd/sys/powerpc/mpc85xx/
H A Dfsl_diu.c214 unsigned long bus_freq; in diu_set_pxclk() local
218 if ((bus_freq = mpc85xx_get_platform_clock()) <= 0) { in diu_set_pxclk()
226 pxclk_set = min(max((bus_freq + freq/2) / freq, 2), 255) << 16; in diu_set_pxclk()
/freebsd/sys/contrib/device-tree/Bindings/soc/ti/
H A Dti,pruss.yaml424 bus_freq = <1000000>;
515 bus_freq = <1000000>;
/freebsd/sys/contrib/device-tree/src/arm/ti/keystone/
H A Dkeystone-k2e.dtsi195 bus_freq = <2500000>;
H A Dkeystone-k2hk.dtsi292 bus_freq = <2500000>;
H A Dkeystone-k2l.dtsi398 bus_freq = <2500000>;
H A Dkeystone-k2g.dtsi640 bus_freq = <2500000>;
/freebsd/sys/contrib/device-tree/src/arm/ti/davinci/
H A Dda850-lcdk.dts263 bus_freq = <2200000>;
H A Dda850-evm.dts323 bus_freq = <2200000>;
/freebsd/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.c189 "bus_freq", CTLTYPE_UINT | CTLFLAG_RD | CTLFLAG_NEEDGIANT, sc, 0, in bhnd_pmu_attach()
/freebsd/sys/contrib/device-tree/src/arm64/ti/
H A Dk3-am64-main.dtsi712 bus_freq = <1000000>;
1337 bus_freq = <1000000>;
1478 bus_freq = <1000000>;
H A Dk3-am65-main.dtsi1262 bus_freq = <1000000>;
1416 bus_freq = <1000000>;
1570 bus_freq = <1000000>;
H A Dk3-am65-mcu.dtsi370 bus_freq = <1000000>;
H A Dk3-j7200-mcu-wakeup.dtsi437 bus_freq = <1000000>;
H A Dk3-j721s2-mcu-wakeup.dtsi561 bus_freq = <1000000>;

12