Home
last modified time | relevance | path

Searched refs:clk_div_table (Results 1 – 12 of 12) sorted by relevance

/u-boot/drivers/clk/renesas/
A Drcar-cpg-lib.c38 static const struct clk_div_table cpg_sdh_div_table[] = {
43 static const struct clk_div_table cpg_sd_div_table[] = {
47 static const struct clk_div_table cpg_rpc_div_table[] = {
51 static unsigned int rcar_clk_get_table_div(const struct clk_div_table *table, in rcar_clk_get_table_div()
54 const struct clk_div_table *clkt; in rcar_clk_get_table_div()
62 static int rcar_clk_get_table_val(const struct clk_div_table *table, in rcar_clk_get_table_val()
65 const struct clk_div_table *clkt; in rcar_clk_get_table_val()
75 const struct clk_div_table *table, char *name) in rcar_clk_get_rate64_div_table()
94 const struct clk_div_table *table, char *name) in rcar_clk_set_rate64_div_table()
A Drcar-cpg-lib.h18 const struct clk_div_table *table, char *name);
22 const struct clk_div_table *table, char *name);
A Dclk-rcar-gen2.c31 static const struct clk_div_table cpg_sdh_div_table[] = {
37 static const struct clk_div_table cpg_sd01_div_table[] = {
43 static u8 gen2_clk_get_sdh_div(const struct clk_div_table *table, u8 val) in gen2_clk_get_sdh_div()
A Dclk-rcar-gen3.c40 static const struct clk_div_table gen3_cpg_rpcsrc_div_table[] = {
44 static const struct clk_div_table gen4_cpg_rpcsrc_div_table[] = {
48 static const struct clk_div_table r8a77970_cpg_sd0h_div_table[] = {
54 static const struct clk_div_table r8a77970_cpg_sd0_div_table[] = {
/u-boot/drivers/clk/
A Dclk-divider.c35 unsigned int clk_divider_get_table_div(const struct clk_div_table *table, in clk_divider_get_table_div()
38 const struct clk_div_table *clkt; in clk_divider_get_table_div()
46 static unsigned int _get_div(const struct clk_div_table *table, in _get_div()
62 const struct clk_div_table *table, in divider_recalc_rate()
96 bool clk_divider_is_valid_table_div(const struct clk_div_table *table, in clk_divider_is_valid_table_div()
99 const struct clk_div_table *clkt; in clk_divider_is_valid_table_div()
107 bool clk_divider_is_valid_div(const struct clk_div_table *table, in clk_divider_is_valid_div()
120 const struct clk_div_table *clkt; in clk_divider_get_table_val()
128 static unsigned int _get_val(const struct clk_div_table *table, in _get_val()
142 const struct clk_div_table *table, u8 width, in divider_get_val()
[all …]
/u-boot/include/linux/
A Dclk-provider.h112 struct clk_div_table { struct
123 const struct clk_div_table *table; argument
148 unsigned int clk_divider_get_table_div(const struct clk_div_table *table,
161 unsigned int clk_divider_get_table_val(const struct clk_div_table *table,
172 bool clk_divider_is_valid_div(const struct clk_div_table *table,
182 bool clk_divider_is_valid_table_div(const struct clk_div_table *table,
186 const struct clk_div_table *table,
/u-boot/drivers/clk/mvebu/
A Darmada-37xx-periph.c63 struct clk_div_table { struct
76 const struct clk_div_table *div_table[2]; argument
86 static const struct clk_div_table div_table1[] = {
92 static const struct clk_div_table div_table2[] = {
98 static const struct clk_div_table div_table6[] = {
278 const struct clk_div_table *i; in get_div()
365 static ulong find_best_div(const struct clk_div_table *t0, in find_best_div()
366 const struct clk_div_table *t1, ulong parent_rate, in find_best_div()
369 const struct clk_div_table *i, *j; in find_best_div()
394 const struct clk_div_table *t1; in armada_37xx_periph_clk_set_rate()
[all …]
/u-boot/drivers/clk/ti/
A Dclk-divider.c31 const struct clk_div_table *table;
41 static unsigned int _get_div(const struct clk_div_table *table, ulong flags, in _get_div()
56 static unsigned int _get_val(const struct clk_div_table *table, ulong flags, in _get_val()
71 static int _div_round_up(const struct clk_div_table *table, ulong parent_rate, in _div_round_up()
74 const struct clk_div_table *clkt; in _div_round_up()
91 static int _div_round(const struct clk_div_table *table, ulong parent_rate, in _div_round()
285 struct clk_div_table *table = NULL; in clk_ti_divider_of_to_plat()
/u-boot/drivers/clk/microchip/
A Dmpfs_clk_cfg.c23 static const struct clk_div_table mpfs_div_cpu_axi_table[] = {
29 static const struct clk_div_table mpfs_div_ahb_table[] = {
48 const struct clk_div_table *table;
A Dmpfs_clk.h45 const struct clk_div_table *table,
/u-boot/drivers/clk/stm32/
A Dclk-stm32-core.h59 const struct clk_div_table *table;
A Dclk-stm32mp13.c469 static const struct clk_div_table ck_trace_div_table[] = {

Completed in 24 milliseconds