| /drivers/clk/at91/ |
| A D | pmc.h | 22 struct clk_hw **chws; 24 struct clk_hw **shws; 26 struct clk_hw **phws; 28 struct clk_hw **ghws; 30 struct clk_hw **pchws; 32 struct clk_hw *hwtable[]; 149 struct clk_hw * __init 153 struct clk_hw * __init 157 struct clk_hw * __init 161 struct clk_hw * __init [all …]
|
| A D | clk-utmi.c | 23 struct clk_hw hw; 40 static int clk_utmi_prepare(struct clk_hw *hw) in clk_utmi_prepare() 42 struct clk_hw *hw_parent; in clk_utmi_prepare() 143 static struct clk_hw * __init 147 struct clk_hw *parent_hw, in at91_clk_register_utmi_internal() 151 struct clk_hw *hw; in at91_clk_register_utmi_internal() 185 struct clk_hw * __init 188 struct clk_hw *parent_hw) in at91_clk_register_utmi() 197 struct clk_hw *hw_parent; in clk_utmi_sama7g5_prepare() 231 struct clk_hw *hw_parent; in clk_utmi_sama7g5_is_prepared() [all …]
|
| A D | clk-main.c | 29 struct clk_hw hw; 37 struct clk_hw hw; 47 struct clk_hw hw; 54 struct clk_hw hw; 151 struct clk_hw * __init 160 struct clk_hw *hw; in at91_clk_register_main_osc() 296 struct clk_hw * __init 303 struct clk_hw *hw; in at91_clk_register_main_rc_osc() 401 struct clk_hw * __init 409 struct clk_hw *hw; in at91_clk_register_rm9200_main() [all …]
|
| A D | clk-usb.c | 25 struct clk_hw hw; 36 struct clk_hw hw; 60 struct clk_hw *parent; in at91sam9x5_clk_usb_determine_rate() 222 static struct clk_hw * __init 228 struct clk_hw *hw; in _at91sam9x5_clk_register_usb() 258 struct clk_hw * __init 266 struct clk_hw * __init 274 struct clk_hw * __init 279 struct clk_hw *hw; in at91sam9n12_clk_register_usb() 391 struct clk_hw * __init [all …]
|
| A D | sckc.c | 32 struct clk_hw hw; 41 struct clk_hw hw; 51 struct clk_hw hw; 62 struct clk_hw hw; 119 static struct clk_hw * __init 128 struct clk_hw *hw; in at91_clk_register_slow_osc() 226 static struct clk_hw * __init 235 struct clk_hw *hw; in at91_clk_register_slow_rc_osc() 320 static struct clk_hw * __init 328 struct clk_hw *hw; in at91_clk_register_sam9x5_slow() [all …]
|
| /drivers/clk/ |
| A D | clk-composite.c | 15 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent() 26 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent() 38 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate() 47 struct clk_hw *parent_hw, in clk_composite_determine_rate_for_parent() 75 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate() 76 struct clk_hw *parent; in clk_composite_determine_rate() 245 struct clk_hw *hw; in __clk_hw_register_composite() 390 struct clk_hw *hw; in clk_register_composite() 409 struct clk_hw *hw; in clk_register_composite_pdata() 422 struct clk_hw *hw; in clk_unregister_composite() [all …]
|
| A D | clk-gate_test.c | 13 struct clk_hw *ret; in clk_gate_register_test_dev() 31 struct clk_hw *parent; in clk_gate_register_test_parent_names() 32 struct clk_hw *ret; in clk_gate_register_test_parent_names() 50 struct clk_hw *ret; in clk_gate_register_test_parent_data() 70 struct clk_hw *ret; in clk_gate_register_test_parent_data_legacy() 90 struct clk_hw *ret; in clk_gate_register_test_parent_hw() 107 struct clk_hw *ret; in clk_gate_register_test_hiword_invalid() 132 struct clk_hw *hw; 206 struct clk_hw *hw; in clk_gate_test_init() 285 struct clk_hw *hw; in clk_gate_test_invert_init() [all …]
|
| A D | clk-fixed-factor.c | 22 static unsigned long clk_factor_recalc_rate(struct clk_hw *hw, in clk_factor_recalc_rate() 91 static struct clk_hw * 100 struct clk_hw *hw; in __clk_hw_register_fixed_factor() 188 const char *name, const struct clk_hw *parent_hw, in devm_clk_hw_register_fixed_factor_parent_hw() 199 const char *name, const struct clk_hw *parent_hw, in clk_hw_register_fixed_factor_parent_hw() 259 struct clk_hw *hw; in clk_register_fixed_factor() 271 struct clk_hw *hw; in clk_unregister_fixed_factor() 282 void clk_hw_unregister_fixed_factor(struct clk_hw *hw) in clk_hw_unregister_fixed_factor() 331 struct clk_hw *hw; in _of_fixed_factor_clk_setup() 384 struct clk_hw *clk = platform_get_drvdata(pdev); in of_fixed_factor_clk_remove() [all …]
|
| A D | clk-hi655x.c | 22 struct clk_hw clk_hw; member 25 static unsigned long hi655x_clk_recalc_rate(struct clk_hw *hw, in hi655x_clk_recalc_rate() 31 static int hi655x_clk_enable(struct clk_hw *hw, bool enable) in hi655x_clk_enable() 34 container_of(hw, struct hi655x_clk, clk_hw); in hi655x_clk_enable() 42 static int hi655x_clk_prepare(struct clk_hw *hw) in hi655x_clk_prepare() 47 static void hi655x_clk_unprepare(struct clk_hw *hw) in hi655x_clk_unprepare() 52 static int hi655x_clk_is_prepared(struct clk_hw *hw) in hi655x_clk_is_prepared() 55 container_of(hw, struct hi655x_clk, clk_hw); in hi655x_clk_is_prepared() 93 hi655x_clk->clk_hw.init = &init; in hi655x_clk_probe() 98 ret = devm_clk_hw_register(&pdev->dev, &hi655x_clk->clk_hw); in hi655x_clk_probe() [all …]
|
| A D | clk-gpio.c | 47 struct clk_hw hw; 53 static int clk_gpio_gate_enable(struct clk_hw *hw) in clk_gpio_gate_enable() 62 static void clk_gpio_gate_disable(struct clk_hw *hw) in clk_gpio_gate_disable() 69 static int clk_gpio_gate_is_enabled(struct clk_hw *hw) in clk_gpio_gate_is_enabled() 82 static int clk_sleeping_gpio_gate_prepare(struct clk_hw *hw) in clk_sleeping_gpio_gate_prepare() 119 static u8 clk_gpio_mux_get_parent(struct clk_hw *hw) in clk_gpio_mux_get_parent() 146 struct clk_hw *hw; in clk_register_gpio() 202 struct clk_hw *hw; in gpio_clk_driver_probe() 274 static int clk_gated_fixed_prepare(struct clk_hw *hw) in clk_gated_fixed_prepare() 284 static void clk_gated_fixed_unprepare(struct clk_hw *hw) in clk_gated_fixed_unprepare() [all …]
|
| /drivers/clk/samsung/ |
| A D | clk.c | 100 struct clk_hw *clk_hw, unsigned int id) in samsung_clk_add_lookup() argument 111 struct clk_hw *clk_hw; in samsung_clk_register_alias() local 122 if (!clk_hw) { in samsung_clk_register_alias() 141 struct clk_hw *clk_hw; in samsung_clk_register_fixed_rate() local 147 if (IS_ERR(clk_hw)) { in samsung_clk_register_fixed_rate() 161 struct clk_hw *clk_hw; in samsung_clk_register_fixed_factor() local 167 if (IS_ERR(clk_hw)) { in samsung_clk_register_fixed_factor() 182 struct clk_hw *clk_hw; in samsung_clk_register_mux() local 190 if (IS_ERR(clk_hw)) { in samsung_clk_register_mux() 205 struct clk_hw *clk_hw; in samsung_clk_register_div() local [all …]
|
| /drivers/clk/ti/ |
| A D | clock.h | 12 struct clk_hw hw; 27 struct clk_hw hw; 205 struct clk_hw *hw, const char *con); 247 int omap2_init_clk_clkdm(struct clk_hw *hw); 248 int omap2_clkops_enable_clkdm(struct clk_hw *hw); 249 void omap2_clkops_disable_clkdm(struct clk_hw *hw); 251 int omap2_dflt_clk_enable(struct clk_hw *hw); 252 void omap2_dflt_clk_disable(struct clk_hw *hw); 253 int omap2_dflt_clk_is_enabled(struct clk_hw *hw); 264 u8 omap2_init_dpll_parent(struct clk_hw *hw); [all …]
|
| A D | apll.c | 131 struct clk_hw *hw = user; in omap_clk_register_apll() 172 kfree(clk_hw->dpll_data); in omap_clk_register_apll() 175 kfree(clk_hw); in omap_clk_register_apll() 187 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_dra7_apll_setup() 192 clk_hw->dpll_data = ad; in of_dra7_apll_setup() 193 clk_hw->hw.init = init; in of_dra7_apll_setup() 227 kfree(clk_hw); in of_dra7_apll_setup() 351 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_omap2_apll_setup() 357 clk_hw->dpll_data = ad; in of_omap2_apll_setup() 358 clk_hw->hw.init = init; in of_omap2_apll_setup() [all …]
|
| /drivers/clk/sophgo/ |
| A D | clk-cv18xx-ip.c | 21 static int gate_enable(struct clk_hw *hw) in gate_enable() 28 static void gate_disable(struct clk_hw *hw) in gate_disable() 35 static int gate_is_enabled(struct clk_hw *hw) in gate_is_enabled() 86 static int div_enable(struct clk_hw *hw) in div_enable() 93 static void div_disable(struct clk_hw *hw) in div_disable() 100 static int div_is_enabled(struct clk_hw *hw) in div_is_enabled() 154 struct clk_hw *hw, struct clk_hw *parent, in div_helper_round_rate() 189 long (*round)(struct clk_hw *, in mux_helper_determine_rate() argument 214 struct clk_hw *parent; in mux_helper_determine_rate() 394 static int mux_enable(struct clk_hw *hw) in mux_enable() [all …]
|
| /drivers/clk/ux500/ |
| A D | clk-prcmu.c | 20 struct clk_hw hw; 26 struct clk_hw hw; 34 static int clk_prcmu_prepare(struct clk_hw *hw) in clk_prcmu_prepare() 41 static void clk_prcmu_unprepare(struct clk_hw *hw) in clk_prcmu_unprepare() 70 static int clk_prcmu_opp_prepare(struct clk_hw *hw) in clk_prcmu_opp_prepare() 98 static void clk_prcmu_opp_unprepare(struct clk_hw *hw) in clk_prcmu_opp_unprepare() 115 static int clk_prcmu_opp_volt_prepare(struct clk_hw *hw) in clk_prcmu_opp_volt_prepare() 194 static struct clk_hw *clk_reg_prcmu(const char *name, in clk_reg_prcmu() 249 struct clk_hw *clk_reg_prcmu_gate(const char *name, in clk_reg_prcmu_gate() 268 struct clk_hw *clk_reg_prcmu_rate(const char *name, in clk_reg_prcmu_rate() [all …]
|
| /drivers/clk/mediatek/ |
| A D | clk-gate.c | 18 struct clk_hw hw; 31 static u32 mtk_get_clockgating(struct clk_hw *hw) in mtk_get_clockgating() 41 static int mtk_cg_bit_is_cleared(struct clk_hw *hw) in mtk_cg_bit_is_cleared() 46 static int mtk_cg_bit_is_set(struct clk_hw *hw) in mtk_cg_bit_is_set() 51 static void mtk_cg_set_bit(struct clk_hw *hw) in mtk_cg_set_bit() 58 static void mtk_cg_clr_bit(struct clk_hw *hw) in mtk_cg_clr_bit() 79 static int mtk_cg_enable(struct clk_hw *hw) in mtk_cg_enable() 86 static void mtk_cg_disable(struct clk_hw *hw) in mtk_cg_disable() 91 static int mtk_cg_enable_inv(struct clk_hw *hw) in mtk_cg_enable_inv() 98 static void mtk_cg_disable_inv(struct clk_hw *hw) in mtk_cg_disable_inv() [all …]
|
| A D | clk-pll.h | 62 struct clk_hw hw; 82 static inline struct mtk_clk_pll *to_mtk_clk_pll(struct clk_hw *hw) in to_mtk_clk_pll() 87 int mtk_pll_is_prepared(struct clk_hw *hw); 89 int mtk_pll_prepare(struct clk_hw *hw); 91 void mtk_pll_unprepare(struct clk_hw *hw); 97 int mtk_pll_set_rate(struct clk_hw *hw, unsigned long rate, 99 long mtk_pll_round_rate(struct clk_hw *hw, unsigned long rate, 102 struct clk_hw *mtk_clk_register_pll_ops(struct mtk_clk_pll *pll, 106 struct clk_hw *mtk_clk_register_pll(const struct mtk_pll_data *data, 108 void mtk_clk_unregister_pll(struct clk_hw *hw); [all …]
|
| /drivers/clk/qcom/ |
| A D | gcc-ipq5018.c | 127 .parent_hws = (const struct clk_hw *[]) { 141 .parent_hws = (const struct clk_hw *[]) { 155 .parent_hws = (const struct clk_hw *[]) { 169 .parent_hws = (const struct clk_hw *[]) { 183 .parent_hws = (const struct clk_hw *[]) { 637 .parent_hws = (const struct clk_hw *[]) { 976 .parent_hws = (const struct clk_hw *[]) { 1062 .parent_hws = (const struct clk_hw *[]) { 1076 .parent_hws = (const struct clk_hw *[]) { 1089 .parent_hws = (const struct clk_hw *[]) { [all …]
|
| A D | gcc-ipq5332.c | 72 .parent_hws = (const struct clk_hw *[]) { 85 .parent_hws = (const struct clk_hw *[]) { 113 .parent_hws = (const struct clk_hw *[]) { 141 .parent_hws = (const struct clk_hw *[]) { 822 .parent_hws = (const struct clk_hw *[]) { 835 .parent_hws = (const struct clk_hw *[]) { 847 .parent_hws = (const struct clk_hw *[]) { 859 .parent_hws = (const struct clk_hw *[]) { 871 .parent_hws = (const struct clk_hw *[]) { 1121 .parent_hws = (const struct clk_hw*[]) { [all …]
|
| A D | nsscc-qca8k.c | 90 .parent_hws = (const struct clk_hw *[]) { 108 .parent_hws = (const struct clk_hw *[]) { 148 .parent_hws = (const struct clk_hw *[]) { 166 .parent_hws = (const struct clk_hw *[]) { 184 .parent_hws = (const struct clk_hw *[]) { 226 .parent_hws = (const struct clk_hw *[]) { 244 .parent_hws = (const struct clk_hw *[]) { 262 .parent_hws = (const struct clk_hw *[]) { 327 .parent_hws = (const struct clk_hw *[]) { 344 .parent_hws = (const struct clk_hw *[]) { [all …]
|
| /drivers/clk/imx/ |
| A D | clk-scu.h | 30 struct clk_hw *imx_scu_of_clk_src_get(struct of_phandle_args *clkspec, 32 struct clk_hw *imx_clk_scu_alloc_dev(const char *name, 36 struct clk_hw *__imx_clk_scu(struct device *dev, const char *name, 42 struct clk_hw *__imx_clk_lpcg_scu(struct device *dev, const char *name, 45 void imx_clk_lpcg_scu_unregister(struct clk_hw *hw); 47 struct clk_hw *__imx_clk_gpr_scu(const char *name, const char * const *parent_name, 51 static inline struct clk_hw *imx_clk_scu(const char *name, u32 rsrc_id, in imx_clk_scu() 57 static inline struct clk_hw *imx_clk_scu2(const char *name, const char * const *parents, in imx_clk_scu2() 63 static inline struct clk_hw *imx_clk_lpcg_scu_dev(struct device *dev, const char *name, in imx_clk_lpcg_scu_dev() 71 static inline struct clk_hw *imx_clk_lpcg_scu(const char *name, const char *parent_name, in imx_clk_lpcg_scu() [all …]
|
| A D | clk.h | 13 void imx_check_clk_hws(struct clk_hw *clks[], unsigned int count); 22 void imx_unregister_hw_clocks(struct clk_hw *hws[], unsigned int count); 240 struct clk_hw *imx_clk_hw_sscg_pll(const char *name, 292 struct clk_hw *imx_obtain_fixed_clock_hw( 295 struct clk_hw *imx_obtain_fixed_of_clock(struct device_node *np, 317 struct clk_hw *imx7ulp_clk_hw_composite(const char *name, 323 struct clk_hw *imx8ulp_clk_hw_composite(const char *name, 337 static inline struct clk *to_clk(struct clk_hw *hw) in to_clk() 365 static inline struct clk_hw *__imx_clk_hw_divider(const char *name, in __imx_clk_hw_divider() 418 struct clk_hw *__imx8m_clk_hw_composite(const char *name, [all …]
|
| /drivers/clk/meson/ |
| A D | s4-peripherals.c | 123 .parent_hws = (const struct clk_hw *[]) { 140 .parent_hws = (const struct clk_hw *[]) { 157 .parent_hws = (const struct clk_hw *[]) { 175 .parent_hws = (const struct clk_hw *[]) { 227 .parent_hws = (const struct clk_hw *[]) { 242 .parent_hws = (const struct clk_hw *[]) { 273 .parent_hws = (const struct clk_hw *[]) { 288 .parent_hws = (const struct clk_hw *[]) { 304 .parent_hws = (const struct clk_hw *[]) { 359 .parent_hws = (const struct clk_hw *[]) { [all …]
|
| A D | axg.c | 164 .parent_hws = (const struct clk_hw *[]) { 223 .parent_hws = (const struct clk_hw *[]) { 328 .parent_hws = (const struct clk_hw *[]) { 401 .parent_hws = (const struct clk_hw *[]) { 428 .parent_hws = (const struct clk_hw *[]) { 455 .parent_hws = (const struct clk_hw *[]) { 493 .parent_hws = (const struct clk_hw *[]) { 519 .parent_hws = (const struct clk_hw *[]) { 532 .parent_hws = (const struct clk_hw *[]) { 547 .parent_hws = (const struct clk_hw *[]) { [all …]
|
| /drivers/clk/tegra/ |
| A D | clk-periph.c | 14 static u8 clk_periph_get_parent(struct clk_hw *hw) in clk_periph_get_parent() 18 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_get_parent() 29 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_set_parent() 41 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_recalc_rate() 53 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_determine_rate() 71 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_set_rate() 82 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_is_enabled() 93 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_enable() 104 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable() 113 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable_unused() [all …]
|