| /linux/drivers/usb/host/ |
| H A D | ehci-sh.c | 13 struct clk *iclk, *fclk; member 114 priv->fclk = devm_clk_get(&pdev->dev, "usb_fck"); in ehci_hcd_sh_probe() 115 if (IS_ERR(priv->fclk)) in ehci_hcd_sh_probe() 116 priv->fclk = NULL; in ehci_hcd_sh_probe() 122 ret = clk_enable(priv->fclk); in ehci_hcd_sh_probe() 144 clk_disable(priv->fclk); in ehci_hcd_sh_probe() 162 clk_disable(priv->fclk); in ehci_hcd_sh_remove()
|
| H A D | ohci-at91.c | 54 struct clk *fclk; member 78 clk_set_rate(ohci_at91->fclk, 48000000); in at91_start_clock() 81 clk_prepare_enable(ohci_at91->fclk); in at91_start_clock() 90 clk_disable_unprepare(ohci_at91->fclk); in at91_stop_clock() 215 ohci_at91->fclk = devm_clk_get(dev, "uhpck"); in usb_hcd_at91_probe() 216 if (IS_ERR(ohci_at91->fclk)) { in usb_hcd_at91_probe() 218 retval = PTR_ERR(ohci_at91->fclk); in usb_hcd_at91_probe()
|
| /linux/Documentation/devicetree/bindings/display/ti/ |
| H A D | ti,omap3-dss.txt | 14 - clocks: handle to fclk 37 - clocks: handle to fclk 52 - clocks: handles to fclk and iclk 64 - clocks: handle to fclk 82 - clocks: handles to fclk and pll clock
|
| H A D | ti,omap4-dss.txt | 14 - clocks: handle to fclk 36 - clocks: handle to fclk 51 - clocks: handles to fclk and iclk 67 - clocks: handle to fclk 88 - clocks: handles to fclk and pll clock 111 - clocks: handles to fclk and pll clock
|
| H A D | ti,omap5-dss.txt | 14 - clocks: handle to fclk 36 - clocks: handle to fclk 51 - clocks: handles to fclk and iclk 69 - clocks: handles to fclk and pll clock 92 - clocks: handles to fclk and pll clock
|
| H A D | ti,dra7-dss.txt | 14 - clocks: handle to fclk 47 - clocks: handle to fclk 66 - clocks: handles to fclk and pll clock
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | s5h1420.c | 39 u32 fclk; member 368 tmp = state->fclk / tmp; in s5h1420_read_status() 475 do_div(val, (state->fclk / 1000)); in s5h1420_setsymbolrate() 502 val = -(int) ((freqoffset * (1<<24)) / (state->fclk / 1000000)); in s5h1420_setfreqoffset() 530 val = (((-val) * (state->fclk/1000000)) / (1<<24)); in s5h1420_getfreqoffset() 668 state->fclk = 80000000; in s5h1420_set_frontend() 670 state->fclk = 59000000; in s5h1420_set_frontend() 672 state->fclk = 86000000; in s5h1420_set_frontend() 674 state->fclk = 88000000; in s5h1420_set_frontend() 676 state->fclk = 44000000; in s5h1420_set_frontend() [all …]
|
| H A D | cx24110.c | 231 u32 tmp, fclk, BDRI; in cx24110_set_symbolrate() local 251 fclk=90999000UL/2; in cx24110_set_symbolrate() 255 fclk=60666000UL; in cx24110_set_symbolrate() 259 fclk=80888000UL; in cx24110_set_symbolrate() 263 fclk=90999000UL; in cx24110_set_symbolrate() 265 dprintk("cx24110 debug: fclk %d Hz\n",fclk); in cx24110_set_symbolrate() 275 BDRI=fclk>>2; in cx24110_set_symbolrate() 288 dprintk("fclk = %d\n", fclk); in cx24110_set_symbolrate()
|
| H A D | mb86a20s.h | 22 u32 fclk; member
|
| /linux/drivers/clk/nuvoton/ |
| H A D | clk-ma35d1-pll.c | 146 unsigned long tmp, fout, fclk, diff; in ma35d1_pll_find_closest() local 153 fclk = div_u64(parent_rate * n, m); in ma35d1_pll_find_closest() 156 fclk = div_u64(fclk, 100); in ma35d1_pll_find_closest() 158 if (fclk < PLL_FCLK_MIN_FREQ || in ma35d1_pll_find_closest() 159 fclk > PLL_FCLK_MAX_FREQ) in ma35d1_pll_find_closest() 162 fout = div_u64(fclk, p); in ma35d1_pll_find_closest()
|
| /linux/arch/sh/drivers/pci/ |
| H A D | pcie-sh7786.c | 26 struct clk *fclk, phy_clk; member 224 port->fclk = clk_get(NULL, fclk_name); in pcie_clk_init() 225 if (IS_ERR(port->fclk)) { in pcie_clk_init() 226 ret = PTR_ERR(port->fclk); in pcie_clk_init() 230 clk_enable(port->fclk); in pcie_clk_init() 250 clk_disable(port->fclk); in pcie_clk_init() 251 clk_put(port->fclk); in pcie_clk_init()
|
| /linux/drivers/clocksource/ |
| H A D | timer-ti-dm.c | 123 struct clk *fclk; member 418 if (unlikely(!timer) || IS_ERR(timer->fclk)) in omap_dm_timer_set_source() 447 if (clk_hw_get_num_parents(__clk_get_hw(timer->fclk)) < 2) in omap_dm_timer_set_source() 457 ret = clk_set_parent(timer->fclk, parent); in omap_dm_timer_set_source() 729 if (timer && !IS_ERR(timer->fclk)) in omap_dm_timer_get_fclk() 730 return timer->fclk; in omap_dm_timer_get_fclk() 1251 timer->fclk = devm_clk_get(dev, "fck"); in omap_dm_timer_probe() 1252 if (IS_ERR(timer->fclk)) in omap_dm_timer_probe() 1253 return PTR_ERR(timer->fclk); in omap_dm_timer_probe() 1256 ret = devm_clk_notifier_register(dev, timer->fclk, in omap_dm_timer_probe() [all …]
|
| /linux/drivers/pwm/ |
| H A D | pwm-omap-dmtimer.c | 154 struct clk *fclk; in pwm_omap_dmtimer_config() local 163 fclk = omap->pdata->get_fclk(omap->dm_timer); in pwm_omap_dmtimer_config() 164 if (!fclk) { in pwm_omap_dmtimer_config() 169 clk_rate = clk_get_rate(fclk); in pwm_omap_dmtimer_config()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-omap.c | 357 struct clk *fclk; in omap_i2c_init() local 376 fclk = clk_get(omap->dev, "fck"); in omap_i2c_init() 377 if (IS_ERR(fclk)) { in omap_i2c_init() 378 error = PTR_ERR(fclk); in omap_i2c_init() 384 fclk_rate = clk_get_rate(fclk); in omap_i2c_init() 385 clk_put(fclk); in omap_i2c_init() 415 fclk = clk_get(omap->dev, "fck"); in omap_i2c_init() 416 if (IS_ERR(fclk)) { in omap_i2c_init() 417 error = PTR_ERR(fclk); in omap_i2c_init() 422 fclk_rate = clk_get_rate(fclk) / 1000; in omap_i2c_init() [all …]
|
| /linux/sound/soc/ti/ |
| H A D | omap-dmic.c | 36 struct clk *fclk; member 330 mux = clk_get_parent(dmic->fclk); in omap_dmic_select_fclk() 476 dmic->fclk = devm_clk_get(dmic->dev, "fck"); in asoc_dmic_probe() 477 if (IS_ERR(dmic->fclk)) { in asoc_dmic_probe()
|
| /linux/drivers/iio/adc/ |
| H A D | ad7192.c | 209 u32 fclk; member 517 st->fclk = AD7192_INT_FREQ_MHZ; in ad7192_clock_setup() 529 st->fclk = clk_get_rate(st->mclk); in ad7192_clock_setup() 530 if (!ad7192_valid_external_frequency(st->fclk)) in ad7192_clock_setup() 543 st->fclk = AD7192_INT_FREQ_MHZ; in ad7192_clock_setup() 559 st->fclk = clk_get_rate(st->mclk); in ad7192_clock_setup() 560 if (!ad7192_valid_external_frequency(st->fclk)) in ad7192_clock_setup() 763 return DIV_ROUND_CLOSEST(st->fclk, in ad7192_compute_f_adc() 771 return DIV_ROUND_CLOSEST(st->fclk, in ad7192_get_f_adc() 985 div = st->fclk / (val * ad7192_get_f_order(st) * 1024); in __ad7192_write_raw()
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am62l-main.dtsi | 129 clock-names = "fclk"; 139 clock-names = "fclk"; 149 clock-names = "fclk"; 159 clock-names = "fclk"; 169 clock-names = "fclk"; 179 clock-names = "fclk"; 189 clock-names = "fclk";
|
| H A D | k3-am64-mcu.dtsi | 60 clock-names = "fclk"; 70 clock-names = "fclk";
|
| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | ti-omap-hsmmc.txt | 92 swakeup | | fclk 98 In suspend the fclk is off and the module is dysfunctional. Even register reads 99 will fail. A small logic in the host will request fclk restore, when an
|
| /linux/drivers/clk/zynq/ |
| H A D | clkc.c | 103 static void __init zynq_clk_register_fclk(enum zynq_clk fclk, in zynq_clk_register_fclk() argument 147 clks[fclk] = clk_register_gate(NULL, clk_name, in zynq_clk_register_fclk() 152 if (clk_prepare_enable(clks[fclk])) in zynq_clk_register_fclk() 154 fclk - fclk0); in zynq_clk_register_fclk() 171 clks[fclk] = ERR_PTR(-ENOMEM); in zynq_clk_register_fclk()
|
| /linux/arch/arm/mach-omap2/ |
| H A D | prm3xxx.c | 230 u32 wkst, fclk, iclk, clken; in omap3xxx_prm_clear_mod_irqs() local 243 fclk = omap2_cm_read_mod_reg(module, fclk_off); in omap3xxx_prm_clear_mod_irqs() 260 omap2_cm_write_mod_reg(fclk, module, fclk_off); in omap3xxx_prm_clear_mod_irqs()
|
| /linux/drivers/spi/ |
| H A D | spi-ti-qspi.c | 49 struct clk *fclk; member 176 clk_rate = clk_get_rate(qspi->fclk); in ti_qspi_setup_clk() 840 qspi->fclk = devm_clk_get(&pdev->dev, "fck"); in ti_qspi_probe() 841 if (IS_ERR(qspi->fclk)) { in ti_qspi_probe() 842 ret = PTR_ERR(qspi->fclk); in ti_qspi_probe()
|
| /linux/drivers/clk/samsung/ |
| H A D | clk-exynos4.c | 1042 struct samsung_fixed_rate_clock fclk; in exynos4_clk_register_finpll() local 1059 fclk.id = CLK_FIN_PLL; in exynos4_clk_register_finpll() 1060 fclk.name = "fin_pll"; in exynos4_clk_register_finpll() 1061 fclk.parent_name = NULL; in exynos4_clk_register_finpll() 1062 fclk.flags = 0; in exynos4_clk_register_finpll() 1063 fclk.fixed_rate = finpll_f; in exynos4_clk_register_finpll() 1064 samsung_clk_register_fixed_rate(ctx, &fclk, 1); in exynos4_clk_register_finpll()
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | at91_udc.c | 906 clk_enable(udc->fclk); in clk_on() 915 clk_disable(udc->fclk); in clk_off() 1849 udc->fclk = devm_clk_get(dev, "hclk"); in at91udc_probe() 1850 if (IS_ERR(udc->fclk)) in at91udc_probe() 1851 return PTR_ERR(udc->fclk); in at91udc_probe() 1854 clk_set_rate(udc->fclk, 48000000); in at91udc_probe() 1855 retval = clk_prepare(udc->fclk); in at91udc_probe() 1921 clk_unprepare(udc->fclk); in at91udc_probe() 1948 clk_unprepare(udc->fclk); in at91udc_remove()
|
| /linux/arch/arm/boot/dts/xilinx/ |
| H A D | zynq-parallella.dts | 35 fclk-enable = <0xf>;
|