Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/clk/
H A Dclk-divider.c45 static unsigned int _get_table_maxdiv(const struct clk_div_table *table, in _get_table_maxdiv()
49 const struct clk_div_table *clkt; in _get_table_maxdiv()
57 static unsigned int _get_table_mindiv(const struct clk_div_table *table) in _get_table_mindiv()
60 const struct clk_div_table *clkt; in _get_table_mindiv()
68 static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, in _get_maxdiv()
80 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div()
83 const struct clk_div_table *clkt; in _get_table_div()
91 static unsigned int _get_div(const struct clk_div_table *table, in _get_div()
105 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val()
108 const struct clk_div_table *clkt; in _get_table_val()
[all …]
H A Dclk-aspeed.h13 struct clk_div_table;
78 const struct clk_div_table *div_table;
79 const struct clk_div_table *eclk_div_table;
80 const struct clk_div_table *mac_div_table;
H A Dclk-milbeaut.c75 const struct clk_div_table *table;
100 static const struct clk_div_table emmcclk_table[] = {
108 static const struct clk_div_table mclk400_table[] = {
114 static const struct clk_div_table mclk200_table[] = {
120 static const struct clk_div_table aclk400_table[] = {
126 static const struct clk_div_table aclk300_table[] = {
132 static const struct clk_div_table aclk_table[] = {
138 static const struct clk_div_table aclkexs_table[] = {
146 static const struct clk_div_table hclk_table[] = {
152 static const struct clk_div_table hclkbmh_table[] = {
[all …]
H A Dclk-fsl-flexspi.c13 static const struct clk_div_table ls1028a_flexspi_divs[] = {
32 static const struct clk_div_table lx2160a_flexspi_divs[] = {
56 const struct clk_div_table *divs; in fsl_flexspi_clk_probe()
H A Dclk-bm1880.c94 const struct clk_div_table *table;
123 const struct clk_div_table *table;
306 static const struct clk_div_table bm1880_div_table_0[] = {
318 static const struct clk_div_table bm1880_div_table_1[] = {
330 static const struct clk_div_table bm1880_div_table_2[] = {
342 static const struct clk_div_table bm1880_div_table_3[] = {
354 static const struct clk_div_table bm1880_div_table_4[] = {
H A Dclk-clps711x.c26 static const struct clk_div_table spi_div_table[] = {
34 static const struct clk_div_table timer_div_table[] = {
H A Dclk-stm32f4.c497 static const struct clk_div_table pll_divp_table[] = {
501 static const struct clk_div_table pll_divq_table[] = {
508 static const struct clk_div_table pll_divr_table[] = {
533 const struct clk_div_table *div_table;
550 static const struct clk_div_table post_divr_table[] = {
570 const struct clk_div_table *div_table;
744 u8 clk_divider_flags, const struct clk_div_table *table, in clk_register_pll_div()
1102 static const struct clk_div_table ahb_div_table[] = {
1110 static const struct clk_div_table apb_div_table[] = {
/openbmc/linux/drivers/clk/ti/
H A Ddivider.c21 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div()
24 const struct clk_div_table *clkt; in _get_table_div()
36 const struct clk_div_table *clkt; in _setup_mask()
71 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val()
74 const struct clk_div_table *clkt; in _get_table_val()
119 static bool _is_valid_table_div(const struct clk_div_table *table, in _is_valid_table_div()
122 const struct clk_div_table *clkt; in _is_valid_table_div()
139 static int _div_round_up(const struct clk_div_table *table, in _div_round_up()
142 const struct clk_div_table *clkt; in _div_round_up()
159 static int _div_round(const struct clk_div_table *table, in _div_round()
[all …]
/openbmc/u-boot/drivers/clk/mvebu/
H A Darmada-37xx-periph.c61 struct clk_div_table { struct
74 const struct clk_div_table *div_table[2]; argument
84 static const struct clk_div_table div_table1[] = {
90 static const struct clk_div_table div_table2[] = {
96 static const struct clk_div_table div_table6[] = {
276 const struct clk_div_table *i; in get_div()
363 static ulong find_best_div(const struct clk_div_table *t0, in find_best_div()
364 const struct clk_div_table *t1, ulong parent_rate, in find_best_div()
367 const struct clk_div_table *i, *j; in find_best_div()
392 const struct clk_div_table *t1; in armada_37xx_periph_clk_set_rate()
[all …]
/openbmc/linux/drivers/clk/renesas/
H A Dr9a09g011-cpg.c75 static const struct clk_div_table dtable_diva[] = {
86 static const struct clk_div_table dtable_divb[] = {
94 static const struct clk_div_table dtable_divd[] = {
102 static const struct clk_div_table dtable_divw[] = {
H A Dclk-sh73a0.c57 static const struct clk_div_table div4_div_table[] = {
63 static const struct clk_div_table z_div_table[] = {
77 const struct clk_div_table *table = NULL; in sh73a0_cpg_register_clock()
H A Drcar-cpg-lib.c72 static const struct clk_div_table cpg_sdh_div_table[] = {
115 static const struct clk_div_table cpg_sd_div_table[] = {
136 static const struct clk_div_table cpg_rpc_div_table[] = {
H A Drcar-gen2-cpg.c202 static const struct clk_div_table cpg_adsp_div_table[] = {
248 static const struct clk_div_table cpg_sdh_div_table[] = {
254 static const struct clk_div_table cpg_sd01_div_table[] = {
280 const struct clk_div_table *table = NULL; in rcar_gen2_cpg_clk_register()
H A Dr8a77970-cpg-mssr.c52 static const struct clk_div_table cpg_sd0h_div_table[] = {
58 static const struct clk_div_table cpg_sd0_div_table[] = {
228 const struct clk_div_table *table; in r8a77970_cpg_clk_register()
H A Dclk-r8a73a4.c53 static const struct clk_div_table div4_div_table[] = {
63 const struct clk_div_table *table = NULL; in r8a73a4_cpg_register_clock()
H A Dclk-r8a7740.c53 static const struct clk_div_table div4_div_table[] = {
65 const struct clk_div_table *table = NULL; in r8a7740_cpg_register_clock()
H A Dr9a07g044-cpg.c69 static const struct clk_div_table dtable_1_8[] = {
77 static const struct clk_div_table dtable_1_32[] = {
86 static const struct clk_div_table dtable_16_128[] = {
/openbmc/linux/include/linux/
H A Dclk-provider.h634 struct clk_div_table { struct
685 const struct clk_div_table *table;
705 unsigned int val, const struct clk_div_table *table,
709 const struct clk_div_table *table,
713 const struct clk_div_table *table, u8 width,
716 const struct clk_div_table *table, u8 width,
719 const struct clk_div_table *table, u8 width,
722 const struct clk_div_table *table, u8 width,
730 const struct clk_div_table *table, spinlock_t *lock);
736 const struct clk_div_table *table, spinlock_t *lock);
[all …]
H A Dsh_clk.h161 struct clk_div_table { struct
166 #define clk_div4_table clk_div_table argument
/openbmc/u-boot/drivers/clk/renesas/
H A Dclk-rcar-gen2.c29 struct clk_div_table { struct
35 static const struct clk_div_table cpg_sdh_div_table[] = { argument
41 static const struct clk_div_table cpg_sd01_div_table[] = {
47 static u8 gen2_clk_get_sdh_div(const struct clk_div_table *table, u8 val) in gen2_clk_get_sdh_div()
/openbmc/linux/drivers/sh/clk/
H A Dcpg.c97 static inline struct clk_div_table *clk_to_div_table(struct clk *clk) in clk_to_div_table()
130 struct clk_div_table *dt = clk_to_div_table(clk); in sh_clk_div_set_rate()
227 struct clk_div_table *table, struct sh_clk_ops *ops) in sh_clk_div_register_ops()
275 static struct clk_div_table sh_clk_div6_table = {
/openbmc/linux/drivers/clk/actions/
H A Dowl-s900.c118 static struct clk_div_table nand_div_table[] = {
126 static struct clk_div_table apb_div_table[] = {
131 static struct clk_div_table eth_mac_div_table[] = {
136 static struct clk_div_table rmii_ref_div_table[] = {
141 static struct clk_div_table usb3_mac_div_table[] = {
146 static struct clk_div_table i2s_div_table[] = {
153 static struct clk_div_table hdmia_div_table[] = {
/openbmc/linux/drivers/clk/nuvoton/
H A Dclk-ma35d1-divider.c20 const struct clk_div_table *table;
85 struct clk_div_table *table; in ma35d1_reg_adc_clkdiv()
/openbmc/linux/drivers/clk/hisilicon/
H A Dclkdivider-hi6220.c38 const struct clk_div_table *table;
107 struct clk_div_table *table; in hi6220_register_clkdiv()
/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mtk.h193 const struct clk_div_table *clk_div_table; member

123456