Home
last modified time | relevance | path

Searched refs:ipg_clk (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/drivers/misc/
Dmxc_ocotp.c250 u32 ipg_clk; in set_timing() local
254 ipg_clk = mxc_get_clock(MXC_IPG_CLK); in set_timing()
256 fsource = DIV_ROUND_UP((ipg_clk / 1000) * BV_TIMING_FSOURCE_NS, in set_timing()
258 prog = DIV_ROUND_CLOSEST(ipg_clk * BV_TIMING_PROG_US, 1000000) + 1; in set_timing()
274 u32 ipg_clk; in set_timing() local
278 ipg_clk = mxc_get_clock(MXC_IPG_CLK); in set_timing()
280 relax = DIV_ROUND_UP(ipg_clk * BV_TIMING_RELAX_NS, 1000000000) - 1; in set_timing()
281 strobe_read = DIV_ROUND_UP(ipg_clk * BV_TIMING_STROBE_READ_NS, in set_timing()
283 strobe_prog = DIV_ROUND_CLOSEST(ipg_clk * BV_TIMING_STROBE_PROG_US, in set_timing()
/external/u-boot/drivers/net/
Dfec_mxc.c1336 ret = clk_get_by_name(dev, "ipg", &priv->ipg_clk); in fecmxc_probe()
1341 ret = clk_enable(&priv->ipg_clk); in fecmxc_probe()
1347 priv->clk_rate = clk_get_rate(&priv->ipg_clk); in fecmxc_probe()
1349 ret = clk_get_by_name(dev, "ipg", &priv->ipg_clk); in fecmxc_probe()
1354 ret = clk_enable(&priv->ipg_clk); in fecmxc_probe()
1388 priv->clk_rate = clk_get_rate(&priv->ipg_clk); in fecmxc_probe()
Dfec_mxc.h266 struct clk ipg_clk; member
/external/u-boot/drivers/i2c/
Dimx_lpi2c.c475 ret = clk_get_by_name(bus, "ipg", &i2c_bus->ipg_clk); in imx_lpi2c_probe()
480 ret = clk_enable(&i2c_bus->ipg_clk); in imx_lpi2c_probe()
/external/u-boot/include/
Dimx_lpi2c.h21 struct clk ipg_clk; member