Home
last modified time | relevance | path

Searched defs:hw (Results 1 – 25 of 63) sorted by relevance

123

/arch/arm/mach-msm/
Dclock-pcom.c35 static inline struct clk_pcom *to_clk_pcom(struct clk_hw *hw) in to_clk_pcom()
40 static int pc_clk_enable(struct clk_hw *hw) in pc_clk_enable()
50 static void pc_clk_disable(struct clk_hw *hw) in pc_clk_disable()
56 static int pc_clk_reset(struct clk_hw *hw, enum clk_reset_action action) in pc_clk_reset()
72 static int pc_clk_set_rate(struct clk_hw *hw, unsigned long new_rate, in pc_clk_set_rate()
94 static unsigned long pc_clk_recalc_rate(struct clk_hw *hw, unsigned long p_rate) in pc_clk_recalc_rate()
103 static int pc_clk_is_enabled(struct clk_hw *hw) in pc_clk_is_enabled()
112 static long pc_clk_round_rate(struct clk_hw *hw, unsigned long rate, in pc_clk_round_rate()
137 struct clk_hw *hw; in msm_clock_pcom_probe() local
Dclock.h35 struct clk_hw hw; member
38 static inline struct msm_clk *to_msm_clk(struct clk_hw *hw) in to_msm_clk()
Dclock.c24 struct clk_hw *hw = __clk_get_hw(clk); in clk_reset() local
/arch/arm/mach-omap2/
Dclkt2xxx_apll.c48 static bool omap2xxx_clk_apll_locked(struct clk_hw *hw) in omap2xxx_clk_apll_locked()
60 int omap2_clk_apll96_enable(struct clk_hw *hw) in omap2_clk_apll96_enable()
65 int omap2_clk_apll54_enable(struct clk_hw *hw) in omap2_clk_apll54_enable()
90 void omap2_clk_apll96_disable(struct clk_hw *hw) in omap2_clk_apll96_disable()
95 void omap2_clk_apll54_disable(struct clk_hw *hw) in omap2_clk_apll54_disable()
100 unsigned long omap2_clk_apll54_recalc(struct clk_hw *hw, in omap2_clk_apll54_recalc()
106 unsigned long omap2_clk_apll96_recalc(struct clk_hw *hw, in omap2_clk_apll96_recalc()
Dclkt2xxx_dpllcore.c105 unsigned long omap2_dpllcore_recalc(struct clk_hw *hw, in omap2_dpllcore_recalc()
111 int omap2_reprogram_dpllcore(struct clk_hw *hw, unsigned long rate, in omap2_reprogram_dpllcore()
191 void omap2xxx_clkt_dpllcore_init(struct clk_hw *hw) in omap2xxx_clkt_dpllcore_init()
Ddpll3xxx.c385 unsigned long omap3_dpll_recalc(struct clk_hw *hw, unsigned long parent_rate) in omap3_dpll_recalc()
408 int omap3_noncore_dpll_enable(struct clk_hw *hw) in omap3_noncore_dpll_enable()
450 void omap3_noncore_dpll_disable(struct clk_hw *hw) in omap3_noncore_dpll_disable()
473 int omap3_noncore_dpll_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_noncore_dpll_set_rate()
642 static struct clk_hw_omap *omap3_find_clkoutx2_dpll(struct clk_hw *hw) in omap3_find_clkoutx2_dpll()
674 unsigned long omap3_clkoutx2_recalc(struct clk_hw *hw, in omap3_clkoutx2_recalc()
703 int omap3_clkoutx2_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_clkoutx2_set_rate()
709 long omap3_clkoutx2_round_rate(struct clk_hw *hw, unsigned long rate, in omap3_clkoutx2_round_rate()
Dclkt_clksel.c306 u8 omap2_clksel_find_parent_index(struct clk_hw *hw) in omap2_clksel_find_parent_index()
356 unsigned long omap2_clksel_recalc(struct clk_hw *hw, unsigned long parent_rate) in omap2_clksel_recalc()
388 long omap2_clksel_round_rate(struct clk_hw *hw, unsigned long target_rate, in omap2_clksel_round_rate()
412 int omap2_clksel_set_rate(struct clk_hw *hw, unsigned long rate, in omap2_clksel_set_rate()
457 int omap2_clksel_set_parent(struct clk_hw *hw, u8 field_val) in omap2_clksel_set_parent()
Dclkt2xxx_virt_prcm_set.c74 long omap2_round_to_table_rate(struct clk_hw *hw, unsigned long rate, in omap2_round_to_table_rate()
98 int omap2_select_table_rate(struct clk_hw *hw, unsigned long rate, in omap2_select_table_rate()
232 struct clk_hw_omap *hw = NULL; in omap2xxx_clkt_vps_init() local
Dclock.c188 void omap2_init_clk_clkdm(struct clk_hw *hw) in omap2_init_clk_clkdm()
302 int omap2_dflt_clk_enable(struct clk_hw *hw) in omap2_dflt_clk_enable()
356 void omap2_dflt_clk_disable(struct clk_hw *hw) in omap2_dflt_clk_disable()
396 int omap2_clkops_enable_clkdm(struct clk_hw *hw) in omap2_clkops_enable_clkdm()
435 void omap2_clkops_disable_clkdm(struct clk_hw *hw) in omap2_clkops_disable_clkdm()
468 int omap2_dflt_clk_is_enabled(struct clk_hw *hw) in omap2_dflt_clk_is_enabled()
Ddpll44xx.c134 unsigned long omap4_dpll_regm4xen_recalc(struct clk_hw *hw, in omap4_dpll_regm4xen_recalc()
169 long omap4_dpll_regm4xen_round_rate(struct clk_hw *hw, in omap4_dpll_regm4xen_round_rate()
Dclock3xxx.c41 int omap3_dpll4_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_dpll4_set_rate()
Dclkt34xx_dpll3m2.c47 int omap3_core_dpll_m2_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_core_dpll_m2_set_rate()
Dclkt_dpll.c204 u8 omap2_init_dpll_parent(struct clk_hw *hw) in omap2_init_dpll_parent()
283 long omap2_dpll_round_rate(struct clk_hw *hw, unsigned long target_rate, in omap2_dpll_round_rate()
/arch/mips/alchemy/common/
Dclock.c117 static unsigned long alchemy_clk_cpu_recalc(struct clk_hw *hw, in alchemy_clk_cpu_recalc()
166 struct clk_hw hw; member
172 static unsigned long alchemy_clk_aux_recalc(struct clk_hw *hw, in alchemy_clk_aux_recalc()
180 static int alchemy_clk_aux_setr(struct clk_hw *hw, in alchemy_clk_aux_setr()
200 static long alchemy_clk_aux_roundr(struct clk_hw *hw, in alchemy_clk_aux_roundr()
343 struct clk_hw hw; member
378 static long alchemy_clk_fgcs_detr(struct clk_hw *hw, unsigned long rate, in alchemy_clk_fgcs_detr()
463 static int alchemy_clk_fgv1_en(struct clk_hw *hw) in alchemy_clk_fgv1_en()
477 static int alchemy_clk_fgv1_isen(struct clk_hw *hw) in alchemy_clk_fgv1_isen()
485 static void alchemy_clk_fgv1_dis(struct clk_hw *hw) in alchemy_clk_fgv1_dis()
[all …]
/arch/arm/mach-imx/
Dclk-pfd.c31 struct clk_hw hw; member
42 static int clk_pfd_enable(struct clk_hw *hw) in clk_pfd_enable()
51 static void clk_pfd_disable(struct clk_hw *hw) in clk_pfd_disable()
58 static unsigned long clk_pfd_recalc_rate(struct clk_hw *hw, in clk_pfd_recalc_rate()
71 static long clk_pfd_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pfd_round_rate()
91 static int clk_pfd_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pfd_set_rate()
112 static int clk_pfd_is_enabled(struct clk_hw *hw) in clk_pfd_is_enabled()
Dclk-pllv3.c39 struct clk_hw hw; member
68 static int clk_pllv3_prepare(struct clk_hw *hw) in clk_pllv3_prepare()
88 static void clk_pllv3_unprepare(struct clk_hw *hw) in clk_pllv3_unprepare()
101 static unsigned long clk_pllv3_recalc_rate(struct clk_hw *hw, in clk_pllv3_recalc_rate()
110 static long clk_pllv3_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_round_rate()
119 static int clk_pllv3_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_set_rate()
148 static unsigned long clk_pllv3_sys_recalc_rate(struct clk_hw *hw, in clk_pllv3_sys_recalc_rate()
157 static long clk_pllv3_sys_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_round_rate()
174 static int clk_pllv3_sys_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_set_rate()
202 static unsigned long clk_pllv3_av_recalc_rate(struct clk_hw *hw, in clk_pllv3_av_recalc_rate()
[all …]
Dclk-busy.c39 static inline struct clk_busy_divider *to_clk_busy_divider(struct clk_hw *hw) in to_clk_busy_divider()
46 static unsigned long clk_busy_divider_recalc_rate(struct clk_hw *hw, in clk_busy_divider_recalc_rate()
54 static long clk_busy_divider_round_rate(struct clk_hw *hw, unsigned long rate, in clk_busy_divider_round_rate()
62 static int clk_busy_divider_set_rate(struct clk_hw *hw, unsigned long rate, in clk_busy_divider_set_rate()
124 static inline struct clk_busy_mux *to_clk_busy_mux(struct clk_hw *hw) in to_clk_busy_mux()
131 static u8 clk_busy_mux_get_parent(struct clk_hw *hw) in clk_busy_mux_get_parent()
138 static int clk_busy_mux_set_parent(struct clk_hw *hw, u8 index) in clk_busy_mux_set_parent()
Dclk-gate-exclusive.c32 static int clk_gate_exclusive_enable(struct clk_hw *hw) in clk_gate_exclusive_enable()
45 static void clk_gate_exclusive_disable(struct clk_hw *hw) in clk_gate_exclusive_disable()
50 static int clk_gate_exclusive_is_enabled(struct clk_hw *hw) in clk_gate_exclusive_is_enabled()
Dclk-fixup-div.c36 static inline struct clk_fixup_div *to_clk_fixup_div(struct clk_hw *hw) in to_clk_fixup_div()
43 static unsigned long clk_fixup_div_recalc_rate(struct clk_hw *hw, in clk_fixup_div_recalc_rate()
51 static long clk_fixup_div_round_rate(struct clk_hw *hw, unsigned long rate, in clk_fixup_div_round_rate()
59 static int clk_fixup_div_set_rate(struct clk_hw *hw, unsigned long rate, in clk_fixup_div_set_rate()
Dclk-gate2.c31 struct clk_hw hw; member
41 static int clk_gate2_enable(struct clk_hw *hw) in clk_gate2_enable()
62 static void clk_gate2_disable(struct clk_hw *hw) in clk_gate2_disable()
95 static int clk_gate2_is_enabled(struct clk_hw *hw) in clk_gate2_is_enabled()
Dclk-fixup-mux.c35 static inline struct clk_fixup_mux *to_clk_fixup_mux(struct clk_hw *hw) in to_clk_fixup_mux()
42 static u8 clk_fixup_mux_get_parent(struct clk_hw *hw) in clk_fixup_mux_get_parent()
49 static int clk_fixup_mux_set_parent(struct clk_hw *hw, u8 index) in clk_fixup_mux_set_parent()
Dclk-pllv2.c73 struct clk_hw hw; member
111 static unsigned long clk_pllv2_recalc_rate(struct clk_hw *hw, in clk_pllv2_recalc_rate()
157 static int clk_pllv2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv2_set_rate()
183 static long clk_pllv2_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv2_round_rate()
193 static int clk_pllv2_prepare(struct clk_hw *hw) in clk_pllv2_prepare()
221 static void clk_pllv2_unprepare(struct clk_hw *hw) in clk_pllv2_unprepare()
Dclk-pllv1.c27 struct clk_hw hw; member
38 static unsigned long clk_pllv1_recalc_rate(struct clk_hw *hw, in clk_pllv1_recalc_rate()
/arch/metag/kernel/
Dirq.c202 int tbisig_map(unsigned int hw) in tbisig_map()
216 irq_hw_number_t hw) in metag_tbisig_map()
/arch/powerpc/sysdev/
Dmpic.h48 static inline int mpic_map_error_int(struct mpic *mpic, unsigned int virq, irq_hw_number_t hw) in mpic_map_error_int()

123