/linux-4.4.14/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.4.14/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.4.14/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.4.14/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() 423 static inline void clk_put(struct clk *clk) {} in clk_put() 425 static inline void devm_clk_put(struct device *dev, struct clk *clk) {} in devm_clk_put() 427 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.4.14/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.4.14/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.4.14/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.4.14/arch/arm/mach-davinci/ |
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 | 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() 113 void clk_disable(struct clk *clk) in clk_disable() 126 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 135 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 150 struct clk *clk; in propagate_rate() local [all …]
|
D | da850.c | 397 static void ehrpwm_tblck_enable(struct clk *clk) in ehrpwm_tblck_enable() 406 static void ehrpwm_tblck_disable(struct clk *clk) in ehrpwm_tblck_disable() 914 struct clk *clk, *newparent = pllnum ? &pll1_sysclk2 : &pll0_sysclk2; in da850_set_async3_src() local 1094 static int da850_round_armrate(struct clk *clk, unsigned long rate) in da850_round_armrate() 1117 static int da850_set_armrate(struct clk *clk, unsigned long index) in da850_set_armrate() 1124 static int da850_set_pll0rate(struct clk *clk, unsigned long index) in da850_set_pll0rate() 1148 static int da850_set_armrate(struct clk *clk, unsigned long rate) in da850_set_armrate() 1153 static int da850_set_pll0rate(struct clk *clk, unsigned long armrate) in da850_set_pll0rate() 1158 static int da850_round_armrate(struct clk *clk, unsigned long rate) in da850_round_armrate()
|
D | aemif.c | 67 static int aemif_calc_rate(int wanted, unsigned long clk, int max) in aemif_calc_rate() 157 struct clk *clk; in davinci_aemif_setup() local
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/arch/mips/lantiq/ |
D | clk.h | 60 struct clk { struct 61 struct clk_lookup cl; argument 67 int (*enable) (struct clk *clk); argument 68 void (*disable) (struct clk *clk); argument 69 int (*activate) (struct clk *clk); argument 70 void (*deactivate) (struct clk *clk); argument 71 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.4.14/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.4.14/drivers/clk/ti/ |
D | dpll3xxx.c | 50 static void _omap3_dpll_write_clken(struct clk_hw_omap *clk, u8 clken_bits) in _omap3_dpll_write_clken() 64 static int _omap3_wait_dpll_status(struct clk_hw_omap *clk, u8 state) in _omap3_wait_dpll_status() 96 static u16 _omap3_dpll_compute_freqsel(struct clk_hw_omap *clk, u8 n) in _omap3_dpll_compute_freqsel() 141 static int _omap3_noncore_dpll_lock(struct clk_hw_omap *clk) in _omap3_noncore_dpll_lock() 187 static int _omap3_noncore_dpll_bypass(struct clk_hw_omap *clk) in _omap3_noncore_dpll_bypass() 219 static int _omap3_noncore_dpll_stop(struct clk_hw_omap *clk) in _omap3_noncore_dpll_stop() 250 static void _lookup_dco(struct clk_hw_omap *clk, u8 *dco, u16 m, u8 n) in _lookup_dco() 275 static void _lookup_sddiv(struct clk_hw_omap *clk, u8 *sd_div, u16 m, u8 n) in _lookup_sddiv() 305 static int omap3_noncore_dpll_program(struct clk_hw_omap *clk, u16 freqsel) in omap3_noncore_dpll_program() 395 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_dpll_recalc() local [all …]
|
D | apll.c | 42 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_enable() local 93 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_disable() local 110 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_is_enabled() local 141 struct clk *clk; in omap_clk_register_apll() local 229 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_is_enabled() local 244 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_recalc() local 254 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_enable() local 285 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_disable() local 302 static void omap2_apll_set_autoidle(struct clk_hw_omap *clk, u32 val) in omap2_apll_set_autoidle() 316 static void omap2_apll_allow_idle(struct clk_hw_omap *clk) in omap2_apll_allow_idle() [all …]
|
D | clkt_dflt.c | 58 static int _wait_idlest_generic(struct clk_hw_omap *clk, void __iomem *reg, in _wait_idlest_generic() 92 static void _omap2_module_wait_ready(struct clk_hw_omap *clk) in _omap2_module_wait_ready() 141 void omap2_clk_dflt_find_companion(struct clk_hw_omap *clk, in omap2_clk_dflt_find_companion() 170 void omap2_clk_dflt_find_idlest(struct clk_hw_omap *clk, in omap2_clk_dflt_find_idlest() 202 struct clk_hw_omap *clk; in omap2_dflt_clk_enable() local 263 struct clk_hw_omap *clk; in omap2_dflt_clk_disable() local 300 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_dflt_clk_is_enabled() local
|
D | dpll44xx.c | 40 static void omap4_dpllmx_allow_gatectrl(struct clk_hw_omap *clk) in omap4_dpllmx_allow_gatectrl() 58 static void omap4_dpllmx_deny_gatectrl(struct clk_hw_omap *clk) in omap4_dpllmx_deny_gatectrl() 118 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_recalc() local 154 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_round_rate() local 205 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_determine_rate() local
|
D | autoidle.c | 46 int omap2_clk_deny_idle(struct clk *clk) in omap2_clk_deny_idle() 62 int omap2_clk_allow_idle(struct clk *clk) in omap2_clk_allow_idle() 72 static void _allow_autoidle(struct clk_ti_autoidle *clk) in _allow_autoidle() 86 static void _deny_autoidle(struct clk_ti_autoidle *clk) in _deny_autoidle() 142 struct clk_ti_autoidle *clk; in of_ti_clk_autoidle_setup() local
|
D | clk-3xxx.c | 61 static void omap3430es2_clk_ssi_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_ssi_find_idlest() 95 static void omap3430es2_clk_dss_usbhost_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_dss_usbhost_find_idlest() 132 static void omap3430es2_clk_hsotgusb_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_hsotgusb_find_idlest() 163 static void am35xx_clk_find_idlest(struct clk_hw_omap *clk, in am35xx_clk_find_idlest() 187 static void am35xx_clk_find_companion(struct clk_hw_omap *clk, in am35xx_clk_find_companion() 214 static void am35xx_clk_ipss_find_idlest(struct clk_hw_omap *clk, in am35xx_clk_ipss_find_idlest()
|
D | clockdomain.c | 44 struct clk_hw_omap *clk; in omap2_clkops_enable_clkdm() local 83 struct clk_hw_omap *clk; in omap2_clkops_disable_clkdm() local 108 struct clk *clk; in of_ti_clockdomain_setup() local
|
D | clkt_iclk.c | 31 void omap2_clkt_iclk_allow_idle(struct clk_hw_omap *clk) in omap2_clkt_iclk_allow_idle() 45 void omap2_clkt_iclk_deny_idle(struct clk_hw_omap *clk) in omap2_clkt_iclk_deny_idle() 70 static void omap2430_clk_i2chs_find_idlest(struct clk_hw_omap *clk, in omap2430_clk_i2chs_find_idlest()
|
D | clkt_dpll.c | 70 static int _dpll_test_fint(struct clk_hw_omap *clk, unsigned int n) in _dpll_test_fint() 208 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_init_dpll_parent() local 241 unsigned long omap2_get_dpll_rate(struct clk_hw_omap *clk) in omap2_get_dpll_rate() 288 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_dpll_round_rate() 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 | interface.c | 42 struct clk *clk; in _register_interface() local 107 struct clk *clk; in _of_ti_interface_clk_setup() local
|
D | clk.c | 106 struct clk *clk; in ti_dt_clocks_register() local 296 struct clk *clk; in ti_clk_register_clk() local 359 struct clk *clk; in ti_clk_register_legacy_clks() local
|
D | clk-dra7-atl.c | 44 struct clk *clk; member 173 struct clk *clk; in of_dra7_atl_clock_setup() local 243 struct clk *clk; in of_dra7_atl_clk_probe() local
|
D | mux.c | 108 struct clk *clk; in _register_mux() local 181 struct clk *clk; in of_mux_clk_setup() local
|
D | dpll.c | 148 struct clk *clk; in _register_dpll() local 199 struct clk *clk; in ti_clk_register_dpll() local 293 struct clk *clk; in _register_dpll_x2() local
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gk104.c | 50 read_vco(struct gk104_clk *clk, u32 dsrc) in read_vco() 60 read_pll(struct gk104_clk *clk, u32 pll) in read_pll() 106 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() 133 read_mem(struct gk104_clk *clk) in read_mem() 145 read_clk(struct gk104_clk *clk, int idx) in read_clk() 191 struct gk104_clk *clk = gk104_clk(base); in gk104_clk_read() local 223 calc_div(struct gk104_clk *clk, int idx, u32 ref, u32 freq, u32 *ddiv) in calc_div() 234 calc_src(struct gk104_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src() 263 calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() 287 calc_clk(struct gk104_clk *clk, in calc_clk() [all …]
|
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() 138 nvkm_cstate_new(struct nvkm_clk *clk, int idx, struct nvkm_pstate *pstate) in nvkm_cstate_new() 175 nvkm_pstate_prog(struct nvkm_clk *clk, int pstatei) in nvkm_pstate_prog() 206 struct nvkm_clk *clk = container_of(work, typeof(*clk), work); in nvkm_pstate_work() local 241 nvkm_pstate_calc(struct nvkm_clk *clk, bool wait) in nvkm_pstate_calc() 251 nvkm_pstate_info(struct nvkm_clk *clk, struct nvkm_pstate *pstate) in nvkm_pstate_info() 307 nvkm_pstate_new(struct nvkm_clk *clk, int idx) in nvkm_pstate_new() 376 nvkm_clk_ustate_update(struct nvkm_clk *clk, int req) in nvkm_clk_ustate_update() 400 nvkm_clk_nstate(struct nvkm_clk *clk, const char *mode, int arglen) in nvkm_clk_nstate() [all …]
|
D | gt215.c | 43 read_vco(struct gt215_clk *clk, int idx) in read_vco() 61 read_clk(struct gt215_clk *clk, int idx, bool ignore_en) in read_clk() 108 read_pll(struct gt215_clk *clk, int idx, u32 pll) in read_pll() 142 struct gt215_clk *clk = gt215_clk(base); in gt215_clk_read() local 187 struct gt215_clk *clk = gt215_clk(base); in gt215_clk_info() local 235 struct gt215_clk *clk = gt215_clk(base); in gt215_pll_info() local 271 calc_clk(struct gt215_clk *clk, struct nvkm_cstate *cstate, in calc_clk() 282 calc_host(struct gt215_clk *clk, struct nvkm_cstate *cstate) in calc_host() 304 gt215_clk_pre(struct nvkm_clk *clk, unsigned long *flags) in gt215_clk_pre() 339 gt215_clk_post(struct nvkm_clk *clk, unsigned long *flags) in gt215_clk_post() [all …]
|
D | gf100.c | 49 read_vco(struct gf100_clk *clk, u32 dsrc) in read_vco() 59 read_pll(struct gf100_clk *clk, u32 pll) in read_pll() 98 read_div(struct gf100_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() 125 read_clk(struct gf100_clk *clk, int idx) in read_clk() 152 struct gf100_clk *clk = gf100_clk(base); in gf100_clk_read() local 202 calc_div(struct gf100_clk *clk, int idx, u32 ref, u32 freq, u32 *ddiv) in calc_div() 213 calc_src(struct gf100_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src() 242 calc_pll(struct gf100_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() 266 calc_clk(struct gf100_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) in calc_clk() 319 struct gf100_clk *clk = gf100_clk(base); in gf100_clk_calc() local [all …]
|
D | nv50.c | 32 read_div(struct nv50_clk *clk) in read_div() 52 read_pll_src(struct nv50_clk *clk, u32 base) in read_pll_src() 125 read_pll_ref(struct nv50_clk *clk, u32 base) in read_pll_ref() 158 read_pll(struct nv50_clk *clk, u32 base) in read_pll() 194 struct nv50_clk *clk = nv50_clk(base); in nv50_clk_read() local 325 calc_pll(struct nv50_clk *clk, u32 reg, u32 idx, int *N, int *M, int *P) in calc_pll() 370 struct nv50_clk *clk = nv50_clk(base); in nv50_clk_calc() local 497 struct nv50_clk *clk = nv50_clk(base); in nv50_clk_prog() local 504 struct nv50_clk *clk = nv50_clk(base); in nv50_clk_tidy() local 512 struct nv50_clk *clk; in nv50_clk_new_() local
|
D | gk20a.c | 125 gk20a_pllg_read_mnp(struct gk20a_clk *clk) in gk20a_pllg_read_mnp() 137 gk20a_pllg_calc_rate(struct gk20a_clk *clk) in gk20a_pllg_calc_rate() 150 gk20a_pllg_calc_mnp(struct gk20a_clk *clk, unsigned long rate) in gk20a_pllg_calc_mnp() 268 gk20a_pllg_slide(struct gk20a_clk *clk, u32 n) in gk20a_pllg_slide() 327 _gk20a_pllg_enable(struct gk20a_clk *clk) in _gk20a_pllg_enable() 335 _gk20a_pllg_disable(struct gk20a_clk *clk) in _gk20a_pllg_disable() 343 _gk20a_pllg_program_mnp(struct gk20a_clk *clk, bool allow_slide) in _gk20a_pllg_program_mnp() 431 gk20a_pllg_program_mnp(struct gk20a_clk *clk) in gk20a_pllg_program_mnp() 443 gk20a_pllg_disable(struct gk20a_clk *clk) in gk20a_pllg_disable() 565 struct gk20a_clk *clk = gk20a_clk(base); in gk20a_clk_read() local [all …]
|
D | nv40.c | 40 read_pll_1(struct nv40_clk *clk, u32 reg) in read_pll_1() 56 read_pll_2(struct nv40_clk *clk, u32 reg) in read_pll_2() 82 read_clk(struct nv40_clk *clk, u32 src) in read_clk() 99 struct nv40_clk *clk = nv40_clk(base); in nv40_clk_read() local 124 nv40_clk_calc_pll(struct nv40_clk *clk, u32 reg, u32 khz, in nv40_clk_calc_pll() 148 struct nv40_clk *clk = nv40_clk(base); in nv40_clk_calc() local 188 struct nv40_clk *clk = nv40_clk(base); in nv40_clk_prog() local 223 struct nv40_clk *clk; in nv40_clk_new() local
|
D | mcp77.c | 42 read_div(struct mcp77_clk *clk) in read_div() 49 read_pll(struct mcp77_clk *clk, u32 base) in read_pll() 83 struct mcp77_clk *clk = mcp77_clk(base); in mcp77_clk_read() local 165 calc_pll(struct mcp77_clk *clk, u32 reg, in calc_pll() 205 struct mcp77_clk *clk = mcp77_clk(base); in mcp77_clk_calc() local 301 struct mcp77_clk *clk = mcp77_clk(base); in mcp77_clk_prog() local 416 struct mcp77_clk *clk; in mcp77_clk_new() local
|
D | nv04.c | 33 int clk, struct nvkm_pll_vals *pv) in nv04_clk_pll_calc() 49 nv04_clk_pll_prog(struct nvkm_clk *clk, u32 reg1, struct nvkm_pll_vals *pv) in nv04_clk_pll_prog()
|
/linux-4.4.14/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.4.14/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.4.14/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 | 24 #define PRCC_SHOW(clk, base, bit) \ argument 26 #define PRCC_PCLK_STORE(clk, base, bit) \ argument 28 #define PRCC_KCLK_STORE(clk, base, bit) \ argument 72 struct clk *clk, *rtc_clk, *twd_clk; in u8500_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
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/mips/loongson64/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.4.14/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.4.14/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 | 80 struct clock_event_device *clk) in nuc900_clockevent_setnextevent() 126 struct clk *clk = clk_get(NULL, "timer0"); in nuc900_clockevents_init() local 150 struct clk *clk = clk_get(NULL, "timer1"); in nuc900_clocksource_init() local
|
/linux-4.4.14/drivers/clk/mmp/ |
D | clk.c | 30 struct clk *clk; in mmp_register_fixed_rate_clks() local 51 struct clk *clk; in mmp_register_fixed_factor_clks() local 73 struct clk *clk; in mmp_register_general_gate_clks() local 99 struct clk *clk; in mmp_register_gate_clks() local 127 struct clk *clk; in mmp_register_mux_clks() local 155 struct clk *clk; in mmp_register_div_clks() local 179 struct clk *clk) in mmp_clk_add()
|
D | clk-apmu.c | 20 #define to_clk_apmu(clk) (container_of(clk, struct clk_apmu, clk)) argument 72 struct clk *clk; in mmp_clk_register_apmu() local
|
/linux-4.4.14/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.4.14/drivers/clk/hisilicon/ |
D | clk.c | 78 struct clk *clk; in hisi_clk_register_fixed_rate() local 99 struct clk *clk; in hisi_clk_register_fixed_factor() local 119 struct clk *clk; in hisi_clk_register_mux() local 148 struct clk *clk; in hisi_clk_register_divider() local 177 struct clk *clk; in hisi_clk_register_gate() local 205 struct clk *clk; in hisi_clk_register_gate_sep() local 233 struct clk *clk; in hi6220_clk_register_divider() 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 264 struct clk *clk; in hix5hd2_clk_register_complex() local
|
/linux-4.4.14/drivers/clk/ |
D | clk-scpi.c | 35 #define to_scpi_clk(clk) container_of(clk, struct scpi_clk, hw) argument 42 struct scpi_clk *clk = to_scpi_clk(hw); in scpi_clk_recalc_rate() local 62 struct scpi_clk *clk = to_scpi_clk(hw); in scpi_clk_set_rate() local 74 static int __scpi_dvfs_round_rate(struct scpi_clk *clk, unsigned long rate) in __scpi_dvfs_round_rate() 96 struct scpi_clk *clk = to_scpi_clk(hw); in scpi_dvfs_recalc_rate() local 110 struct scpi_clk *clk = to_scpi_clk(hw); in scpi_dvfs_round_rate() local 115 static int __scpi_find_dvfs_index(struct scpi_clk *clk, unsigned long rate) in __scpi_find_dvfs_index() 129 struct scpi_clk *clk = to_scpi_clk(hw); in scpi_dvfs_set_rate() local 154 struct clk *clk; in scpi_clk_ops_init() local 182 struct scpi_clk **clk; member
|
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() 291 clkdev_alloc(struct clk *clk, const char *con_id, const char *dev_fmt, ...) in clkdev_alloc() 313 struct clk_lookup *clkdev_create(struct clk *clk, const char *con_id, in clkdev_create() 370 int clk_register_clkdev(struct clk *clk, const char *con_id, in clk_register_clkdev() 398 int clk_register_clkdevs(struct clk *clk, struct clk_lookup *cl, size_t num) in clk_register_clkdevs()
|
D | clk.c | 81 struct clk { struct 82 struct clk_core *core; argument 87 struct hlist_node clks_node; argument 275 const char *__clk_get_name(const struct clk *clk) in __clk_get_name() 287 struct clk_hw *__clk_get_hw(struct clk *clk) in __clk_get_hw() 373 unsigned int __clk_get_enable_count(struct clk *clk) in __clk_get_enable_count() 413 unsigned long __clk_get_flags(struct clk *clk) in __clk_get_flags() 435 bool __clk_is_enabled(struct clk *clk) in __clk_is_enabled() 603 void clk_unprepare(struct clk *clk) in clk_unprepare() 658 int clk_prepare(struct clk *clk) in clk_prepare() [all …]
|
D | clk-gpio.c | 38 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_gate_enable() local 47 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_gate_disable() local 54 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_gate_is_enabled() local 76 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_mux_get_parent() local 83 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_mux_set_parent() local 103 struct clk *clk; in clk_register_gpio() local 216 struct clk *clk; member 226 struct clk *clk; in of_clk_gpio_delayed_register_get() local
|
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-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 | 22 struct clk *clk, *ref_clk; in moxart_of_pll_clk_init() local 60 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 115 struct clk *clk; in of_fixed_clk_setup() local
|
D | clk-gate.c | 131 struct clk *clk; in clk_register_gate() local 168 void clk_unregister_gate(struct clk *clk) in clk_unregister_gate()
|
D | clk-fixed-factor.c | 79 struct clk *clk; in clk_register_fixed_factor() local 111 struct clk *clk; in of_fixed_factor_clk_setup() local
|
D | clk-qoriq.c | 38 struct clk *clk; member 707 struct clk *clk; in create_mux_common() local 852 struct clk *clk; in core_mux_init() local 884 struct clk *clk; in sysclk_from_parent() local 905 struct clk *clk; in create_sysclk() local 929 struct clk *clk; in sysclk_init() local 994 struct clk *clk; in create_one_pll() local 1098 struct clk *clk; in clockgen_clk_get() local
|
D | clk-nomadik.c | 260 struct clk *clk; in pll_clk_register() local 352 struct clk *clk; in src_clk_register() local 511 struct clk *clk = ERR_PTR(-EINVAL); in of_nomadik_pll_setup() local 534 struct clk *clk = ERR_PTR(-EINVAL); in of_nomadik_hclk_setup() local 558 struct clk *clk = ERR_PTR(-EINVAL); in of_nomadik_src_clk_setup() local
|
D | clk-mux.c | 126 struct clk *clk; in clk_register_mux_table() local 186 void clk_unregister_mux(struct clk *clk) in clk_unregister_mux()
|
D | clk-efm32gg.c | 18 static struct clk *clk[37]; variable
|
D | clk-xgene.c | 131 struct clk *clk; in xgene_register_clk_pll() local 166 struct clk *clk; in xgene_pllclk_init() local 403 struct clk *clk; in xgene_register_clk() local 444 struct clk *clk; in xgene_devclk_init() local
|
/linux-4.4.14/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.4.14/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_shutdown() 196 static int arch_timer_shutdown_virt(struct clock_event_device *clk) in arch_timer_shutdown_virt() 201 static int arch_timer_shutdown_phys(struct clock_event_device *clk) in arch_timer_shutdown_phys() 206 static int arch_timer_shutdown_virt_mem(struct clock_event_device *clk) in arch_timer_shutdown_virt_mem() 211 static int arch_timer_shutdown_phys_mem(struct clock_event_device *clk) in arch_timer_shutdown_phys_mem() 217 struct clock_event_device *clk) in set_next_event() 228 struct clock_event_device *clk) in arch_timer_set_next_event_virt() 235 struct clock_event_device *clk) in arch_timer_set_next_event_phys() [all …]
|
D | timer-sp804.c | 37 static long __init sp804_get_clock_rate(struct clk *clk) in sp804_get_clock_rate() 82 struct clk *clk, in __sp804_clocksource_and_sched_clock_init() 189 void __init __sp804_clockevents_init(void __iomem *base, unsigned int irq, struct clk *clk, const c… in __sp804_clockevents_init() 280 struct clk *clk; in integrator_cp_of_init() local
|
D | mtk_timer.c | 113 static int mtk_clkevt_shutdown(struct clock_event_device *clk) in mtk_clkevt_shutdown() 119 static int mtk_clkevt_set_periodic(struct clock_event_device *clk) in mtk_clkevt_set_periodic() 130 struct clock_event_device *clk) in mtk_clkevt_next_event() 187 struct clk *clk; in mtk_timer_init() local
|
D | clksrc_st_lpc.c | 30 struct clk *clk; member 71 struct clk *clk; in st_clksrc_setup_clk() local
|
D | timer-sun5i.c | 42 struct clk *clk; member 187 struct clk *clk, int irq) in sun5i_setup_clocksource() 259 struct clk *clk, int irq) in sun5i_setup_clockevent() 330 struct clk *clk; in sun5i_timer_init() local
|
D | time-armada-370-xp.c | 334 struct clk *clk = of_clk_get_by_name(np, "fixed"); in armada_xp_timer_init() local 348 struct clk *clk; in armada_375_timer_init() local 376 struct clk *clk = of_clk_get(np, 0); in armada_370_timer_init() local
|
D | time-lpc32xx.c | 123 struct clk *clk; in lpc32xx_clocksource_init() local 182 struct clk *clk; in lpc32xx_clockevent_init() local
|
D | pxa_timer.c | 172 struct clk *clk; in pxa_timer_dt_init() local 204 struct clk *clk; in pxa_timer_nodt_init() local
|
/linux-4.4.14/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.4.14/drivers/clk/pistachio/ |
D | clk.c | 64 struct clk *clk; in pistachio_clk_register_gate() local 80 struct clk *clk; in pistachio_clk_register_mux() local 98 struct clk *clk; in pistachio_clk_register_div() local 114 struct clk *clk; in pistachio_clk_register_fixed_factor() local 131 struct clk *clk = p->clk_data.clks[clk_ids[i]]; in pistachio_clk_force_enable() local
|
/linux-4.4.14/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.4.14/drivers/clk/meson/ |
D | clkc.c | 43 static void meson_clk_add_lookup(struct clk *clk, unsigned int id) in meson_clk_add_lookup() 53 struct clk *clk; in meson_clk_register_composite() local 132 struct clk *clk; in meson_clk_register_fixed_factor() local 174 struct clk *clk; in meson_clk_register_fixed_rate() local 205 struct clk *clk = NULL; in meson_clk_register_clks() local
|
/linux-4.4.14/arch/mips/lantiq/xway/ |
D | clk.c | 59 unsigned long clk; in ltq_danube_pp32_hz() local 107 unsigned long clk; in ltq_vr9_cpu_hz() local 147 unsigned long clk; in ltq_vr9_fpi_hz() local 180 unsigned long clk; in ltq_vr9_pp32_hz() local 252 unsigned long clk; in ltq_ar10_pp32_hz() local 336 unsigned long clk; in ltq_grx390_pp32_hz() local
|
D | sysctrl.c | 196 static int cgu_enable(struct clk *clk) in cgu_enable() 203 static void cgu_disable(struct clk *clk) in cgu_disable() 209 static int pmu_enable(struct clk *clk) in pmu_enable() 235 static void pmu_disable(struct clk *clk) in pmu_disable() 258 static int pci_enable(struct clk *clk) in pci_enable() 282 static int pci_ext_enable(struct clk *clk) in pci_ext_enable() 290 static void pci_ext_disable(struct clk *clk) in pci_ext_disable() 307 static int clkout_enable(struct clk *clk) in clkout_enable() 332 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in clkdev_add_pmu() local 355 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in clkdev_add_cgu() local [all …]
|
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.4.14/drivers/clk/samsung/ |
D | clk.c | 96 void samsung_clk_add_lookup(struct samsung_clk_provider *ctx, struct clk *clk, in samsung_clk_add_lookup() 108 struct clk *clk; in samsung_clk_register_alias() local 142 struct clk *clk; in samsung_clk_register_fixed_rate() local 171 struct clk *clk; in samsung_clk_register_fixed_factor() local 192 struct clk *clk; in samsung_clk_register_mux() local 224 struct clk *clk; in samsung_clk_register_div() local 263 struct clk *clk; in samsung_clk_register_gate() local 313 struct clk *clk; in _get_rate() local
|
/linux-4.4.14/drivers/clk/rockchip/ |
D | clk.c | 49 struct clk *clk; in rockchip_clk_register_branch() local 118 struct clk *clk; in rockchip_clk_register_frac_branch() local 192 void rockchip_clk_add_lookup(struct clk *clk, unsigned int id) in rockchip_clk_add_lookup() 201 struct clk *clk; in rockchip_clk_register_plls() local 225 struct clk *clk = NULL; in rockchip_clk_register_branches() local 322 struct clk *clk; in rockchip_clk_register_armclk() local 343 struct clk *clk = __clk_lookup(clocks[i]); in rockchip_clk_protect_critical() local
|
/linux-4.4.14/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.4.14/drivers/clk/mediatek/ |
D | clk-mtk.c | 56 struct clk *clk; in mtk_clk_register_fixed_clks() local 79 struct clk *clk; in mtk_clk_register_factors() local 103 struct clk *clk; in mtk_clk_register_gates() local 141 struct clk *clk; in mtk_clk_register_composite() local 227 struct clk *clk; in mtk_clk_register_composites() local
|
/linux-4.4.14/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.4.14/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.4.14/drivers/clk/sunxi/ |
D | clk-sun6i-ar100.c | 39 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_recalc_rate() local 118 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_set_parent() local 133 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_get_parent() local 142 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_set_rate() local 183 struct clk *clk; in sun6i_a31_ar100_clk_probe() local
|
D | clk-a10-codec.c | 25 struct clk *clk; in sun4i_codec_clk_setup() local
|
D | clk-a10-hosc.c | 28 struct clk *clk; in sun4i_osc_clk_setup() local
|
/linux-4.4.14/drivers/clk/bcm/ |
D | clk-iproc-pll.c | 243 static int pll_set_rate(struct iproc_clk *clk, unsigned int rate_index, in pll_set_rate() 344 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_pll_enable() local 352 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_pll_disable() local 365 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_pll_recalc_rate() local 416 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_pll_round_rate() local 436 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_pll_set_rate() local 458 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_clk_enable() local 478 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_clk_disable() local 494 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_clk_recalc_rate() local 537 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_clk_set_rate() local [all …]
|
D | clk-iproc-asiu.c | 48 struct iproc_asiu_clk *clk = to_asiu_clk(hw); in iproc_asiu_clk_enable() local 65 struct iproc_asiu_clk *clk = to_asiu_clk(hw); in iproc_asiu_clk_disable() local 81 struct iproc_asiu_clk *clk = to_asiu_clk(hw); in iproc_asiu_clk_recalc_rate() local 132 struct iproc_asiu_clk *clk = to_asiu_clk(hw); in iproc_asiu_clk_set_rate() local 220 struct clk *clk; in iproc_asiu_setup() local
|
/linux-4.4.14/arch/arm/kernel/ |
D | smp_twd.c | 40 static int twd_shutdown(struct clock_event_device *clk) in twd_shutdown() 46 static int twd_set_oneshot(struct clock_event_device *clk) in twd_set_oneshot() 54 static int twd_set_periodic(struct clock_event_device *clk) in twd_set_periodic() 97 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_stop() local 274 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_setup() local
|
/linux-4.4.14/arch/arm/mach-omap2/ |
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 | 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
|
/linux-4.4.14/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.4.14/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.4.14/arch/sh/include/asm/ |
D | clkdev.h | 29 #define __clk_put(clk) argument 30 #define __clk_get(clk) ({ 1; }) argument
|
/linux-4.4.14/arch/sh/kernel/ |
D | localtimer.c | 35 struct clock_event_device *clk = this_cpu_ptr(&local_clockevent); in local_timer_interrupt() local 44 struct clock_event_device *clk = &per_cpu(local_clockevent, cpu); in local_timer_setup() local
|
/linux-4.4.14/drivers/clk/at91/ |
D | clk-slow.c | 131 struct clk *clk = NULL; in at91_clk_register_slow_osc() local 165 struct clk *clk; in of_at91sam9x5_clk_slow_osc_setup() local 243 struct clk *clk = NULL; in at91_clk_register_slow_rc_osc() local 275 struct clk *clk; in of_at91sam9x5_clk_slow_rc_osc_setup() local 340 struct clk *clk = NULL; in at91_clk_register_sam9x5_slow() local 372 struct clk *clk; in of_at91sam9x5_clk_slow_setup() local 411 struct clk *clk = NULL; in at91_clk_register_sam9260_slow() local 445 struct clk *clk; in of_at91sam9260_clk_slow_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 398 struct clk *clk; in of_at91sam9n12_clk_usb_setup() local 418 struct clk *clk; in of_at91rm9200_clk_usb_setup() local
|
D | clk-main.c | 150 struct clk *clk = NULL; in at91_clk_register_main_osc() local 197 struct clk *clk; in of_at91rm9200_clk_main_osc_setup() local 304 struct clk *clk = NULL; in at91_clk_register_main_rc_osc() local 345 struct clk *clk; in of_at91sam9x5_clk_main_rc_osc_setup() local 435 struct clk *clk = NULL; in at91_clk_register_rm9200_main() local 467 struct clk *clk; in of_at91rm9200_clk_main_setup() local 569 struct clk *clk = NULL; in at91_clk_register_sam9x5_main() local 612 struct clk *clk; in of_at91sam9x5_clk_main_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 139 struct clk *clk; in of_at91_clk_utmi_setup() local
|
D | clk-system.c | 107 struct clk *clk = NULL; in at91_clk_register_system() local 155 struct clk *clk; in of_at91_clk_sys_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.4.14/drivers/base/power/ |
D | clock_ops.c | 32 struct clk *clk; member 75 struct clk *clk) in __pm_clk_add() 134 int pm_clk_add_clk(struct device *dev, struct clk *clk) in pm_clk_add_clk() 418 struct clk *clk; in enable_clock() local 435 struct clk *clk; in disable_clock() local
|
/linux-4.4.14/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.4.14/drivers/usb/host/ |
D | ohci-platform.c | 51 int clk, ret, phy_num; in ohci_platform_power_on() local 88 int clk, phy_num; in ohci_platform_power_off() local 120 int err, irq, phy_num, clk = 0; in ohci_platform_probe() local 287 int clk; in ohci_platform_remove() local
|
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 | ehci-st.c | 71 int clk, ret; in st_ehci_platform_power_on() local 122 int clk; in st_ehci_platform_power_off() local 158 int err, irq, clk = 0; in st_ehci_platform_probe() local 266 int clk; in st_ehci_platform_remove() local
|
D | ehci-platform.c | 83 int clk, ret, phy_num; in ehci_platform_power_on() local 120 int clk, phy_num; in ehci_platform_power_off() local 152 int err, irq, phy_num, clk = 0; in ehci_platform_probe() local 322 int clk; in ehci_platform_remove() local
|
D | xhci-plat.c | 84 struct clk *clk; in xhci_plat_probe() local 211 struct clk *clk = xhci->clk; in xhci_plat_remove() local
|
/linux-4.4.14/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.4.14/arch/mips/loongson64/common/ |
D | serial.c | 22 #define PORT(int, clk) \ argument 31 #define PORT_M(int, clk) \ argument
|
/linux-4.4.14/arch/s390/include/asm/ |
D | timex.h | 76 static inline void get_tod_clock_ext(char *clk) in get_tod_clock_ext() 85 unsigned char clk[STORE_CLOCK_EXT_SIZE]; in get_tod_clock() local 94 unsigned long long clk; in get_tod_clock_fast() local
|
/linux-4.4.14/drivers/clk/sirf/ |
D | clk-common.c | 78 struct clk_pll *clk = to_pllclk(hw); in pll_clk_recalc_rate() local 130 struct clk_pll *clk = to_pllclk(hw); in pll_clk_set_rate() local 255 static void usb_pll_clk_disable(struct clk_hw *clk) in usb_pll_clk_disable() 299 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_get_parent() local 313 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_set_parent() local 334 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_recalc_rate() local 376 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_set_rate() local 636 struct clk_std *clk = to_stdclk(hw); in std_clk_is_enabled() local 649 struct clk_std *clk = to_stdclk(hw); in std_clk_enable() local 666 struct clk_std *clk = to_stdclk(hw); in std_clk_disable() local
|
D | clk-atlas7.c | 357 struct clk_pll *clk = to_pllclk(hw); in pll_clk_recalc_rate() local 489 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_is_enabled() local 500 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_enable() local 512 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_disable() local 524 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_recalc_rate() local 554 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_set_rate() local 565 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_get_parent() local 575 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_set_parent() local 1206 struct clk_unit *clk = to_unitclk(hw); in unit_clk_is_enabled() local 1217 struct clk_unit *clk = to_unitclk(hw); in unit_clk_enable() local [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | ctrl.c | 39 struct nvkm_clk *clk = ctrl->device->clk; in nvkm_control_mthd_pstate_info() local 72 struct nvkm_clk *clk = ctrl->device->clk; in nvkm_control_mthd_pstate_attr() local 145 struct nvkm_clk *clk = ctrl->device->clk; in nvkm_control_mthd_pstate_user() local
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | gk20a.c | 54 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_target() local 62 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_get_cur_state() local 73 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_get_target_state() local 126 struct nvkm_clk *clk = device->clk; in gk20a_pmu_dvfs_work() local
|
/linux-4.4.14/drivers/clk/tegra/ |
D | clk-tegra-fixed.c | 37 struct clk *clk, *osc; in tegra_osc_clk_init() local 85 struct clk *clk; in tegra_fixed_clk_init() local
|
D | clk-tegra-super-gen4.c | 57 struct clk *clk; in tegra_sclk_init() local 103 struct clk *clk; in tegra_super_clk_gen4_init() local
|
D | clk-tegra20.c | 637 struct clk *clk; in tegra20_pll_init() local 717 struct clk *clk; in tegra20_super_clk_init() local 742 struct clk *clk; in tegra20_audio_clk_init() local 804 struct clk *clk; in tegra20_periph_clk_init() local 879 struct clk *clk; in tegra20_osc_clk_init() local
|
/linux-4.4.14/drivers/clk/keystone/ |
D | pll.c | 131 struct clk *clk; in clk_register_pll() local 166 struct clk *clk; in _of_pll_clk_init() local 257 struct clk *clk; in of_pll_div_clk_init() local 300 struct clk *clk; in of_pll_mux_clk_init() local
|
/linux-4.4.14/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.4.14/arch/arm/mach-cns3xxx/ |
D | core.c | 116 static int cns3xxx_shutdown(struct clock_event_device *clk) in cns3xxx_shutdown() 122 static int cns3xxx_set_oneshot(struct clock_event_device *clk) in cns3xxx_set_oneshot() 132 static int cns3xxx_set_periodic(struct clock_event_device *clk) in cns3xxx_set_periodic()
|
/linux-4.4.14/arch/arm/plat-orion/ |
D | common.c | 29 struct clk *clk) in orion_clkdev_add() 76 static unsigned long __init uart_get_clk_rate(struct clk *clk) in uart_get_clk_rate() 89 struct clk *clk) in uart_complete() 123 struct clk *clk) in orion_uart0_init() 151 struct clk *clk) in orion_uart1_init() 179 struct clk *clk) in orion_uart2_init() 207 struct clk *clk) in orion_uart3_init()
|
/linux-4.4.14/drivers/clk/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 | 29 #define to_clk_pllv1(clk) (container_of(clk, struct clk_pllv1, clk)) argument 117 struct clk *clk; in imx_clk_pllv1() local
|
/linux-4.4.14/drivers/clk/shmobile/ |
D | clk-emev2.c | 80 struct clk *clk; in emev2_smu_clkdiv_init() local 98 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.4.14/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.4.14/drivers/usb/musb/ |
D | jz4740.c | 29 struct clk *clk; member 124 struct clk *clk; in jz4740_probe() local
|
/linux-4.4.14/drivers/char/hw_random/ |
D | st-rng.c | 47 struct clk *clk; member 82 struct clk *clk; in st_rng_probe() local
|
D | bcm63xx-rng.c | 28 struct clk *clk; member 82 struct clk *clk; in bcm63xx_rng_probe() local
|
/linux-4.4.14/drivers/acpi/ |
D | acpi_apd.c | 49 struct clk *clk; member 60 struct clk *clk = ERR_PTR(-ENODEV); in acpi_apd_setup() local
|
/linux-4.4.14/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.4.14/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
|
D | pxa2xx_base.c | 165 static int pxa2xx_pcmcia_set_mcxx(struct soc_pcmcia_socket *skt, unsigned int clk) in pxa2xx_pcmcia_set_mcxx() 181 unsigned long clk = clk_get_rate(skt->clk); in pxa2xx_pcmcia_set_timing() local 285 struct clk *clk; in pxa2xx_drv_pcmcia_probe() local
|
/linux-4.4.14/drivers/cpufreq/ |
D | ls1x-cpufreq.c | 25 struct clk *clk; /* CPU clk */ member 142 struct clk *clk; in ls1x_cpufreq_probe() local
|
/linux-4.4.14/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.4.14/drivers/clk/zte/ |
D | clk-zx296702.c | 230 struct clk **clk = topclk; in zx296702_top_clocks_init() local 599 struct clk **clk = lsp0clk; in zx296702_lsp0_clocks_init() local 683 struct clk **clk = lsp1clk; in zx296702_lsp1_clocks_init() local
|
/linux-4.4.14/arch/mips/xilfpga/ |
D | time.c | 22 struct clk *clk; in plat_time_init() local
|
/linux-4.4.14/drivers/nvmem/ |
D | rockchip-efuse.c | 57 struct clk *clk = _context->efuse_clk; in rockchip_efuse_read() local 129 struct clk *clk; in rockchip_efuse_probe() local
|
/linux-4.4.14/drivers/mfd/ |
D | intel-lpss.c | 74 struct clk *clk; member 282 static void intel_lpss_unregister_clock_tree(struct clk *clk) in intel_lpss_unregister_clock_tree() 295 struct clk **clk) in intel_lpss_register_clock_divider() 327 struct clk *clk; in intel_lpss_register_clock() local
|
/linux-4.4.14/drivers/clk/st/ |
D | clkgen-mux.c | 229 struct clk *clk; in clk_register_genamux() local 421 struct clk *clk; in st_of_clkgena_divmux_setup() local 493 struct clk *clk; in st_of_clkgena_prediv_setup() local 633 struct clk *clk; in st_of_clkgen_mux_setup() local 743 struct clk *clk; in st_of_clkgen_vcc_setup() local
|
/linux-4.4.14/include/linux/platform_data/ |
D | clk-lpss.h | 18 struct clk *clk; member
|
/linux-4.4.14/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.4.14/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.4.14/drivers/clk/versatile/ |
D | clk-realview.c | 52 struct clk *clk; in realview_clk_init() local
|
/linux-4.4.14/drivers/clk/x86/ |
D | clk-lpt.c | 24 struct clk *clk; in lpt_clk_probe() local
|
/linux-4.4.14/drivers/media/tuners/ |
D | fc2580.h | 40 u32 clk; member
|
/linux-4.4.14/drivers/tty/serial/ |
D | of_serial.c | 31 struct clk *clk; member 67 u32 clk, spd, prop; in of_platform_serial_setup() local
|
/linux-4.4.14/sound/soc/sh/rcar/ |
D | adg.c | 32 struct clk *clk[CLKMAX]; member 356 struct clk *clk; in rsnd_adg_ssi_clk_try_start() local 414 struct clk *clk; in rsnd_adg_get_clkin() local 435 struct clk *clk; in rsnd_adg_get_clkout() local
|
/linux-4.4.14/arch/microblaze/kernel/cpu/ |
D | cpuinfo.c | 118 struct clk *clk; in setup_cpuinfo_clk() local
|
/linux-4.4.14/drivers/clk/h8300/ |
D | clk-div.c | 17 struct clk *clk; in h8300_div_clk_setup() local
|