/linux-4.1.27/arch/mips/bcm63xx/ |
D | clk.c | 19 struct clk { struct 20 void (*set)(struct clk *, int); argument 29 static void clk_enable_unlocked(struct clk *clk) in clk_enable_unlocked() 35 static void clk_disable_unlocked(struct clk *clk) in clk_disable_unlocked() 56 static void enet_misc_set(struct clk *clk, int enable) in enet_misc_set() 80 static void enetx_set(struct clk *clk, int enable) in enetx_set() 111 static void ephy_set(struct clk *clk, int enable) in ephy_set() 125 static void enetsw_set(struct clk *clk, int enable) in enetsw_set() 155 static void pcm_set(struct clk *clk, int enable) in pcm_set() 170 static void usbh_set(struct clk *clk, int enable) in usbh_set() [all …]
|
/linux-4.1.27/arch/avr32/mach-at32ap/ |
D | clock.h | 20 struct clk { struct 24 struct clk *parent; /* Parent clock, if any */ argument 25 void (*mode)(struct clk *clk, int enabled); argument 26 unsigned long (*get_rate)(struct clk *clk); argument 27 long (*set_rate)(struct clk *clk, unsigned long rate, argument 29 int (*set_parent)(struct clk *clk, struct clk *parent); argument 34 unsigned long pba_clk_get_rate(struct clk *clk); argument
|
D | clock.c | 31 void at32_clk_register(struct clk *clk) in at32_clk_register() 41 struct clk *clk; in __clk_get() local 54 struct clk *clk; in clk_get() local 65 void clk_put(struct clk *clk) in clk_put() 71 static void __clk_enable(struct clk *clk) in __clk_enable() 79 int clk_enable(struct clk *clk) in clk_enable() 94 static void __clk_disable(struct clk *clk) in __clk_disable() 108 void clk_disable(struct clk *clk) in clk_disable() 121 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 137 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() [all …]
|
D | at32ap700x.c | 110 static unsigned long osc_get_rate(struct clk *clk) in osc_get_rate() 115 static unsigned long pll_get_rate(struct clk *clk, unsigned long control) in pll_get_rate() 129 static long pll_set_rate(struct clk *clk, unsigned long rate, in pll_set_rate() 194 static unsigned long pll0_get_rate(struct clk *clk) in pll0_get_rate() 203 static void pll1_mode(struct clk *clk, int enabled) in pll1_mode() 238 static unsigned long pll1_get_rate(struct clk *clk) in pll1_get_rate() 247 static long pll1_set_rate(struct clk *clk, unsigned long rate, int apply) in pll1_set_rate() 267 static int pll1_set_parent(struct clk *clk, struct clk *parent) in pll1_set_parent() 338 static unsigned long bus_clk_get_rate(struct clk *clk, unsigned int shift) in bus_clk_get_rate() 343 static void cpu_clk_mode(struct clk *clk, int enabled) in cpu_clk_mode() [all …]
|
/linux-4.1.27/arch/arm/mach-lpc32xx/ |
D | clock.h | 22 struct clk { struct 24 struct clk *parent; argument 28 int (*set_rate) (struct clk *, unsigned long); argument 29 unsigned long (*round_rate) (struct clk *, unsigned long); argument 30 unsigned long (*get_rate) (struct clk *clk); argument 31 int (*enable) (struct clk *, int); argument 34 void __iomem *enable_reg; 35 u32 enable_mask;
|
D | clock.c | 114 static unsigned long local_return_parent_rate(struct clk *clk) in local_return_parent_rate() 132 static int local_pll397_enable(struct clk *clk, int enable) in local_pll397_enable() 161 static int local_oscmain_enable(struct clk *clk, int enable) in local_oscmain_enable() 387 static int local_usbpll_enable(struct clk *clk, int enable) in local_usbpll_enable() 451 static unsigned long local_usbpll_round_rate(struct clk *clk, in local_usbpll_round_rate() 475 static int local_usbpll_set_rate(struct clk *clk, unsigned long rate) in local_usbpll_set_rate() 543 static int local_onoff_enable(struct clk *clk, int enable) in local_onoff_enable() 762 static int local_usb_enable(struct clk *clk, int enable) in local_usb_enable() 787 static int local_usb_otg_enable(struct clk *clk, int enable) in local_usb_otg_enable() 833 static int tsc_onoff_enable(struct clk *clk, int enable) in tsc_onoff_enable() [all …]
|
/linux-4.1.27/include/linux/ |
D | clk.h | 59 struct clk *clk; member 76 struct clk *clk; member 143 static inline long clk_get_accuracy(struct clk *clk) in clk_get_accuracy() 148 static inline long clk_set_phase(struct clk *clk, int phase) in clk_set_phase() 153 static inline long clk_get_phase(struct clk *clk) in clk_get_phase() 176 static inline int clk_prepare(struct clk *clk) in clk_prepare() 195 static inline void clk_unprepare(struct clk *clk) in clk_unprepare() 409 static inline void clk_put(struct clk *clk) {} in clk_put() 411 static inline void devm_clk_put(struct device *dev, struct clk *clk) {} in devm_clk_put() 413 static inline int clk_enable(struct clk *clk) in clk_enable() [all …]
|
D | sh_clk.h | 37 struct clk { struct 39 struct clk *parent; argument 40 struct clk **parent_table; /* list of parents to */ argument 44 struct sh_clk_ops *ops; argument 62 struct clk_mapping *mapping; argument 79 /* drivers/sh/clk.c */ argument
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | clock.c | 44 unsigned long omap1_uart_recalc(struct clk *clk) in omap1_uart_recalc() 50 unsigned long omap1_sossi_recalc(struct clk *clk) in omap1_sossi_recalc() 60 static void omap1_clk_allow_idle(struct clk *clk) in omap1_clk_allow_idle() 71 static void omap1_clk_deny_idle(struct clk *clk) in omap1_clk_deny_idle() 135 static int calc_dsor_exp(struct clk *clk, unsigned long rate) in calc_dsor_exp() 167 unsigned long omap1_ckctl_recalc(struct clk *clk) in omap1_ckctl_recalc() 175 unsigned long omap1_ckctl_recalc_dsp_domain(struct clk *clk) in omap1_ckctl_recalc_dsp_domain() 194 int omap1_select_table_rate(struct clk *clk, unsigned long rate) in omap1_select_table_rate() 229 int omap1_clk_set_rate_dsp_domain(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_dsp_domain() 249 long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_round_rate_ckctl_arm() [all …]
|
D | clock.h | 48 #define __clk_get_name(clk) (clk->name) argument 49 #define __clk_get_parent(clk) (clk->parent) argument 50 #define __clk_get_rate(clk) (clk->rate) argument 141 struct clk { struct 143 const struct clkops *ops; argument 145 struct clk *parent; argument 150 unsigned long (*recalc)(struct clk *); argument 151 int (*set_rate)(struct clk *, unsigned long); argument 152 long (*round_rate)(struct clk *, unsigned long); argument 153 void (*init)(struct clk *); argument [all …]
|
/linux-4.1.27/arch/m68k/coldfire/ |
D | clk.c | 30 void __clk_init_enabled(struct clk *clk) in __clk_init_enabled() 36 void __clk_init_disabled(struct clk *clk) in __clk_init_disabled() 42 static void __clk_enable0(struct clk *clk) in __clk_enable0() 47 static void __clk_disable0(struct clk *clk) in __clk_disable0() 58 static void __clk_enable1(struct clk *clk) in __clk_enable1() 63 static void __clk_disable1(struct clk *clk) in __clk_disable1() 78 struct clk *clk; in clk_get() local 89 int clk_enable(struct clk *clk) in clk_enable() 101 void clk_disable(struct clk *clk) in clk_disable() 111 void clk_put(struct clk *clk) in clk_put() [all …]
|
/linux-4.1.27/drivers/clk/ |
D | clk.c | 83 struct clk { struct 84 struct clk_core *core; argument 89 struct hlist_node clks_node; argument 297 static int clk_debug_create_one(struct clk_core *clk, struct dentry *pdentry) in clk_debug_create_one() 372 static int clk_debug_register(struct clk_core *clk) in clk_debug_register() 397 static void clk_debug_unregister(struct clk_core *clk) in clk_debug_unregister() 433 struct clk_core *clk; in clk_debug_init() local 472 static inline int clk_debug_register(struct clk_core *clk) { return 0; } in clk_debug_register() 473 static inline void clk_debug_reparent(struct clk_core *clk, in clk_debug_reparent() 477 static inline void clk_debug_unregister(struct clk_core *clk) in clk_debug_unregister() [all …]
|
D | clk-gpio-gate.c | 35 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_gate_enable() local 44 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_gate_disable() local 51 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_gate_is_enabled() local 77 struct clk *clk = ERR_PTR(-EINVAL); in clk_register_gpio_gate() local 143 struct clk *clk; member 151 struct clk *clk; in of_clk_gpio_gate_delayed_register_get() local
|
D | clkdev.c | 35 struct clk *clk; in __of_clk_get() local 62 struct clk *clk = ERR_PTR(-ENOENT); in __of_clk_get_by_name() local 172 struct clk *clk = NULL; in clk_get_sys() local 200 struct clk *clk; in clk_get() local 212 void clk_put(struct clk *clk) in clk_put() 246 vclkdev_alloc(struct clk *clk, const char *con_id, const char *dev_fmt, in vclkdev_alloc() 270 clkdev_alloc(struct clk *clk, const char *con_id, const char *dev_fmt, ...) in clkdev_alloc() 327 int clk_register_clkdev(struct clk *clk, const char *con_id, in clk_register_clkdev() 360 int clk_register_clkdevs(struct clk *clk, struct clk_lookup *cl, size_t num) in clk_register_clkdevs()
|
D | clk.h | 30 static inline void __clk_free_clk(struct clk *clk) { } in __clk_free_clk() 31 static struct clk_hw *__clk_get_hw(struct clk *clk) in __clk_get_hw()
|
D | clk-nspire.c | 45 static void nspire_clkinfo_cx(u32 val, struct nspire_clk_info *clk) in nspire_clkinfo_cx() 56 static void nspire_clkinfo_classic(u32 val, struct nspire_clk_info *clk) in nspire_clkinfo_classic() 72 struct clk *clk; in nspire_ahbdiv_setup() local 114 struct clk *clk; in nspire_clk_setup() local
|
D | clk-qoriq.c | 36 struct cmux_clk *clk = to_cmux_clk(hw); in cmux_set_parent() local 50 struct cmux_clk *clk = to_cmux_clk(hw); in cmux_get_parent() local 69 struct clk *clk; in core_mux_init() local 253 struct clk *clk; in sysclk_init() local
|
D | clk-devres.c | 19 struct clk **ptr, *clk; in devm_clk_get() local 47 void devm_clk_put(struct device *dev, struct clk *clk) in devm_clk_put()
|
D | clk-moxart.c | 21 struct clk *clk, *ref_clk; in moxart_of_pll_clk_init() local 59 struct clk *clk, *pll_clk; in moxart_of_apb_clk_init() local
|
D | clk-conf.c | 21 struct clk *clk, *pclk; in __set_clk_parents() local 83 struct clk *clk; in __set_clk_rates() local
|
D | clk-ls1x.c | 57 struct clk *clk; in clk_register_pll() local 89 struct clk *clk; in ls1x_clk_init() local
|
D | clk-fixed-rate.c | 64 struct clk *clk; in clk_register_fixed_rate_with_accuracy() local 117 struct clk *clk; in of_fixed_clk_setup() local
|
D | clk-gate.c | 127 struct clk *clk; in clk_register_gate() local 166 void clk_unregister_gate(struct clk *clk) in clk_unregister_gate()
|
D | clk-fixed-factor.c | 74 struct clk *clk; in clk_register_fixed_factor() local 108 struct clk *clk; in of_fixed_factor_clk_setup() local
|
D | clk-nomadik.c | 261 struct clk *clk; in pll_clk_register() local 353 struct clk *clk; in src_clk_register() local 513 struct clk *clk = ERR_PTR(-EINVAL); in of_nomadik_pll_setup() local 536 struct clk *clk = ERR_PTR(-EINVAL); in of_nomadik_hclk_setup() local 560 struct clk *clk = ERR_PTR(-EINVAL); in of_nomadik_src_clk_setup() local
|
D | clk-bcm2835.c | 32 struct clk *clk; in bcm2835_init_clocks() local
|
D | clk-mux.c | 122 struct clk *clk; in clk_register_mux_table() local 181 void clk_unregister_mux(struct clk *clk) in clk_unregister_mux()
|
D | clk-efm32gg.c | 19 static struct clk *clk[37]; variable
|
/linux-4.1.27/arch/c6x/platforms/ |
D | pll.c | 31 static void __clk_enable(struct clk *clk) in __clk_enable() 38 static void __clk_disable(struct clk *clk) in __clk_disable() 48 int clk_enable(struct clk *clk) in clk_enable() 63 void clk_disable(struct clk *clk) in clk_disable() 76 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 85 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 100 struct clk *clk; in propagate_rate() local 109 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 132 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent() 159 int clk_register(struct clk *clk) in clk_register() [all …]
|
/linux-4.1.27/arch/arm/mach-davinci/ |
D | clock.c | 34 static void __clk_enable(struct clk *clk) in __clk_enable() 47 static void __clk_disable(struct clk *clk) in __clk_disable() 62 int davinci_clk_reset(struct clk *clk, bool reset) in davinci_clk_reset() 78 int davinci_clk_reset_assert(struct clk *clk) in davinci_clk_reset_assert() 87 int davinci_clk_reset_deassert(struct clk *clk) in davinci_clk_reset_deassert() 96 int clk_enable(struct clk *clk) in clk_enable() 111 void clk_disable(struct clk *clk) in clk_disable() 124 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 133 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 148 struct clk *clk; in propagate_rate() local [all …]
|
D | clock.h | 87 struct clk { struct 98 struct clk *parent; argument 103 unsigned long (*recalc) (struct clk *); argument 104 int (*set_rate) (struct clk *clk, unsigned long rate); argument 105 int (*round_rate) (struct clk *clk, unsigned long rate); argument 106 int (*reset) (struct clk *clk, bool reset); argument 107 void (*clk_enable) (struct clk *clk); argument 108 void (*clk_disable) (struct clk *clk); argument
|
D | da850.c | 396 static void ehrpwm_tblck_enable(struct clk *clk) in ehrpwm_tblck_enable() 405 static void ehrpwm_tblck_disable(struct clk *clk) in ehrpwm_tblck_disable() 913 struct clk *clk, *newparent = pllnum ? &pll1_sysclk2 : &pll0_sysclk2; in da850_set_async3_src() local 1093 static int da850_round_armrate(struct clk *clk, unsigned long rate) in da850_round_armrate() 1116 static int da850_set_armrate(struct clk *clk, unsigned long index) in da850_set_armrate() 1123 static int da850_set_pll0rate(struct clk *clk, unsigned long index) in da850_set_pll0rate() 1147 static int da850_set_armrate(struct clk *clk, unsigned long rate) in da850_set_armrate() 1152 static int da850_set_pll0rate(struct clk *clk, unsigned long armrate) in da850_set_pll0rate() 1157 static int da850_round_armrate(struct clk *clk, unsigned long rate) in da850_round_armrate()
|
/linux-4.1.27/arch/arm/mach-sa1100/ |
D | clock.c | 26 struct clk { struct 27 const struct clkops *ops; argument 32 struct clk clk_##_name = { \ argument 38 static void clk_gpio27_enable(struct clk *clk) in clk_gpio27_enable() 49 static void clk_gpio27_disable(struct clk *clk) in clk_gpio27_disable() 56 static void clk_cpu_enable(struct clk *clk) in clk_cpu_enable() 60 static void clk_cpu_disable(struct clk *clk) in clk_cpu_disable() 64 static unsigned long clk_cpu_get_rate(struct clk *clk) in clk_cpu_get_rate() 69 int clk_enable(struct clk *clk) in clk_enable() 84 void clk_disable(struct clk *clk) in clk_disable() [all …]
|
/linux-4.1.27/arch/mips/ralink/ |
D | clk.c | 19 struct clk { struct 20 struct clk_lookup cl; argument 26 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in ralink_clk_add() argument 42 int clk_enable(struct clk *clk) in clk_enable() 48 void clk_disable(struct clk *clk) in clk_disable() 53 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 59 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 67 struct clk *clk; in plat_time_init() local
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-clk.c | 29 struct v4l2_clk *clk; in v4l2_clk_find() local 40 struct v4l2_clk *clk; in v4l2_clk_get() local 68 void v4l2_clk_put(struct v4l2_clk *clk) in v4l2_clk_put() 91 static int v4l2_clk_lock_driver(struct v4l2_clk *clk) in v4l2_clk_lock_driver() 111 static void v4l2_clk_unlock_driver(struct v4l2_clk *clk) in v4l2_clk_unlock_driver() 116 int v4l2_clk_enable(struct v4l2_clk *clk) in v4l2_clk_enable() 145 void v4l2_clk_disable(struct v4l2_clk *clk) in v4l2_clk_disable() 167 unsigned long v4l2_clk_get_rate(struct v4l2_clk *clk) in v4l2_clk_get_rate() 191 int v4l2_clk_set_rate(struct v4l2_clk *clk, unsigned long rate) in v4l2_clk_set_rate() 224 struct v4l2_clk *clk; in v4l2_clk_register() local [all …]
|
/linux-4.1.27/arch/blackfin/mach-common/ |
D | clock.h | 14 struct clk { struct 19 const struct clk_ops *ops; argument 20 const struct params *params; 21 void __iomem *reg; 22 u32 mask; 23 u32 shift;
|
/linux-4.1.27/arch/mips/jz4740/ |
D | clock.c | 105 struct clk clk; member 110 struct clk clk; member 116 struct clk clk; member 159 static int jz_clk_enable_gating(struct clk *clk) in jz_clk_enable_gating() 168 static int jz_clk_disable_gating(struct clk *clk) in jz_clk_disable_gating() 177 static int jz_clk_is_enabled_gating(struct clk *clk) in jz_clk_is_enabled_gating() 185 static unsigned long jz_clk_static_get_rate(struct clk *clk) in jz_clk_static_get_rate() 190 static int jz_clk_ko_enable(struct clk *clk) in jz_clk_ko_enable() 196 static int jz_clk_ko_disable(struct clk *clk) in jz_clk_ko_disable() 202 static int jz_clk_ko_is_enabled(struct clk *clk) in jz_clk_ko_is_enabled() [all …]
|
D | clock.h | 45 struct clk { struct 47 struct clk *parent; argument 51 const struct clk_ops *ops; argument 64 int clk_is_enabled(struct clk *clk); argument 72 static inline void jz4740_clock_debugfs_add_clk(struct clk *clk) {}; in jz4740_clock_debugfs_add_clk() 73 static inline void jz4740_clock_debugfs_update_parent(struct clk *clk) {}; in jz4740_clock_debugfs_update_parent()
|
D | clock-debugfs.c | 31 struct clk *clk = data; in jz4740_clock_debugfs_show_enabled() local 39 struct clk *clk = data; in jz4740_clock_debugfs_set_enabled() local 56 struct clk *clk = data; in jz4740_clock_debugfs_show_rate() local 67 void jz4740_clock_debugfs_add_clk(struct clk *clk) in jz4740_clock_debugfs_add_clk() 88 void jz4740_clock_debugfs_update_parent(struct clk *clk) in jz4740_clock_debugfs_update_parent()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | clock.h | 20 struct clk { struct 26 struct clk *parent; argument 27 struct clk_ops *ops; argument 40 int __clk_enable(struct clk *); argument
|
D | clkdev.h | 18 #define __clk_get(clk) ({ 1; }) argument 19 #define __clk_put(clk) do { } while (0) argument
|
/linux-4.1.27/arch/arm/mach-versatile/include/mach/ |
D | clkdev.h | 6 struct clk { struct 8 const struct clk_ops *ops; argument 13 #define __clk_get(clk) ({ 1; }) argument 14 #define __clk_put(clk) do { } while (0) argument
|
/linux-4.1.27/arch/arm/mach-ep93xx/ |
D | clock.c | 30 struct clk { struct 31 struct clk *parent; argument 38 unsigned long (*get_rate)(struct clk *clk); argument 39 int (*set_rate)(struct clk *clk, unsigned long rate); argument 239 static void __clk_enable(struct clk *clk) in __clk_enable() 258 int clk_enable(struct clk *clk) in clk_enable() 273 static void __clk_disable(struct clk *clk) in __clk_disable() 292 void clk_disable(struct clk *clk) in clk_disable() 305 static unsigned long get_uart_rate(struct clk *clk) in get_uart_rate() 317 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() [all …]
|
/linux-4.1.27/arch/arm/mach-mmp/ |
D | clock.c | 19 static void apbc_clk_enable(struct clk *clk) in apbc_clk_enable() 27 static void apbc_clk_disable(struct clk *clk) in apbc_clk_disable() 37 static void apmu_clk_enable(struct clk *clk) in apmu_clk_enable() 42 static void apmu_clk_disable(struct clk *clk) in apmu_clk_disable() 54 int clk_enable(struct clk *clk) in clk_enable() 66 void clk_disable(struct clk *clk) in clk_disable() 79 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 92 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
|
D | clock.h | 18 struct clk { struct 19 const struct clkops *ops; argument 21 void __iomem *clk_rst; /* clock reset control register */ argument 22 int fnclksel; /* functional clock select (APBC) */ argument 32 struct clk clk_##_name = { \ argument
|
D | clock-mmp2.c | 47 static void sdhc_clk_enable(struct clk *clk) in sdhc_clk_enable() 56 static void sdhc_clk_disable(struct clk *clk) in sdhc_clk_disable()
|
/linux-4.1.27/arch/mips/lantiq/ |
D | clk.h | 55 struct clk { struct 56 struct clk_lookup cl; argument 62 int (*enable) (struct clk *clk); argument 63 void (*disable) (struct clk *clk); argument 64 int (*activate) (struct clk *clk); argument 65 void (*deactivate) (struct clk *clk); argument 66 void (*reboot) (struct clk *clk); argument
|
D | clk.c | 62 static inline int clk_good(struct clk *clk) in clk_good() 67 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 82 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 102 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 119 int clk_enable(struct clk *clk) in clk_enable() 131 void clk_disable(struct clk *clk) in clk_disable() 141 int clk_activate(struct clk *clk) in clk_activate() 153 void clk_deactivate(struct clk *clk) in clk_deactivate() 186 struct clk *clk; in plat_time_init() local
|
/linux-4.1.27/drivers/sh/clk/ |
D | cpg.c | 19 static unsigned int sh_clk_read(struct clk *clk) in sh_clk_read() 29 static void sh_clk_write(int value, struct clk *clk) in sh_clk_write() 54 static int sh_clk_mstp_enable(struct clk *clk) in sh_clk_mstp_enable() 83 static void sh_clk_mstp_disable(struct clk *clk) in sh_clk_mstp_disable() 112 static inline struct clk_div_table *clk_to_div_table(struct clk *clk) in clk_to_div_table() 117 static inline struct clk_div_mult_table *clk_to_div_mult_table(struct clk *clk) in clk_to_div_mult_table() 125 static long sh_clk_div_round_rate(struct clk *clk, unsigned long rate) in sh_clk_div_round_rate() 130 static unsigned long sh_clk_div_recalc(struct clk *clk) in sh_clk_div_recalc() 143 static int sh_clk_div_set_rate(struct clk *clk, unsigned long rate) in sh_clk_div_set_rate() 165 static int sh_clk_div_enable(struct clk *clk) in sh_clk_div_enable() [all …]
|
D | core.c | 39 void clk_rate_table_build(struct clk *clk, in clk_rate_table_build() 137 long clk_rate_table_round(struct clk *clk, in clk_rate_table_round() 161 long clk_rate_div_range_round(struct clk *clk, unsigned int div_min, in clk_rate_div_range_round() 181 long clk_rate_mult_range_round(struct clk *clk, unsigned int mult_min, in clk_rate_mult_range_round() 195 int clk_rate_table_find(struct clk *clk, in clk_rate_table_find() 209 unsigned long followparent_recalc(struct clk *clk) in followparent_recalc() 237 static void __clk_disable(struct clk *clk) in __clk_disable() 251 void clk_disable(struct clk *clk) in clk_disable() 264 static int __clk_enable(struct clk *clk) in __clk_enable() 291 int clk_enable(struct clk *clk) in clk_enable() [all …]
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | clocks.h | 61 struct clk { struct 62 struct clk *parent; argument 67 const struct clk_ops *ops; argument 73 int clk_init(void); argument
|
D | clkdev.h | 12 #define __clk_put(clk) argument 13 #define __clk_get(clk) ({ 1; }) argument
|
/linux-4.1.27/arch/arm/plat-versatile/ |
D | clock.c | 21 int clk_enable(struct clk *clk) in clk_enable() 27 void clk_disable(struct clk *clk) in clk_disable() 32 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 38 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 47 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 56 long icst_clk_round(struct clk *clk, unsigned long rate) in icst_clk_round() 64 int icst_clk_set(struct clk *clk, unsigned long rate) in icst_clk_set()
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | clock.c | 30 struct clk { struct 36 static struct clk clk_ost_clk = { argument 62 struct clk *p, *clk = ERR_PTR(-ENOENT); in clk_get() local 77 void clk_put(struct clk *clk) in clk_put() 82 int clk_enable(struct clk *clk) in clk_enable() 88 void clk_disable(struct clk *clk) in clk_disable() 93 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 136 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 217 int clk_register(struct clk *clk) in clk_register() 228 void clk_unregister(struct clk *clk) in clk_unregister()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | dpll3xxx.c | 43 static void _omap3_dpll_write_clken(struct clk_hw_omap *clk, u8 clken_bits) in _omap3_dpll_write_clken() 57 static int _omap3_wait_dpll_status(struct clk_hw_omap *clk, u8 state) in _omap3_wait_dpll_status() 89 static u16 _omap3_dpll_compute_freqsel(struct clk_hw_omap *clk, u8 n) in _omap3_dpll_compute_freqsel() 134 static int _omap3_noncore_dpll_lock(struct clk_hw_omap *clk) in _omap3_noncore_dpll_lock() 179 static int _omap3_noncore_dpll_bypass(struct clk_hw_omap *clk) in _omap3_noncore_dpll_bypass() 211 static int _omap3_noncore_dpll_stop(struct clk_hw_omap *clk) in _omap3_noncore_dpll_stop() 242 static void _lookup_dco(struct clk_hw_omap *clk, u8 *dco, u16 m, u8 n) in _lookup_dco() 267 static void _lookup_sddiv(struct clk_hw_omap *clk, u8 *sd_div, u16 m, u8 n) in _lookup_sddiv() 297 static int omap3_noncore_dpll_program(struct clk_hw_omap *clk, u16 freqsel) in omap3_noncore_dpll_program() 387 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_dpll_recalc() local [all …]
|
D | clkt_clksel.c | 61 static const struct clksel *_get_clksel_by_parent(struct clk_hw_omap *clk, in _get_clksel_by_parent() 96 static void _write_clksel_reg(struct clk_hw_omap *clk, u32 field_val) in _write_clksel_reg() 119 static u32 _clksel_to_divisor(struct clk_hw_omap *clk, u32 field_val) in _clksel_to_divisor() 160 static u32 _divisor_to_clksel(struct clk_hw_omap *clk, u32 div) in _divisor_to_clksel() 200 static u32 _read_divisor(struct clk_hw_omap *clk) in _read_divisor() 228 u32 omap2_clksel_round_rate_div(struct clk_hw_omap *clk, in omap2_clksel_round_rate_div() 308 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_clksel_find_parent_index() local 360 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_clksel_recalc() local 391 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_clksel_round_rate() local 415 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_clksel_set_rate() local [all …]
|
D | clock.c | 111 void omap2_clk_writel(u32 val, struct clk_hw_omap *clk, void __iomem *reg) in omap2_clk_writel() 119 u32 omap2_clk_readl(struct clk_hw_omap *clk, void __iomem *reg) in omap2_clk_readl() 205 static int _wait_idlest_generic(struct clk_hw_omap *clk, void __iomem *reg, in _wait_idlest_generic() 235 static void _omap2_module_wait_ready(struct clk_hw_omap *clk) in _omap2_module_wait_ready() 273 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_init_clk_clkdm() local 327 void omap2_clk_dflt_find_companion(struct clk_hw_omap *clk, in omap2_clk_dflt_find_companion() 356 void omap2_clk_dflt_find_idlest(struct clk_hw_omap *clk, in omap2_clk_dflt_find_idlest() 387 struct clk_hw_omap *clk; in omap2_dflt_clk_enable() local 441 struct clk_hw_omap *clk; in omap2_dflt_clk_disable() local 481 struct clk_hw_omap *clk; in omap2_clkops_enable_clkdm() local [all …]
|
D | dpll44xx.c | 39 void omap4_dpllmx_allow_gatectrl(struct clk_hw_omap *clk) in omap4_dpllmx_allow_gatectrl() 57 void omap4_dpllmx_deny_gatectrl(struct clk_hw_omap *clk) in omap4_dpllmx_deny_gatectrl() 117 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_recalc() local 153 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_round_rate() local 210 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_determine_rate() local
|
D | clock3517.c | 50 static void am35xx_clk_find_idlest(struct clk_hw_omap *clk, in am35xx_clk_find_idlest() 74 static void am35xx_clk_find_companion(struct clk_hw_omap *clk, in am35xx_clk_find_companion() 100 static void am35xx_clk_ipss_find_idlest(struct clk_hw_omap *clk, in am35xx_clk_ipss_find_idlest()
|
D | clock34xx.c | 40 static void omap3430es2_clk_ssi_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_ssi_find_idlest() 78 static void omap3430es2_clk_dss_usbhost_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_dss_usbhost_find_idlest() 115 static void omap3430es2_clk_hsotgusb_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_hsotgusb_find_idlest()
|
D | clkt2xxx_dpll.c | 32 static void _allow_idle(struct clk_hw_omap *clk) in _allow_idle() 46 static void _deny_idle(struct clk_hw_omap *clk) in _deny_idle()
|
D | clkt_iclk.c | 26 void omap2_clkt_iclk_allow_idle(struct clk_hw_omap *clk) in omap2_clkt_iclk_allow_idle() 40 void omap2_clkt_iclk_deny_idle(struct clk_hw_omap *clk) in omap2_clkt_iclk_deny_idle()
|
D | clkt_dpll.c | 68 static int _dpll_test_fint(struct clk_hw_omap *clk, unsigned int n) in _dpll_test_fint() 206 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_init_dpll_parent() local 239 unsigned long omap2_get_dpll_rate(struct clk_hw_omap *clk) in omap2_get_dpll_rate() 286 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_dpll_round_rate() local
|
D | clkt2xxx_virt_prcm_set.c | 61 unsigned long omap2_table_mpu_recalc(struct clk_hw *clk, in omap2_table_mpu_recalc() 233 struct clk *clk; in omap2xxx_clkt_vps_init() local
|
D | clock2430.c | 43 static void omap2430_clk_i2chs_find_idlest(struct clk_hw_omap *clk, in omap2430_clk_i2chs_find_idlest()
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | clock.h | 82 struct clk { struct 89 struct clk *parent; argument 94 unsigned long (*recalc) (struct clk *); argument 95 int (*set_rate) (struct clk *clk, unsigned long rate); argument 96 int (*round_rate) (struct clk *clk, unsigned long rate); argument
|
D | clkdev.h | 8 static inline int __clk_get(struct clk *clk) in __clk_get() 13 static inline void __clk_put(struct clk *clk) in __clk_put()
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | clock.c | 15 int clk_enable(struct clk *clk) in clk_enable() 31 void clk_disable(struct clk *clk) in clk_disable() 44 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 56 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 71 void clk_dummy_enable(struct clk *clk) in clk_dummy_enable() 75 void clk_dummy_disable(struct clk *clk) in clk_dummy_disable()
|
D | clock.h | 11 struct clk { struct 12 const struct clkops *ops; argument 19 void clk_dummy_enable(struct clk *); argument
|
D | clock-pxa3xx.c | 79 static unsigned long clk_pxa3xx_ac97_getrate(struct clk *clk) in clk_pxa3xx_ac97_getrate() 98 static unsigned long clk_pxa3xx_hsio_getrate(struct clk *clk) in clk_pxa3xx_hsio_getrate() 115 static unsigned long clk_pxa3xx_smemc_getrate(struct clk *clk) in clk_pxa3xx_smemc_getrate() 124 void clk_pxa3xx_cken_enable(struct clk *clk) in clk_pxa3xx_cken_enable() 136 void clk_pxa3xx_cken_disable(struct clk *clk) in clk_pxa3xx_cken_disable() 171 static void clk_pout_enable(struct clk *clk) in clk_pout_enable() 176 static void clk_pout_disable(struct clk *clk) in clk_pout_disable()
|
D | pxa25x.c | 98 static unsigned long clk_pxa25x_mem_getrate(struct clk *clk) in clk_pxa25x_mem_getrate() 123 static void clk_gpio12_enable(struct clk *clk) in clk_gpio12_enable() 128 static void clk_gpio12_disable(struct clk *clk) in clk_gpio12_disable() 146 static void clk_gpio11_enable(struct clk *clk) in clk_gpio11_enable() 151 static void clk_gpio11_disable(struct clk *clk) in clk_gpio11_disable()
|
D | clock-pxa2xx.c | 19 void clk_pxa2xx_cken_enable(struct clk *clk) in clk_pxa2xx_cken_enable() 24 void clk_pxa2xx_cken_disable(struct clk *clk) in clk_pxa2xx_cken_disable()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | base.c | 40 nvkm_clk_adjust(struct nvkm_clk *clk, bool adjust, in nvkm_clk_adjust() 78 nvkm_cstate_prog(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) in nvkm_cstate_prog() 136 nvkm_cstate_new(struct nvkm_clk *clk, int idx, struct nvkm_pstate *pstate) in nvkm_cstate_new() 173 nvkm_pstate_prog(struct nvkm_clk *clk, int pstatei) in nvkm_pstate_prog() 203 struct nvkm_clk *clk = container_of(work, typeof(*clk), work); in nvkm_pstate_work() local 237 nvkm_pstate_calc(struct nvkm_clk *clk, bool wait) in nvkm_pstate_calc() 247 nvkm_pstate_info(struct nvkm_clk *clk, struct nvkm_pstate *pstate) in nvkm_pstate_info() 302 nvkm_pstate_new(struct nvkm_clk *clk, int idx) in nvkm_pstate_new() 371 nvkm_clk_ustate_update(struct nvkm_clk *clk, int req) in nvkm_clk_ustate_update() 395 nvkm_clk_nstate(struct nvkm_clk *clk, const char *mode, int arglen) in nvkm_clk_nstate() [all …]
|
D | gf100.c | 51 struct nvkm_clk *clk = &priv->base; in read_vco() local 61 struct nvkm_clk *clk = &priv->base; in read_pll() local 124 read_clk(struct gf100_clk_priv *priv, int clk) in read_clk() 148 gf100_clk_read(struct nvkm_clk *clk, enum nv_clk_src src) in gf100_clk_read() 199 calc_div(struct gf100_clk_priv *priv, int clk, u32 ref, u32 freq, u32 *ddiv) in calc_div() 210 calc_src(struct gf100_clk_priv *priv, int clk, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src() 239 calc_pll(struct gf100_clk_priv *priv, int clk, u32 freq, u32 *coef) in calc_pll() 263 struct nvkm_cstate *cstate, int clk, int dom) in calc_clk() 314 gf100_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in gf100_clk_calc() 333 gf100_clk_prog_0(struct gf100_clk_priv *priv, int clk) in gf100_clk_prog_0() [all …]
|
D | gk104.c | 141 read_clk(struct gk104_clk_priv *priv, int clk) in read_clk() 184 gk104_clk_read(struct nvkm_clk *clk, enum nv_clk_src src) in gk104_clk_read() 217 calc_div(struct gk104_clk_priv *priv, int clk, u32 ref, u32 freq, u32 *ddiv) in calc_div() 228 calc_src(struct gk104_clk_priv *priv, int clk, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src() 257 calc_pll(struct gk104_clk_priv *priv, int clk, u32 freq, u32 *coef) in calc_pll() 281 struct nvkm_cstate *cstate, int clk, int dom) in calc_clk() 332 gk104_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in gk104_clk_calc() 350 gk104_clk_prog_0(struct gk104_clk_priv *priv, int clk) in gk104_clk_prog_0() 360 gk104_clk_prog_1_0(struct gk104_clk_priv *priv, int clk) in gk104_clk_prog_1_0() 367 gk104_clk_prog_1_1(struct gk104_clk_priv *priv, int clk) in gk104_clk_prog_1_1() [all …]
|
D | gt215.c | 43 read_vco(struct gt215_clk_priv *priv, int clk) in read_vco() 60 read_clk(struct gt215_clk_priv *priv, int clk, bool ignore_en) in read_clk() 106 read_pll(struct gt215_clk_priv *priv, int clk, u32 pll) in read_pll() 137 gt215_clk_read(struct nvkm_clk *clk, enum nv_clk_src src) in gt215_clk_read() 179 gt215_clk_info(struct nvkm_clk *clock, int clk, u32 khz, in gt215_clk_info() 226 gt215_pll_info(struct nvkm_clk *clock, int clk, u32 pll, u32 khz, in gt215_pll_info() 266 int clk, u32 pll, int idx) in calc_clk() 298 gt215_clk_pre(struct nvkm_clk *clk, unsigned long *flags) in gt215_clk_pre() 321 gt215_clk_post(struct nvkm_clk *clk, unsigned long *flags) in gt215_clk_post() 340 prog_pll(struct gt215_clk_priv *priv, int clk, u32 pll, int idx) in prog_pll() [all …]
|
D | nv50.c | 54 struct nvkm_clk *clk = &priv->base; in read_pll_src() local 126 struct nvkm_clk *clk = &priv->base; in read_pll_ref() local 158 struct nvkm_clk *clk = &priv->base; in read_pll() local 190 nv50_clk_read(struct nvkm_clk *clk, enum nv_clk_src src) in nv50_clk_read() 321 calc_pll(struct nv50_clk_priv *priv, u32 reg, u32 clk, int *N, int *M, int *P) in calc_pll() 364 nv50_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in nv50_clk_calc() 489 nv50_clk_prog(struct nvkm_clk *clk) in nv50_clk_prog() 496 nv50_clk_tidy(struct nvkm_clk *clk) in nv50_clk_tidy()
|
D | nv40.c | 56 u32 ref = 27000, clk = 0; in read_pll_1() local 74 u32 ref = 27000, clk = 0; in read_pll_2() local 105 nv40_clk_read(struct nvkm_clk *clk, enum nv_clk_src src) in nv40_clk_read() 130 nv40_clk_calc_pll(struct nv40_clk_priv *priv, u32 reg, u32 clk, in nv40_clk_calc_pll() 152 nv40_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in nv40_clk_calc() 192 nv40_clk_prog(struct nvkm_clk *clk) in nv40_clk_prog() 205 nv40_clk_tidy(struct nvkm_clk *clk) in nv40_clk_tidy()
|
D | mcp77.c | 42 read_div(struct nvkm_clk *clk) in read_div() 48 read_pll(struct nvkm_clk *clk, u32 base) in read_pll() 79 mcp77_clk_read(struct nvkm_clk *clk, enum nv_clk_src src) in mcp77_clk_read() 166 struct nvkm_clk *clk = &priv->base; in calc_pll() local 200 mcp77_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in mcp77_clk_calc() 295 mcp77_clk_prog(struct nvkm_clk *clk) in mcp77_clk_prog() 385 mcp77_clk_tidy(struct nvkm_clk *clk) in mcp77_clk_tidy()
|
D | nv04.c | 37 int clk, struct nvkm_pll_vals *pv) in nv04_clk_pll_calc() 53 nv04_clk_pll_prog(struct nvkm_clk *clk, u32 reg1, struct nvkm_pll_vals *pv) in nv04_clk_pll_prog()
|
/linux-4.1.27/drivers/clk/ux500/ |
D | clk-prcmu.c | 32 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_prepare() local 43 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_unprepare() local 53 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_is_prepared() local 59 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_enable() local 66 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_disable() local 72 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_is_enabled() local 79 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_recalc_rate() local 86 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_round_rate() local 93 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_set_rate() local 100 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_opp_prepare() local [all …]
|
D | clk-prcc.c | 38 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_pclk_enable() local 50 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_pclk_disable() local 58 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_kclk_enable() local 70 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_kclk_disable() local 78 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_is_enabled() local 101 struct clk_prcc *clk; in clk_reg_prcc() local
|
D | u8500_of_clk.c | 25 #define PRCC_SHOW(clk, base, bit) \ argument 27 #define PRCC_PCLK_STORE(clk, base, bit) \ argument 29 #define PRCC_KCLK_STORE(clk, base, bit) \ argument 64 struct clk *clk, *rtc_clk, *twd_clk; in u8500_of_clk_init() local
|
D | clk-sysctrl.c | 39 struct clk_sysctrl *clk = to_clk_sysctrl(hw); in clk_sysctrl_prepare() local 52 struct clk_sysctrl *clk = to_clk_sysctrl(hw); in clk_sysctrl_unprepare() local 61 struct clk_sysctrl *clk = to_clk_sysctrl(hw); in clk_sysctrl_recalc_rate() local 67 struct clk_sysctrl *clk = to_clk_sysctrl(hw); in clk_sysctrl_set_parent() local 97 struct clk_sysctrl *clk = to_clk_sysctrl(hw); in clk_sysctrl_get_parent() local 129 struct clk_sysctrl *clk; in clk_reg_sysctrl() local
|
D | u8540_clk.c | 20 struct clk *clk; in u8540_clk_init() local
|
D | u8500_clk.c | 22 struct clk *clk; in u8500_clk_init() local
|
/linux-4.1.27/drivers/clk/ti/ |
D | apll.c | 39 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_enable() local 90 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_disable() local 107 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_is_enabled() local 138 struct clk *clk; in omap_clk_register_apll() local 228 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_is_enabled() local 243 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_recalc() local 253 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_enable() local 284 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_disable() local 301 static void omap2_apll_set_autoidle(struct clk_hw_omap *clk, u32 val) in omap2_apll_set_autoidle() 315 static void omap2_apll_allow_idle(struct clk_hw_omap *clk) in omap2_apll_allow_idle() [all …]
|
D | autoidle.c | 37 static void ti_allow_autoidle(struct clk_ti_autoidle *clk) in ti_allow_autoidle() 51 static void ti_deny_autoidle(struct clk_ti_autoidle *clk) in ti_deny_autoidle() 107 struct clk_ti_autoidle *clk; in of_ti_clk_autoidle_setup() local
|
D | composite.c | 108 static inline struct clk_hw *_get_hw(struct clk_hw_omap_comp *clk, int idx) in _get_hw() 130 struct clk *clk; in ti_clk_register_composite() local 162 struct clk *clk; in _register_composite() local 278 struct component_clk *clk; in ti_clk_add_component() local
|
D | clk.c | 46 struct clk *clk; in ti_dt_clocks_register() local 201 struct clk *clk; in ti_clk_register_clk() local 264 struct clk *clk; in ti_clk_register_legacy_clks() local
|
D | gate.c | 65 static int omap36xx_gate_clk_enable_with_hsdiv_restore(struct clk_hw *clk) in omap36xx_gate_clk_enable_with_hsdiv_restore() 103 struct clk *clk; in _register_gate() local 218 struct clk *clk; in _of_ti_gate_clk_setup() local
|
D | interface.c | 42 struct clk *clk; in _register_interface() local 107 struct clk *clk; in _of_ti_interface_clk_setup() local
|
D | clk-dra7-atl.c | 43 struct clk *clk; member 172 struct clk *clk; in of_dra7_atl_clock_setup() local 242 struct clk *clk; in of_dra7_atl_clk_probe() local
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
D | clock-sh4-202.c | 25 static unsigned long emi_clk_recalc(struct clk *clk) in emi_clk_recalc() 31 static inline int frqcr3_lookup(struct clk *clk, unsigned long rate) in frqcr3_lookup() 53 static unsigned long femi_clk_recalc(struct clk *clk) in femi_clk_recalc() 68 static void shoc_clk_init(struct clk *clk) in shoc_clk_init() 91 static unsigned long shoc_clk_recalc(struct clk *clk) in shoc_clk_recalc() 97 static int shoc_clk_verify_rate(struct clk *clk, unsigned long rate) in shoc_clk_verify_rate() 112 static int shoc_clk_set_rate(struct clk *clk, unsigned long rate) in shoc_clk_set_rate() 159 struct clk *clk; in arch_clk_init() local
|
D | clock-sh4.c | 29 static void master_clk_init(struct clk *clk) in master_clk_init() 38 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 48 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 58 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | mcfclk.h | 16 struct clk { struct 18 struct clk_ops *clk_ops; argument 24 extern struct clk *mcf_clks[]; argument
|
/linux-4.1.27/kernel/time/ |
D | posix-clock.c | 35 struct posix_clock *clk = fp->private_data; in get_posix_clock() local 47 static void put_posix_clock(struct posix_clock *clk) in put_posix_clock() 55 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_read() local 71 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_poll() local 87 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_fasync() local 103 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_mmap() local 120 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_ioctl() local 138 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_compat_ioctl() local 156 struct posix_clock *clk = in posix_clock_open() local 181 struct posix_clock *clk = fp->private_data; in posix_clock_release() local [all …]
|
/linux-4.1.27/arch/mips/loongson/lemote-2f/ |
D | clock.c | 56 static void propagate_rate(struct clk *clk) in propagate_rate() 70 int clk_enable(struct clk *clk) in clk_enable() 76 void clk_disable(struct clk *clk) in clk_disable() 81 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 87 void clk_put(struct clk *clk) in clk_put() 92 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 126 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
|
/linux-4.1.27/arch/arm/mach-w90x900/ |
D | clock.c | 32 int clk_enable(struct clk *clk) in clk_enable() 45 void clk_disable(struct clk *clk) in clk_disable() 58 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 64 void nuc900_clk_enable(struct clk *clk, int enable) in nuc900_clk_enable() 79 void nuc900_subclk_enable(struct clk *clk, int enable) in nuc900_subclk_enable()
|
D | clock.h | 18 struct clk { struct 21 void (*enable)(struct clk *, int enable); argument
|
D | time.c | 52 struct clock_event_device *clk) in nuc900_clockevent_setmode() 79 struct clock_event_device *clk) in nuc900_clockevent_setnextevent() 121 struct clk *clk = clk_get(NULL, "timer0"); in nuc900_clockevents_init() local 145 struct clk *clk = clk_get(NULL, "timer1"); in nuc900_clocksource_init() local
|
/linux-4.1.27/arch/blackfin/mach-bf609/ |
D | clock.c | 89 int clk_enable(struct clk *clk) in clk_enable() 98 void clk_disable(struct clk *clk) in clk_disable() 106 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 115 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 124 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 133 unsigned long vco_get_rate(struct clk *clk) in vco_get_rate() 138 unsigned long pll_get_rate(struct clk *clk) in pll_get_rate() 152 unsigned long pll_round_rate(struct clk *clk, unsigned long rate) in pll_round_rate() 159 int pll_set_rate(struct clk *clk, unsigned long rate) in pll_set_rate() 176 unsigned long cclk_get_rate(struct clk *clk) in cclk_get_rate() [all …]
|
/linux-4.1.27/drivers/clk/mmp/ |
D | clk.c | 31 struct clk *clk; in mmp_register_fixed_rate_clks() local 52 struct clk *clk; in mmp_register_fixed_factor_clks() local 74 struct clk *clk; in mmp_register_general_gate_clks() local 100 struct clk *clk; in mmp_register_gate_clks() local 128 struct clk *clk; in mmp_register_mux_clks() local 156 struct clk *clk; in mmp_register_div_clks() local 180 struct clk *clk) in mmp_clk_add()
|
D | clk-apmu.c | 21 #define to_clk_apmu(clk) (container_of(clk, struct clk_apmu, clk)) argument 73 struct clk *clk; in mmp_clk_register_apmu() local
|
D | clk-gate.c | 30 struct clk *clk = hw->clk; in mmp_clk_gate_enable() local 102 struct clk *clk; in mmp_clk_register_gate() local
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4a/ |
D | clock-sh7780.c | 25 static void master_clk_init(struct clk *clk) in master_clk_init() 34 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 44 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 54 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc() 77 static unsigned long shyway_clk_recalc(struct clk *clk) in shyway_clk_recalc() 107 struct clk *clk; in arch_clk_init() local
|
D | clock-sh7763.c | 25 static void master_clk_init(struct clk *clk) in master_clk_init() 34 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 44 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 71 static unsigned long shyway_clk_recalc(struct clk *clk) in shyway_clk_recalc() 101 struct clk *clk; in arch_clk_init() local
|
D | clock-sh7770.c | 22 static void master_clk_init(struct clk *clk) in master_clk_init() 31 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 41 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 51 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7724.c | 59 static unsigned long fll_recalc(struct clk *clk) in fll_recalc() 83 static unsigned long pll_recalc(struct clk *clk) in pll_recalc() 103 static unsigned long div3_recalc(struct clk *clk) in div3_recalc() 138 static void div4_kick(struct clk *clk) in div4_kick()
|
/linux-4.1.27/arch/mips/lantiq/xway/ |
D | sysctrl.c | 109 static int cgu_enable(struct clk *clk) in cgu_enable() 116 static void cgu_disable(struct clk *clk) in cgu_disable() 122 static int pmu_enable(struct clk *clk) in pmu_enable() 137 static void pmu_disable(struct clk *clk) in pmu_disable() 144 static int pci_enable(struct clk *clk) in pci_enable() 168 static int pci_ext_enable(struct clk *clk) in pci_ext_enable() 176 static void pci_ext_disable(struct clk *clk) in pci_ext_disable() 183 static int clkout_enable(struct clk *clk) in clkout_enable() 208 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in clkdev_add_pmu() local 224 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in clkdev_add_cgu() local [all …]
|
D | clk.c | 58 unsigned long clk; in ltq_danube_pp32_hz() local 105 unsigned long clk; in ltq_vr9_cpu_hz() local 145 unsigned long clk; in ltq_vr9_fpi_hz() local 178 unsigned long clk; in ltq_vr9_pp32_hz() local
|
D | gptu.c | 96 static int gptu_enable(struct clk *clk) in gptu_enable() 113 static void gptu_disable(struct clk *clk) in gptu_disable() 125 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in clkdev_add_gptu() local 138 struct clk *clk; in gptu_probe() local
|
/linux-4.1.27/drivers/clk/hisilicon/ |
D | clk.c | 84 struct clk *clk; in hisi_clk_register_fixed_rate() local 105 struct clk *clk; in hisi_clk_register_fixed_factor() local 125 struct clk *clk; in hisi_clk_register_mux() local 154 struct clk *clk; in hisi_clk_register_divider() local 183 struct clk *clk; in hisi_clk_register_gate() local 211 struct clk *clk; in hisi_clk_register_gate_sep() local
|
D | clk-hix5hd2.c | 174 struct hix5hd2_clk_complex *clk = to_complex_clk(hw); in clk_ether_prepare() local 203 struct hix5hd2_clk_complex *clk = to_complex_clk(hw); in clk_ether_unprepare() local 218 struct hix5hd2_clk_complex *clk = to_complex_clk(hw); in clk_complex_enable() local 236 struct hix5hd2_clk_complex *clk = to_complex_clk(hw); in clk_complex_disable() local 263 struct clk *clk; in hix5hd2_clk_register_complex() local
|
/linux-4.1.27/arch/sh/kernel/cpu/sh3/ |
D | clock-sh7710.c | 27 static void master_clk_init(struct clk *clk) in master_clk_init() 36 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 46 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 56 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7705.c | 33 static void master_clk_init(struct clk *clk) in master_clk_init() 42 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 52 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 62 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7706.c | 25 static void master_clk_init(struct clk *clk) in master_clk_init() 37 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 49 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 61 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7709.c | 25 static void master_clk_init(struct clk *clk) in master_clk_init() 37 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 49 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 62 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh3.c | 29 static void master_clk_init(struct clk *clk) in master_clk_init() 41 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 53 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 65 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7712.c | 24 static void master_clk_init(struct clk *clk) in master_clk_init() 36 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 48 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/ |
D | clock-sh7206.c | 27 static void master_clk_init(struct clk *clk) in master_clk_init() 36 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 46 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 55 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7201.c | 27 static void master_clk_init(struct clk *clk) in master_clk_init() 37 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 47 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 57 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7203.c | 30 static void master_clk_init(struct clk *clk) in master_clk_init() 39 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 49 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
|
D | clock-sh7269.c | 41 static unsigned long pll_recalc(struct clk *clk) in pll_recalc() 56 static unsigned long peripheral0_recalc(struct clk *clk) in peripheral0_recalc() 71 static unsigned long peripheral1_recalc(struct clk *clk) in peripheral1_recalc()
|
/linux-4.1.27/drivers/clk/pistachio/ |
D | clk.c | 63 struct clk *clk; in pistachio_clk_register_gate() local 79 struct clk *clk; in pistachio_clk_register_mux() local 97 struct clk *clk; in pistachio_clk_register_div() local 113 struct clk *clk; in pistachio_clk_register_fixed_factor() local 130 struct clk *clk = p->clk_data.clks[clk_ids[i]]; in pistachio_clk_force_enable() local
|
/linux-4.1.27/arch/sh/kernel/cpu/sh5/ |
D | clock-sh5.c | 25 static void master_clk_init(struct clk *clk) in master_clk_init() 35 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 45 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 55 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
/linux-4.1.27/drivers/clocksource/ |
D | arm_arch_timer.c | 80 struct clock_event_device *clk) in arch_timer_reg_write() 109 struct clock_event_device *clk) in arch_timer_reg_read() 185 struct clock_event_device *clk) in timer_set_mode() 201 struct clock_event_device *clk) in arch_timer_set_mode_virt() 207 struct clock_event_device *clk) in arch_timer_set_mode_phys() 213 struct clock_event_device *clk) in arch_timer_set_mode_virt_mem() 219 struct clock_event_device *clk) in arch_timer_set_mode_phys_mem() 225 struct clock_event_device *clk) in set_next_event() 236 struct clock_event_device *clk) in arch_timer_set_next_event_virt() 243 struct clock_event_device *clk) in arch_timer_set_next_event_phys() [all …]
|
D | arm_global_timer.c | 111 struct clock_event_device *clk) in gt_clockevent_set_mode() 167 static int gt_clockevents_init(struct clock_event_device *clk) in gt_clockevents_init() 185 static void gt_clockevents_stop(struct clock_event_device *clk) in gt_clockevents_stop()
|
D | timer-sun5i.c | 42 struct clk *clk; member 183 struct clk *clk, int irq) in sun5i_setup_clocksource() 255 struct clk *clk, int irq) in sun5i_setup_clockevent() 323 struct clk *clk; in sun5i_timer_init() local
|
D | time-armada-370-xp.c | 317 struct clk *clk = of_clk_get_by_name(np, "fixed"); in armada_xp_timer_init() local 331 struct clk *clk; in armada_375_timer_init() local 359 struct clk *clk = of_clk_get(np, 0); in armada_370_timer_init() local
|
D | mtk_timer.c | 106 struct clock_event_device *clk) in mtk_clkevt_mode() 129 struct clock_event_device *clk) in mtk_clkevt_next_event() 188 struct clk *clk; in mtk_timer_init() local
|
D | moxart_timer.c | 62 struct clock_event_device *clk) in moxart_clkevt_mode() 123 struct clk *clk; in moxart_timer_init() local
|
D | sun4i_timer.c | 85 struct clock_event_device *clk) in sun4i_clkevt_mode() 149 struct clk *clk; in sun4i_timer_init() local
|
D | pxa_timer.c | 185 struct clk *clk; in pxa_timer_dt_init() local 217 struct clk *clk; in pxa_timer_nodt_init() local
|
/linux-4.1.27/arch/sh/kernel/ |
D | localtimer.c | 35 struct clock_event_device *clk = this_cpu_ptr(&local_clockevent); in local_timer_interrupt() local 43 struct clock_event_device *clk) in dummy_timer_set_mode() 49 struct clock_event_device *clk = &per_cpu(local_clockevent, cpu); in local_timer_setup() local
|
/linux-4.1.27/drivers/clk/samsung/ |
D | clk.c | 92 void samsung_clk_add_lookup(struct samsung_clk_provider *ctx, struct clk *clk, in samsung_clk_add_lookup() 104 struct clk *clk; in samsung_clk_register_alias() local 137 struct clk *clk; in samsung_clk_register_fixed_rate() local 166 struct clk *clk; in samsung_clk_register_fixed_factor() local 187 struct clk *clk; in samsung_clk_register_mux() local 219 struct clk *clk; in samsung_clk_register_div() local 258 struct clk *clk; in samsung_clk_register_gate() local 308 struct clk *clk; in _get_rate() local
|
/linux-4.1.27/arch/mips/lantiq/falcon/ |
D | sysctrl.c | 82 static inline void sysctl_wait(struct clk *clk, in sysctl_wait() 95 static int sysctl_activate(struct clk *clk) in sysctl_activate() 103 static void sysctl_deactivate(struct clk *clk) in sysctl_deactivate() 110 static int sysctl_clken(struct clk *clk) in sysctl_clken() 118 static void sysctl_clkdis(struct clk *clk) in sysctl_clkdis() 124 static void sysctl_reboot(struct clk *clk) in sysctl_reboot() 170 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in clkdev_add_sys() local
|
/linux-4.1.27/drivers/clk/rockchip/ |
D | clk.c | 49 struct clk *clk; in rockchip_clk_register_branch() local 111 struct clk *clk; in rockchip_clk_register_frac_branch() local 183 void rockchip_clk_add_lookup(struct clk *clk, unsigned int id) in rockchip_clk_add_lookup() 192 struct clk *clk; in rockchip_clk_register_plls() local 216 struct clk *clk = NULL; in rockchip_clk_register_branches() local 306 struct clk *clk; in rockchip_clk_register_armclk() local 327 struct clk *clk = __clk_lookup(clocks[i]); in rockchip_clk_protect_critical() local
|
/linux-4.1.27/arch/sh/kernel/cpu/sh2/ |
D | clock-sh7619.c | 26 static void master_clk_init(struct clk *clk) in master_clk_init() 35 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 45 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
|
/linux-4.1.27/arch/mips/ath79/ |
D | clock.c | 31 struct clk { struct 37 struct clk *clk; in ath79_add_sys_clkdev() argument 459 struct clk *clk; in ath79_get_sys_clk_rate() local 475 int clk_enable(struct clk *clk) in clk_enable() 481 void clk_disable(struct clk *clk) in clk_disable() 486 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
|
/linux-4.1.27/drivers/clk/zynq/ |
D | pll.c | 86 struct zynq_pll *clk = to_zynq_pll(hw); in zynq_pll_recalc_rate() local 111 struct zynq_pll *clk = to_zynq_pll(hw); in zynq_pll_is_enabled() local 131 struct zynq_pll *clk = to_zynq_pll(hw); in zynq_pll_enable() local 161 struct zynq_pll *clk = to_zynq_pll(hw); in zynq_pll_disable() local 201 struct clk *clk; in clk_register_zynq_pll() local
|
/linux-4.1.27/arch/arm/mach-shmobile/ |
D | clock-sh73a0.c | 94 static unsigned long pll_recalc(struct clk *clk) in pll_recalc() 201 static void div4_kick(struct clk *clk) in div4_kick() 242 static unsigned long twd_recalc(struct clk *clk) in twd_recalc() 259 static int zclk_set_rate(struct clk *clk, unsigned long rate) in zclk_set_rate() 298 static long zclk_round_rate(struct clk *clk, unsigned long rate) in zclk_round_rate() 309 static unsigned long zclk_recalc(struct clk *clk) in zclk_recalc() 323 static int kicker_set_rate(struct clk *clk, unsigned long rate) in kicker_set_rate() 440 static unsigned long dsiphy_recalc(struct clk *clk) in dsiphy_recalc() 462 static long dsiphy_round_rate(struct clk *clk, unsigned long rate) in dsiphy_round_rate() 467 static void dsiphy_disable(struct clk *clk) in dsiphy_disable() [all …]
|
D | clock-r8a7740.c | 123 static unsigned long pllc01_recalc(struct clk *clk) in pllc01_recalc() 176 static int usb24s_enable(struct clk *clk) in usb24s_enable() 183 static void usb24s_disable(struct clk *clk) in usb24s_disable() 188 static int usb24s_set_parent(struct clk *clk, struct clk *parent) in usb24s_set_parent() 230 static unsigned long usb24_recalc(struct clk *clk) in usb24_recalc() 236 static int usb24_set_rate(struct clk *clk, unsigned long rate) in usb24_set_rate() 288 static void div4_kick(struct clk *clk) in div4_kick() 387 static unsigned long hdmi12_recalc(struct clk *clk) in hdmi12_recalc() 398 static int hdmi12_set_rate(struct clk *clk, unsigned long rate) in hdmi12_set_rate()
|
D | clock.c | 27 unsigned long shmobile_fixed_ratio_clk_recalc(struct clk *clk) in shmobile_fixed_ratio_clk_recalc()
|
/linux-4.1.27/drivers/clk/sunxi/ |
D | clk-sun6i-ar100.c | 39 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_recalc_rate() local 116 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_set_parent() local 131 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_get_parent() local 140 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_set_rate() local 181 struct clk *clk; in sun6i_a31_ar100_clk_probe() local
|
D | clk-a10-hosc.c | 28 struct clk *clk; in sun4i_osc_clk_setup() local
|
/linux-4.1.27/arch/arm/include/asm/ |
D | clkdev.h | 21 #define __clk_get(clk) ({ 1; }) argument 22 #define __clk_put(clk) do { } while (0) argument
|
/linux-4.1.27/include/asm-generic/ |
D | clkdev.h | 21 static inline int __clk_get(struct clk *clk) { return 1; } in __clk_get() 22 static inline void __clk_put(struct clk *clk) { } in __clk_put()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | clkdev.h | 29 #define __clk_put(clk) argument 30 #define __clk_get(clk) ({ 1; }) argument
|
/linux-4.1.27/arch/arm/common/ |
D | timer-sp.c | 36 static long __init sp804_get_clock_rate(struct clk *clk) in sp804_get_clock_rate() 76 struct clk *clk, in __sp804_clocksource_and_sched_clock_init() 183 void __init __sp804_clockevents_init(void __iomem *base, unsigned int irq, struct clk *clk, const c… in __sp804_clockevents_init() 274 struct clk *clk; in integrator_cp_of_init() local
|
/linux-4.1.27/drivers/clk/at91/ |
D | clk-slow.c | 129 struct clk *clk = NULL; in at91_clk_register_slow_osc() local 163 struct clk *clk; in of_at91sam9x5_clk_slow_osc_setup() local 241 struct clk *clk = NULL; in at91_clk_register_slow_rc_osc() local 273 struct clk *clk; in of_at91sam9x5_clk_slow_rc_osc_setup() local 338 struct clk *clk = NULL; in at91_clk_register_sam9x5_slow() local 370 struct clk *clk; in of_at91sam9x5_clk_slow_setup() local 414 struct clk *clk = NULL; in at91_clk_register_sam9260_slow() local 448 struct clk *clk; in of_at91sam9260_clk_slow_setup() local
|
D | clk-main.c | 150 struct clk *clk = NULL; in at91_clk_register_main_osc() local 195 struct clk *clk; in of_at91rm9200_clk_main_osc_setup() local 302 struct clk *clk = NULL; in at91_clk_register_main_rc_osc() local 343 struct clk *clk; in of_at91sam9x5_clk_main_rc_osc_setup() local 433 struct clk *clk = NULL; in at91_clk_register_rm9200_main() local 465 struct clk *clk; in of_at91rm9200_clk_main_setup() local 567 struct clk *clk = NULL; in at91_clk_register_sam9x5_main() local 610 struct clk *clk; in of_at91sam9x5_clk_main_setup() local
|
D | clk-usb.c | 204 struct clk *clk = NULL; in at91sam9x5_clk_register_usb() local 233 struct clk *clk = NULL; in at91sam9n12_clk_register_usb() local 348 struct clk *clk = NULL; in at91rm9200_clk_register_usb() local 375 struct clk *clk; in of_at91sam9x5_clk_usb_setup() local 403 struct clk *clk; in of_at91sam9n12_clk_usb_setup() local 423 struct clk *clk; in of_at91rm9200_clk_usb_setup() local
|
D | clk-plldiv.c | 87 struct clk *clk = NULL; in at91_clk_register_plldiv() local 114 struct clk *clk; in of_at91_clk_plldiv_setup() local
|
D | clk-utmi.c | 101 struct clk *clk = NULL; in at91_clk_register_utmi() local 135 struct clk *clk; in of_at91_clk_utmi_setup() local
|
D | clk-smd.c | 121 struct clk *clk = NULL; in at91sam9x5_clk_register_smd() local 147 struct clk *clk; in of_at91sam9x5_clk_smd_setup() local
|
/linux-4.1.27/drivers/base/power/ |
D | clock_ops.c | 31 struct clk *clk; member 73 struct clk *clk) in __pm_clk_add() 130 int pm_clk_add_clk(struct device *dev, struct clk *clk) in pm_clk_add_clk() 377 struct clk *clk; in enable_clock() local 394 struct clk *clk; in disable_clock() local
|
/linux-4.1.27/arch/mips/loongson/common/ |
D | serial.c | 22 #define PORT(int, clk) \ argument 31 #define PORT_M(int, clk) \ argument
|
/linux-4.1.27/arch/sh/boards/mach-sdk7786/ |
D | setup.c | 167 static int sdk7786_pcie_clk_enable(struct clk *clk) in sdk7786_pcie_clk_enable() 173 static void sdk7786_pcie_clk_disable(struct clk *clk) in sdk7786_pcie_clk_disable() 194 struct clk *clk; in sdk7786_clk_init() local
|
/linux-4.1.27/drivers/usb/host/ |
D | ohci-st.c | 52 int clk, ret; in st_ohci_platform_power_on() local 104 int clk; in st_ohci_platform_power_off() local 139 int err, irq, clk = 0; in st_ohci_platform_probe() local 248 int clk; in st_ohci_platform_remove() local
|
D | ohci-platform.c | 51 int clk, ret, phy_num; in ohci_platform_power_on() local 92 int clk, phy_num; in ohci_platform_power_off() local 127 int err, irq, phy_num, clk = 0; in ohci_platform_probe() local 308 int clk; in ohci_platform_remove() local
|
D | ehci-platform.c | 82 int clk, ret, phy_num; in ehci_platform_power_on() local 123 int clk, phy_num; in ehci_platform_power_off() local 158 int err, irq, phy_num, clk = 0; in ehci_platform_probe() local 332 int clk; in ehci_platform_remove() local
|
D | ehci-st.c | 76 int clk, ret; in st_ehci_platform_power_on() local 127 int clk; in st_ehci_platform_power_off() local 163 int err, irq, clk = 0; in st_ehci_platform_probe() local 271 int clk; in st_ehci_platform_remove() local
|
D | xhci-plat.c | 74 struct clk *clk; in xhci_plat_probe() local 200 struct clk *clk = xhci->clk; in xhci_plat_remove() local
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
D | armada_510.c | 20 struct clk *clk; in armada510_crtc_init() local 47 struct clk *clk = dcrtc->extclk[0]; in armada510_crtc_compute_clock() local
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | ctrl.c | 39 struct nvkm_clk *clk = nvkm_clk(object); in nvkm_control_mthd_pstate_info() local 72 struct nvkm_clk *clk = nvkm_clk(object); in nvkm_control_mthd_pstate_attr() local 145 struct nvkm_clk *clk = nvkm_clk(object); in nvkm_control_mthd_pstate_user() local
|
/linux-4.1.27/arch/s390/include/asm/ |
D | timex.h | 75 static inline void get_tod_clock_ext(char *clk) in get_tod_clock_ext() 84 unsigned char clk[STORE_CLOCK_EXT_SIZE]; in get_tod_clock() local 93 unsigned long long clk; in get_tod_clock_fast() local
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | clk.c | 23 struct clk *clk = ERR_PTR(-ENODEV); in imx_obtain_fixed_clock_from_dt() local 43 struct clk *clk; in imx_obtain_fixed_clock() local
|
D | clk-pllv1.c | 31 #define to_clk_pllv1(clk) (container_of(clk, struct clk_pllv1, clk)) argument 104 struct clk *clk; in imx_clk_pllv1() local
|
/linux-4.1.27/drivers/clk/sirf/ |
D | clk-common.c | 76 struct clk_pll *clk = to_pllclk(hw); in pll_clk_recalc_rate() local 128 struct clk_pll *clk = to_pllclk(hw); in pll_clk_set_rate() local 253 static void usb_pll_clk_disable(struct clk_hw *clk) in usb_pll_clk_disable() 297 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_get_parent() local 311 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_set_parent() local 332 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_recalc_rate() local 374 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_set_rate() local 634 struct clk_std *clk = to_stdclk(hw); in std_clk_is_enabled() local 647 struct clk_std *clk = to_stdclk(hw); in std_clk_enable() local 664 struct clk_std *clk = to_stdclk(hw); in std_clk_disable() local
|
/linux-4.1.27/arch/arm/mach-netx/ |
D | time.c | 38 struct clock_event_device *clk) in netx_set_mode() 74 struct clock_event_device *clk) in netx_set_next_event()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | gk20a.c | 53 struct nvkm_clk *clk = nvkm_clk(priv); in gk20a_pmu_dvfs_target() local 61 struct nvkm_clk *clk = nvkm_clk(priv); in gk20a_pmu_dvfs_get_cur_state() local 72 struct nvkm_clk *clk = nvkm_clk(priv); in gk20a_pmu_dvfs_get_target_state() local 120 struct nvkm_clk *clk = nvkm_clk(priv); in gk20a_pmu_dvfs_work() local
|
/linux-4.1.27/drivers/clk/tegra/ |
D | clk-tegra-fixed.c | 38 struct clk *clk, *osc; in tegra_osc_clk_init() local 86 struct clk *clk; in tegra_fixed_clk_init() local
|
D | clk-tegra-super-gen4.c | 56 struct clk *clk; in tegra_sclk_init() local 102 struct clk *clk; in tegra_super_clk_gen4_init() local
|
/linux-4.1.27/arch/sh/boards/mach-highlander/ |
D | setup.c | 314 static int ivdr_clk_enable(struct clk *clk) in ivdr_clk_enable() 320 static void ivdr_clk_disable(struct clk *clk) in ivdr_clk_disable() 373 struct clk *clk = r7780rp_clocks[i]; in highlander_setup() local
|
/linux-4.1.27/drivers/clk/keystone/ |
D | pll.c | 132 struct clk *clk; in clk_register_pll() local 167 struct clk *clk; in _of_pll_clk_init() local 258 struct clk *clk; in of_pll_div_clk_init() local 301 struct clk *clk; in of_pll_mux_clk_init() local
|
/linux-4.1.27/sound/soc/pxa/ |
D | raumfeld.c | 44 static void set_max9485_clk(char clk) in set_max9485_clk() 91 unsigned int clk = 0; in raumfeld_cs4270_hw_params() local 160 int ret = 0, clk = 0; in raumfeld_ak4104_hw_params() local
|
/linux-4.1.27/drivers/clk/shmobile/ |
D | clk-emev2.c | 74 struct clk *clk; in emev2_smu_clkdiv_init() local 92 struct clk *clk; in emev2_smu_gclk_init() local
|
D | clk-rcar-gen2.c | 143 struct clk *clk; in cpg_z_clk_register() local 172 struct clk *clk; in cpg_rcan_clk_register() local 215 struct clk *clk; in cpg_adsp_clk_register() local 404 struct clk *clk; in rcar_gen2_cpg_clocks_init() local
|
/linux-4.1.27/drivers/clk/st/ |
D | clkgen-pll.c | 399 struct clk *clk; in clkgen_pll_register() local 434 struct clk *clk; in clkgen_c65_lsdiv_register() local 553 struct clk *clk; in clkgen_odf_register() local 643 struct clk *clk; in clkgen_c32_pll_setup() local 686 struct clk *clk; in clkgen_c32_pll_setup() local 726 struct clk *clk; in clkgengpu_c32_pll_setup() local
|
D | clkgen-mux.c | 230 struct clk *clk; in clk_register_genamux() local 423 struct clk *clk; in st_of_clkgena_divmux_setup() local 493 struct clk *clk; in st_of_clkgena_prediv_setup() local 628 struct clk *clk; in st_of_clkgen_mux_setup() local 736 struct clk *clk; in st_of_clkgen_vcc_setup() local
|
/linux-4.1.27/arch/arm/plat-orion/ |
D | common.c | 29 struct clk *clk) in orion_clkdev_add() 80 static unsigned long __init uart_get_clk_rate(struct clk *clk) in uart_get_clk_rate() 93 struct clk *clk) in uart_complete() 127 struct clk *clk) in orion_uart0_init() 155 struct clk *clk) in orion_uart1_init() 183 struct clk *clk) in orion_uart2_init() 211 struct clk *clk) in orion_uart3_init()
|
/linux-4.1.27/arch/arm/kernel/ |
D | smp_twd.c | 40 struct clock_event_device *clk) in twd_set_mode() 95 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_stop() local 272 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_setup() local
|
/linux-4.1.27/drivers/usb/musb/ |
D | jz4740.c | 29 struct clk *clk; member 120 struct clk *clk; in jz4740_probe() local
|
/linux-4.1.27/drivers/mtd/nand/ |
D | orion_nand.c | 83 struct clk *clk; in orion_nand_probe() local 186 struct clk *clk; in orion_nand_remove() local
|
/linux-4.1.27/drivers/acpi/ |
D | acpi_apd.c | 50 struct clk *clk; member 61 struct clk *clk = ERR_PTR(-ENODEV); in acpi_apd_setup() local
|
/linux-4.1.27/sound/soc/sh/rcar/ |
D | adg.c | 20 struct clk *clk[CLKMAX]; member 304 struct clk *clk; in rsnd_adg_ssi_clk_try_start() local 364 struct clk *clk; in rsnd_adg_ssi_clk_init() local 416 struct clk *clk; in rsnd_adg_probe() local
|
/linux-4.1.27/drivers/clk/pxa/ |
D | clk-pxa.c | 72 const char *dev_id, struct clk *clk) in clkdev_pxa_register() 84 struct clk *clk; in clk_pxa_cken_init() local
|
/linux-4.1.27/drivers/char/hw_random/ |
D | bcm63xx-rng.c | 28 struct clk *clk; member 82 struct clk *clk; in bcm63xx_rng_probe() local
|
/linux-4.1.27/drivers/cpufreq/ |
D | ls1x-cpufreq.c | 25 struct clk *clk; /* CPU clk */ member 142 struct clk *clk; in ls1x_cpufreq_probe() local
|
/linux-4.1.27/drivers/clk/spear/ |
D | spear3xx_clock.c | 143 struct clk *clk; in spear300_clk_init() local 173 struct clk *clk; in spear310_clk_init() local 251 struct clk *clk; in spear320_clk_init() local 392 struct clk *clk, *clk1, *ras_apb_clk; in spear3xx_clk_init() local
|
/linux-4.1.27/drivers/pcmcia/ |
D | sa11xx_base.c | 138 unsigned long clk = clk_get_rate(skt->clk); in sa1100_pcmcia_set_timing() local 223 struct clk *clk; in sa11xx_drv_pcmcia_probe() local
|
/linux-4.1.27/arch/powerpc/sysdev/qe_lib/ |
D | usb.c | 23 int qe_usb_clock_set(enum qe_clock clk, int rate) in qe_usb_clock_set()
|
/linux-4.1.27/include/linux/platform_data/ |
D | clk-lpss.h | 18 struct clk *clk; member
|
/linux-4.1.27/drivers/clk/x86/ |
D | clk-lpt.c | 24 struct clk *clk; in lpt_clk_probe() local
|
/linux-4.1.27/drivers/clk/versatile/ |
D | clk-realview.c | 53 struct clk *clk; in realview_clk_init() local
|
/linux-4.1.27/arch/mips/pistachio/ |
D | time.c | 34 struct clk *clk; in plat_time_init() local
|
/linux-4.1.27/drivers/mmc/host/ |
D | sdhci-s3c.c | 187 struct clk *clk = ourhost->clk_bus[best_src]; in sdhci_s3c_set_clock() local 261 struct clk *clk; in sdhci_cmu_get_max_clock() local 283 struct clk *clk; in sdhci_cmu_get_min_clock() local 303 u16 clk = 0; in sdhci_cmu_set_clock() local
|
/linux-4.1.27/arch/microblaze/kernel/cpu/ |
D | cpuinfo.c | 116 struct clk *clk; in setup_cpuinfo_clk() local
|
/linux-4.1.27/drivers/tty/serial/ |
D | of_serial.c | 27 struct clk *clk; member 63 u32 clk, spd, prop; in of_platform_serial_setup() local
|