sunxi_ccu_softc
CFATTACH_DECL_NEW(sunxi_a10_ccu, sizeof(struct sunxi_ccu_softc),
static int sun4i_a10_ccu_lcd0ch0_set_rate(struct sunxi_ccu_softc *,
static int sun4i_a10_ccu_lcd1ch0_set_rate(struct sunxi_ccu_softc *,
static u_int sun4i_a10_ccu_lcd0ch0_round_rate(struct sunxi_ccu_softc *,
static u_int sun4i_a10_ccu_lcd1ch0_round_rate(struct sunxi_ccu_softc *,
static int sun4i_a10_ccu_lcd0ch1_set_rate(struct sunxi_ccu_softc *,
static int sun4i_a10_ccu_lcd1ch1_set_rate(struct sunxi_ccu_softc *,
sun4i_a10_ccu_lcd0ch0_set_rate(struct sunxi_ccu_softc *sc,
sun4i_a10_ccu_lcd1ch0_set_rate(struct sunxi_ccu_softc *sc,
sun4i_a10_ccu_lcd0ch0_round_rate(struct sunxi_ccu_softc *sc,
sun4i_a10_ccu_lcd1ch0_round_rate(struct sunxi_ccu_softc *sc,
sun4i_a10_ccu_lcd0ch1_set_rate(struct sunxi_ccu_softc *sc,
sun4i_a10_ccu_lcd1ch1_set_rate(struct sunxi_ccu_softc *sc,
sun4i_a10_ccu_lcdxch0_set_rate(struct sunxi_ccu_softc *sc,
sun4i_a10_ccu_lcdxch0_round_rate(struct sunxi_ccu_softc *sc,
sun4i_a10_ccu_lcdxch1_set_rate(struct sunxi_ccu_softc *sc,
static struct sunxi_ccu_softc *sc0;
struct sunxi_ccu_softc * const sc = device_private(self);
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_a64_ccu, sizeof(struct sunxi_ccu_softc),
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_a64_r_ccu, sizeof(struct sunxi_ccu_softc),
CFATTACH_DECL_NEW(sunxi_h6_ccu, sizeof(struct sunxi_ccu_softc),
struct sunxi_ccu_softc * const sc = device_private(self);
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_h6_r_ccu, sizeof(struct sunxi_ccu_softc),
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_a13_ccu, sizeof(struct sunxi_ccu_softc),
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_a31_ccu, sizeof(struct sunxi_ccu_softc),
sun8i_a83t_ccu_cpux_set_rate(struct sunxi_ccu_softc *sc,
sun8i_a83t_ccu_init(struct sunxi_ccu_softc *sc)
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_a83t_ccu, sizeof(struct sunxi_ccu_softc),
sun8i_h3_ccu_init(struct sunxi_ccu_softc *sc)
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_h3_ccu, sizeof(struct sunxi_ccu_softc),
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_h3_r_ccu, sizeof(struct sunxi_ccu_softc),
sun8i_v3s_ccu_init(struct sunxi_ccu_softc *sc)
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_v3s_ccu, sizeof(struct sunxi_ccu_softc),
sun9i_a80_ccu_cpux_set_rate(struct sunxi_ccu_softc *sc,
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_a80_ccu, sizeof(struct sunxi_ccu_softc),
CFATTACH_DECL_NEW(sunxi_a80_mmcclk, sizeof(struct sunxi_ccu_softc),
struct sunxi_ccu_softc * const sc = device_private(self);
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_a80_usbclk, sizeof(struct sunxi_ccu_softc),
struct sunxi_ccu_softc * const sc = device_private(dev);
struct sunxi_ccu_softc * const sc = priv;
struct sunxi_ccu_softc * const sc = priv;
struct sunxi_ccu_softc * const sc = priv;
struct sunxi_ccu_softc * const sc = priv;
struct sunxi_ccu_softc * const sc = priv;
struct sunxi_ccu_softc * const sc = priv;
struct sunxi_ccu_softc * const sc = priv;
struct sunxi_ccu_softc * const sc = priv;
sunxi_ccu_clock_find(struct sunxi_ccu_softc *sc, const char *name)
sunxi_ccu_attach(struct sunxi_ccu_softc *sc)
sunxi_ccu_print(struct sunxi_ccu_softc *sc)
struct sunxi_ccu_softc * const sc = device_private(dev);
struct sunxi_ccu_softc * const sc = device_private(dev);
struct sunxi_ccu_softc * const sc = device_private(dev);
int sunxi_ccu_nkmp_enable(struct sunxi_ccu_softc *,
u_int sunxi_ccu_nkmp_get_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_nkmp_set_rate(struct sunxi_ccu_softc *,
const char *sunxi_ccu_nkmp_get_parent(struct sunxi_ccu_softc *,
int sunxi_ccu_nm_enable(struct sunxi_ccu_softc *,
u_int sunxi_ccu_nm_get_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_nm_set_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_nm_set_parent(struct sunxi_ccu_softc *,
const char *sunxi_ccu_nm_get_parent(struct sunxi_ccu_softc *,
int sunxi_ccu_div_enable(struct sunxi_ccu_softc *,
u_int sunxi_ccu_div_get_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_div_set_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_div_set_parent(struct sunxi_ccu_softc *,
const char *sunxi_ccu_div_get_parent(struct sunxi_ccu_softc *,
int sunxi_ccu_lcdxch0_set_rate(struct sunxi_ccu_softc *,
u_int sunxi_ccu_lcdxch0_round_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_lcdxch1_set_rate(struct sunxi_ccu_softc *sc,
u_int sunxi_ccu_prediv_get_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_prediv_set_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_prediv_set_parent(struct sunxi_ccu_softc *,
const char *sunxi_ccu_prediv_get_parent(struct sunxi_ccu_softc *,
u_int sunxi_ccu_phase_get_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_phase_set_rate(struct sunxi_ccu_softc *,
const char *sunxi_ccu_phase_get_parent(struct sunxi_ccu_softc *,
struct sunxi_ccu_softc;
u_int sunxi_ccu_fixed_factor_get_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_fixed_factor_set_rate(struct sunxi_ccu_softc *,
const char *sunxi_ccu_fixed_factor_get_parent(struct sunxi_ccu_softc *,
int sunxi_ccu_fractional_enable(struct sunxi_ccu_softc *,
u_int sunxi_ccu_fractional_get_rate(struct sunxi_ccu_softc *,
int sunxi_ccu_fractional_set_rate(struct sunxi_ccu_softc *,
u_int sunxi_ccu_fractional_round_rate(struct sunxi_ccu_softc *,
const char *sunxi_ccu_fractional_get_parent(struct sunxi_ccu_softc *,
int sunxi_ccu_mux_set_parent(struct sunxi_ccu_softc *,
const char *sunxi_ccu_mux_get_parent(struct sunxi_ccu_softc *,
int (*enable)(struct sunxi_ccu_softc *,
u_int (*get_rate)(struct sunxi_ccu_softc *,
int (*set_rate)(struct sunxi_ccu_softc *,
u_int (*round_rate)(struct sunxi_ccu_softc *,
const char * (*get_parent)(struct sunxi_ccu_softc *,
int (*set_parent)(struct sunxi_ccu_softc *,
int sunxi_ccu_attach(struct sunxi_ccu_softc *);
struct sunxi_ccu_clk *sunxi_ccu_clock_find(struct sunxi_ccu_softc *,
void sunxi_ccu_print(struct sunxi_ccu_softc *);
int sunxi_ccu_gate_enable(struct sunxi_ccu_softc *,
const char *sunxi_ccu_gate_get_parent(struct sunxi_ccu_softc *,
sunxi_ccu_lcdxch0_set_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_lcdxch0_round_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_lcdxch1_set_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_div_select_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_div_set_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_div_set_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_div_get_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_div_enable(struct sunxi_ccu_softc *sc, struct sunxi_ccu_clk *clk,
sunxi_ccu_div_get_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_fixed_factor_get_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_fixed_factor_set_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_fixed_factor_get_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_fractional_set_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_fractional_round_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_fractional_get_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_fractional_enable(struct sunxi_ccu_softc *sc,
sunxi_ccu_fractional_get_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_gate_enable(struct sunxi_ccu_softc *sc, struct sunxi_ccu_clk *clk,
sunxi_ccu_gate_get_parent(struct sunxi_ccu_softc *sc, struct sunxi_ccu_clk *clk)
sunxi_ccu_mux_set_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_mux_get_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_nkmp_set_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_nkmp_get_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_nkmp_enable(struct sunxi_ccu_softc *sc, struct sunxi_ccu_clk *clk,
sunxi_ccu_nkmp_get_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_nm_set_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_nm_set_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_nm_get_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_nm_enable(struct sunxi_ccu_softc *sc, struct sunxi_ccu_clk *clk,
sunxi_ccu_nm_get_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_phase_get_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_phase_get_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_phase_set_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_prediv_get_parent(struct sunxi_ccu_softc *sc,
sunxi_ccu_prediv_get_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_prediv_set_rate(struct sunxi_ccu_softc *sc,
sunxi_ccu_prediv_set_parent(struct sunxi_ccu_softc *sc,
struct sunxi_ccu_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(sunxi_de2ccu, sizeof(struct sunxi_ccu_softc),
CFATTACH_DECL_NEW(sunxi_d1_ccu, sizeof(struct sunxi_ccu_softc),
struct sunxi_ccu_softc * const sc = device_private(self);