/** * struct aspeed_gate_data - Aspeed gated clocks * @clock_idx: bit used to gate this clock in the clock register * @reset_idx: bit used to reset this IP in the reset register. -1 if no * reset is required when enabling the clock * @name: the clock name * @parent_name: the name of the parent clock * @flags: standard clock framework flags
*/ struct aspeed_gate_data {
u8 clock_idx;
s8 reset_idx; constchar *name; constchar *parent_name; unsignedlong flags;
};
/** * struct aspeed_clk_gate - Aspeed specific clk_gate structure * @hw: handle between common and hardware-specific interfaces * @reg: register controlling gate * @clock_idx: bit used to gate this clock in the clock register * @reset_idx: bit used to reset this IP in the reset register. -1 if no * reset is required when enabling the clock * @flags: hardware-specific flags * @lock: register lock * * Some of the clocks in the Aspeed SoC must be put in reset before enabling. * This modified version of clk_gate allows an optional reset bit to be * specified.
*/ struct aspeed_clk_gate { struct clk_hw hw; struct regmap *map;
u8 clock_idx;
s8 reset_idx;
u8 flags;
spinlock_t *lock;
};
/** * struct aspeed_clk_soc_data - Aspeed SoC specific divisor information * @div_table: Common divider lookup table * @eclk_div_table: Divider lookup table for ECLK * @mac_div_table: Divider lookup table for MAC (Ethernet) clocks * @calc_pll: Callback to maculate common PLL settings
*/ struct aspeed_clk_soc_data { conststruct clk_div_table *div_table; conststruct clk_div_table *eclk_div_table; conststruct clk_div_table *mac_div_table; struct clk_hw *(*calc_pll)(constchar *name, u32 val);
};
Messung V0.5
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.10Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.