ccu_common
struct ccu_common *common;
static inline struct ccu_common *hw_to_ccu_common(struct clk_hw *hw)
return container_of(hw, struct ccu_common, hw);
struct ccu_common common;
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common *common = &mix->common;
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common common;
struct ccu_common *common = &pll->common;
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common *common = &pll->common;
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common *common = &pll->common;
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common *common = &pll->common;
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common common;
static struct ccu_common *sun20i_d1_r_ccu_clks[] = {
static struct ccu_common *sun20i_d1_ccu_clks[] = {
static struct ccu_common *sun4i_sun7i_ccu_clks[] = {
static struct ccu_common *sun50i_a100_r_ccu_clks[] = {
static struct ccu_common *sun50i_a100_ccu_clks[] = {
static struct ccu_common *sun50i_a64_ccu_clks[] = {
static struct ccu_common *sun50i_h6_r_ccu_clks[] = {
static struct ccu_common *sun50i_h6_ccu_clks[] = {
static struct ccu_common *sun50i_h616_ccu_clks[] = {
static struct ccu_common *sun55i_a523_mcu_ccu_clks[] = {
static struct ccu_common *sun55i_a523_r_ccu_clks[] = {
static struct ccu_common *sun55i_a523_ccu_clks[] = {
static struct ccu_common *sun5i_a10s_ccu_clks[] = {
static struct ccu_common *sun6i_a31_ccu_clks[] = {
static struct ccu_common iosc_clk = {
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *cm = hw_to_ccu_common(hw);
static struct ccu_common iosc_32k_clk = {
static struct ccu_common *sun6i_rtc_ccu_clks[] = {
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *cm = hw_to_ccu_common(hw);
static struct ccu_common *sun8i_a23_ccu_clks[] = {
static struct ccu_common *sun8i_a33_ccu_clks[] = {
static struct ccu_common *sun8i_a83t_ccu_clks[] = {
static struct ccu_common *sun8i_de2_ccu_clks[] = {
static struct ccu_common *sun8i_h3_ccu_clks[] = {
static struct ccu_common *sun8i_r_ccu_clks[] = {
static struct ccu_common *sun8i_r40_ccu_clks[] = {
static struct ccu_common *sun8i_v3s_ccu_clks[] = {
static struct ccu_common *sun9i_a80_de_clks[] = {
static struct ccu_common *sun9i_a80_usb_clks[] = {
static struct ccu_common *sun9i_a80_ccu_clks[] = {
static struct ccu_common *suniv_ccu_clks[] = {
struct ccu_common *cclk = desc->ccu_clks[i];
struct ccu_common *cclk = desc->ccu_clks[i];
void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock)
bool ccu_is_better_rate(struct ccu_common *common,
static inline struct ccu_common *hw_to_ccu_common(struct clk_hw *hw)
return container_of(hw, struct ccu_common, hw);
struct ccu_common **ccu_clks;
void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock);
bool ccu_is_better_rate(struct ccu_common *common,
struct ccu_common *common;
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common common;
bool ccu_frac_helper_is_enabled(struct ccu_common *common,
void ccu_frac_helper_enable(struct ccu_common *common,
void ccu_frac_helper_disable(struct ccu_common *common,
bool ccu_frac_helper_has_rate(struct ccu_common *common,
unsigned long ccu_frac_helper_read_rate(struct ccu_common *common,
int ccu_frac_helper_set_rate(struct ccu_common *common,
bool ccu_frac_helper_is_enabled(struct ccu_common *common,
void ccu_frac_helper_enable(struct ccu_common *common,
void ccu_frac_helper_disable(struct ccu_common *common,
bool ccu_frac_helper_has_rate(struct ccu_common *common,
unsigned long ccu_frac_helper_read_rate(struct ccu_common *common,
int ccu_frac_helper_set_rate(struct ccu_common *common,
void ccu_gate_helper_disable(struct ccu_common *common, u32 gate)
int ccu_gate_helper_enable(struct ccu_common *common, u32 gate)
int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate)
struct ccu_common *common = hw_to_ccu_common(hw);
void ccu_gate_helper_disable(struct ccu_common *common, u32 gate);
int ccu_gate_helper_enable(struct ccu_common *common, u32 gate);
int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate);
struct ccu_common common;
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *cm = hw_to_ccu_common(hw);
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common common;
struct ccu_common common;
struct ccu_common *common = hw_to_ccu_common(hw);
static u16 ccu_mux_get_prediv(struct ccu_common *common,
u8 ccu_mux_helper_get_parent(struct ccu_common *common,
int ccu_mux_helper_set_parent(struct ccu_common *common,
unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common,
static unsigned long ccu_mux_helper_unapply_prediv(struct ccu_common *common,
int ccu_mux_helper_determine_rate(struct ccu_common *common,
struct ccu_common *common = hw_to_ccu_common(hw);
unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common,
int ccu_mux_helper_determine_rate(struct ccu_common *common,
u8 ccu_mux_helper_get_parent(struct ccu_common *common,
int ccu_mux_helper_set_parent(struct ccu_common *common,
struct ccu_common *common;
struct ccu_common common;
struct ccu_common common;
struct ccu_common *common = hw_to_ccu_common(hw);
static bool ccu_nkm_is_valid_rate(struct ccu_common *common, unsigned long parent,
static unsigned long ccu_nkm_find_best_with_parent_adj(struct ccu_common *common,
struct _ccu_nkm *nkm, struct ccu_common *common)
struct ccu_common common;
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common common;
struct ccu_common *common = hw_to_ccu_common(hw);
static unsigned long ccu_nm_find_best(struct ccu_common *common, unsigned long parent,
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common common;
struct ccu_common common;
struct ccu_common *common = hw_to_ccu_common(hw);
unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common,
bool ccu_sdm_helper_is_enabled(struct ccu_common *common,
int ccu_sdm_helper_get_factors(struct ccu_common *common,
void ccu_sdm_helper_enable(struct ccu_common *common,
void ccu_sdm_helper_disable(struct ccu_common *common,
bool ccu_sdm_helper_has_rate(struct ccu_common *common,
bool ccu_sdm_helper_is_enabled(struct ccu_common *common,
void ccu_sdm_helper_enable(struct ccu_common *common,
void ccu_sdm_helper_disable(struct ccu_common *common,
bool ccu_sdm_helper_has_rate(struct ccu_common *common,
unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common,
int ccu_sdm_helper_get_factors(struct ccu_common *common,
static struct ccu_common *th1520_pll_clks[] = {
static struct ccu_common *th1520_div_clks[] = {
static inline struct ccu_common *hw_to_ccu_common(struct clk_hw *hw)
return container_of(hw, struct ccu_common, hw);
struct ccu_common **th1520_pll_clks;
struct ccu_common **th1520_div_clks;
struct ccu_common *common = hw_to_ccu_common(hw);
struct ccu_common *common = hw_to_ccu_common(hw);
static u8 ccu_get_parent_helper(struct ccu_common *common,
static int ccu_set_parent_helper(struct ccu_common *common,
static void ccu_disable_helper(struct ccu_common *common, u32 gate)
static int ccu_enable_helper(struct ccu_common *common, u32 gate)
static int ccu_is_enabled_helper(struct ccu_common *common, u32 gate)
struct ccu_common common;
struct ccu_common common;