Searched refs:clk_divider (Results 1 - 17 of 17) sorted by relevance

/linux-4.1.27/arch/arm/mach-imx/
H A Dclk-fixup-div.c18 #define to_clk_div(_hw) container_of(_hw, struct clk_divider, hw)
27 * The imx fixup divider clock is a subclass of basic clk_divider
31 struct clk_divider divider;
38 struct clk_divider *divider = to_clk_div(hw); to_clk_fixup_div()
63 struct clk_divider *div = to_clk_div(hw); clk_fixup_div_set_rate()
H A Dclk-busy.c33 struct clk_divider div;
41 struct clk_divider *div = container_of(hw, struct clk_divider, hw); to_clk_busy_divider()
/linux-4.1.27/drivers/clk/mxs/
H A Dclk-div.c25 * The mxs divider clock is a subclass of basic clk_divider with an
29 struct clk_divider divider;
37 struct clk_divider *divider = container_of(hw, struct clk_divider, hw); to_clk_div()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dclock36xx.c28 #define to_clk_divider(_hw) container_of(_hw, struct clk_divider, hw)
43 struct clk_divider *parent; omap36xx_pwrdn_clk_enable_with_hsdiv_restore()
/linux-4.1.27/drivers/clk/ti/
H A Ddivider.c29 #define to_clk_divider(_hw) container_of(_hw, struct clk_divider, hw)
44 static unsigned int _get_maxdiv(struct clk_divider *divider) _get_maxdiv()
66 static unsigned int _get_div(struct clk_divider *divider, unsigned int val) _get_div()
88 static unsigned int _get_val(struct clk_divider *divider, u8 div) _get_val()
102 struct clk_divider *divider = to_clk_divider(hw); ti_clk_divider_recalc_rate()
136 static bool _is_valid_div(struct clk_divider *divider, unsigned int div) _is_valid_div()
148 struct clk_divider *divider = to_clk_divider(hw); ti_clk_divider_bestdiv()
215 struct clk_divider *divider; ti_clk_divider_set_rate()
262 struct clk_divider *div; _register_divider()
286 /* struct clk_divider assignments */ _register_divider()
364 struct clk_divider *div; ti_clk_build_component_div()
603 struct clk_divider *div; of_ti_composite_divider_clk_setup()
H A Dgate.c27 #define to_clk_divider(_hw) container_of(_hw, struct clk_divider, hw)
67 struct clk_divider *parent; omap36xx_gate_clk_enable_with_hsdiv_restore()
H A Dcomposite.c31 #define to_clk_divider(_hw) container_of(_hw, struct clk_divider, hw)
/linux-4.1.27/drivers/clk/
H A Dclk-divider.c31 #define to_clk_divider(_hw) container_of(_hw, struct clk_divider, hw)
137 struct clk_divider *divider = to_clk_divider(hw); clk_divider_recalc_rate()
347 struct clk_divider *divider = to_clk_divider(hw); clk_divider_round_rate()
382 struct clk_divider *divider = to_clk_divider(hw); clk_divider_set_rate()
421 struct clk_divider *div; _register_divider()
433 div = kzalloc(sizeof(struct clk_divider), GFP_KERNEL); _register_divider()
445 /* struct clk_divider assignments */ _register_divider()
512 struct clk_divider *div; clk_unregister_divider()
/linux-4.1.27/drivers/clk/st/
H A Dclk-flexgen.c25 struct clk_divider pdiv;
29 struct clk_divider fdiv;
H A Dclkgen-mux.c61 struct clk_divider div[NUM_INPUTS];
739 struct clk_divider *div; st_of_clkgen_vcc_setup()
756 div = kzalloc(sizeof(struct clk_divider), GFP_KERNEL); st_of_clkgen_vcc_setup()
820 kfree(container_of(composite->rate_hw, struct clk_divider, hw)); st_of_clkgen_vcc_setup()
H A Dclkgen-pll.c556 struct clk_divider *div; clkgen_odf_register()
/linux-4.1.27/drivers/mfd/
H A Drtsx_usb.c404 u8 n, clk_divider, mcu_cnt, div; rtsx_usb_switch_clock() local
413 clk_divider = SD_CLK_DIVIDE_128; rtsx_usb_switch_clock()
416 clk_divider = SD_CLK_DIVIDE_0; rtsx_usb_switch_clock()
420 SD_CLK_DIVIDE_MASK, clk_divider); rtsx_usb_switch_clock()
H A Drtsx_pcr.c646 u8 n, clk_divider, mcu_cnt, div; rtsx_pci_switch_clock() local
657 clk_divider = SD_CLK_DIVIDE_128; rtsx_pci_switch_clock()
660 clk_divider = SD_CLK_DIVIDE_0; rtsx_pci_switch_clock()
663 SD_CLK_DIVIDE_MASK, clk_divider); rtsx_pci_switch_clock()
/linux-4.1.27/drivers/clk/rockchip/
H A Dclk.c52 struct clk_divider *div = NULL; rockchip_clk_register_branch()
/linux-4.1.27/drivers/clk/shmobile/
H A Dclk-rcar-gen2.c213 struct clk_divider *div; cpg_adsp_clk_register()
/linux-4.1.27/include/linux/
H A Dclk-provider.h313 * struct clk_divider - adjustable divider clock
346 struct clk_divider { struct
/linux-4.1.27/drivers/clk/sunxi/
H A Dclk-sunxi.c1131 struct clk_divider *divider; sunxi_divs_clk_setup()

Completed in 607 milliseconds