Home
last modified time | relevance | path

Searched refs:clk_divider (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.6.21/drivers/clk/imx/
Dclk-divider-gate.c15 struct clk_divider divider;
21 struct clk_divider *div = to_clk_divider(hw); in to_clk_divider_gate()
29 struct clk_divider *div = to_clk_divider(hw); in clk_divider_gate_recalc_rate_ro()
45 struct clk_divider *div = to_clk_divider(hw); in clk_divider_gate_recalc_rate()
77 struct clk_divider *div = to_clk_divider(hw); in clk_divider_gate_set_rate()
106 struct clk_divider *div = to_clk_divider(hw); in clk_divider_enable()
129 struct clk_divider *div = to_clk_divider(hw); in clk_divider_disable()
146 struct clk_divider *div = to_clk_divider(hw); in clk_divider_is_enabled()
Dclk-fixup-div.c24 struct clk_divider divider;
31 struct clk_divider *divider = to_clk_divider(hw); in to_clk_fixup_div()
56 struct clk_divider *div = to_clk_divider(hw); in clk_fixup_div_set_rate()
Dclk-composite-8m.c31 struct clk_divider *divider = to_clk_divider(hw); in imx8m_clk_composite_divider_recalc_rate()
95 struct clk_divider *divider = to_clk_divider(hw); in imx8m_clk_composite_divider_set_rate()
127 struct clk_divider *divider = to_clk_divider(hw); in imx8m_divider_determine_rate()
215 struct clk_divider *div = NULL; in __imx8m_clk_hw_composite()
Dclk-busy.c28 struct clk_divider div;
36 struct clk_divider *div = to_clk_divider(hw); in to_clk_busy_divider()
Dclk-composite-93.c109 struct clk_divider *divider = to_clk_divider(hw); in imx93_clk_composite_divider_set_rate()
190 struct clk_divider *div = NULL; in imx93_clk_composite_flags()
/linux-6.6.21/drivers/clk/
Dclk-divider.c29 static inline u32 clk_div_readl(struct clk_divider *divider) in clk_div_readl()
37 static inline void clk_div_writel(struct clk_divider *divider, u32 val) in clk_div_writel()
152 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_recalc_rate()
431 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_round_rate()
452 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_determine_rate()
490 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_set_rate()
544 struct clk_divider *div; in __clk_hw_register_divider()
629 struct clk_divider *div; in clk_unregister_divider()
649 struct clk_divider *div; in clk_hw_unregister_divider()
Dclk-fsl-sai.c24 struct clk_divider div;
/linux-6.6.21/drivers/clk/rockchip/
Dclk-half-divider.c25 struct clk_divider *divider = to_clk_divider(hw); in clk_half_divider_recalc_rate()
98 struct clk_divider *divider = to_clk_divider(hw); in clk_half_divider_round_rate()
111 struct clk_divider *divider = to_clk_divider(hw); in clk_half_divider_set_rate()
172 struct clk_divider *div = NULL; in rockchip_clk_register_halfdiv()
/linux-6.6.21/drivers/clk/mxs/
Dclk-div.c22 struct clk_divider divider;
30 struct clk_divider *divider = to_clk_divider(hw); in to_clk_div()
/linux-6.6.21/drivers/misc/cardreader/
Drts5261.c636 u8 clk_divider, mcu_cnt, div; in rts5261_pci_switch_clock() local
647 clk_divider = SD_CLK_DIVIDE_256; in rts5261_pci_switch_clock()
650 clk_divider = SD_CLK_DIVIDE_128; in rts5261_pci_switch_clock()
654 clk_divider = SD_CLK_DIVIDE_0; in rts5261_pci_switch_clock()
657 SD_CLK_DIVIDE_MASK, clk_divider); in rts5261_pci_switch_clock()
Drts5228.c562 u8 clk_divider, mcu_cnt, div; in rts5228_pci_switch_clock() local
572 clk_divider = SD_CLK_DIVIDE_128; in rts5228_pci_switch_clock()
575 clk_divider = SD_CLK_DIVIDE_0; in rts5228_pci_switch_clock()
578 SD_CLK_DIVIDE_MASK, clk_divider); in rts5228_pci_switch_clock()
Drtsx_usb.c393 u8 n, clk_divider, mcu_cnt, div; in rtsx_usb_switch_clock() local
402 clk_divider = SD_CLK_DIVIDE_128; in rtsx_usb_switch_clock()
405 clk_divider = SD_CLK_DIVIDE_0; in rtsx_usb_switch_clock()
409 SD_CLK_DIVIDE_MASK, clk_divider); in rtsx_usb_switch_clock()
/linux-6.6.21/drivers/spi/
Dspi-meson-spicc.c159 struct clk_divider pow2_div;
585 struct clk_divider *divider = to_clk_divider(hw); in meson_spicc_pow2_recalc_rate()
597 struct clk_divider *divider = to_clk_divider(hw); in meson_spicc_pow2_determine_rate()
609 struct clk_divider *divider = to_clk_divider(hw); in meson_spicc_pow2_set_rate()
690 struct clk_divider *enh_div; in meson_spicc_enh_clk_init()
/linux-6.6.21/drivers/clk/mmp/
Dclk-audio.c66 struct clk_divider sysclk_div;
67 struct clk_divider sspa0_div;
68 struct clk_divider sspa1_div;
/linux-6.6.21/drivers/clk/sunxi/
Dclk-sun8i-mbus.c30 struct clk_divider *div; in sun8i_a23_mbus_setup()
Dclk-a10-ve.c88 struct clk_divider *div; in sun4i_ve_clk_setup()
Dclk-sun4i-display.c107 struct clk_divider *div = NULL; in sun4i_a10_display_init()
/linux-6.6.21/drivers/mmc/host/
Dmeson-mx-sdhc-clkc.c17 struct clk_divider div;
/linux-6.6.21/drivers/clk/renesas/
Drcar-cpg-lib.c127 struct clk_divider div;
/linux-6.6.21/drivers/clk/davinci/
Dpll.c244 struct clk_divider *divider; in davinci_pll_div_register()
579 struct clk_divider *divider; in davinci_pll_obsclk_register()
683 struct clk_divider *divider; in davinci_pll_sysclk_register()
/linux-6.6.21/drivers/clk/ralink/
Dclk-mtmips.c542 static const u32 clk_divider[] = { 2, 3, 4, 8 }; in mt7620_pll_recalc_rate() local
565 WARN_ON_ONCE(div >= ARRAY_SIZE(clk_divider)); in mt7620_pll_recalc_rate()
567 cpu_pll = mt7620_calc_rate(parent_rate, mul, clk_divider[div]); in mt7620_pll_recalc_rate()
/linux-6.6.21/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c207 struct clk_divider *div = NULL; in lpc18xx_ccu_register_branch_gate_div()
/linux-6.6.21/drivers/clk/mediatek/
Dclk-mtk.c223 struct clk_divider *div = NULL; in mtk_clk_register_composite()
309 struct clk_divider *div = NULL; in mtk_clk_unregister_composite()
/linux-6.6.21/drivers/clk/st/
Dclk-flexgen.c39 struct clk_divider pdiv;
43 struct clk_divider fdiv;
/linux-6.6.21/drivers/clk/microchip/
Dclk-mpfs-ccc.c118 struct clk_divider divider;

12