Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/clk/
Dclk-divider.c44 static unsigned int _get_table_maxdiv(const struct clk_div_table *table, in _get_table_maxdiv()
48 const struct clk_div_table *clkt; in _get_table_maxdiv()
56 static unsigned int _get_table_mindiv(const struct clk_div_table *table) in _get_table_mindiv()
59 const struct clk_div_table *clkt; in _get_table_mindiv()
67 static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, in _get_maxdiv()
79 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div()
82 const struct clk_div_table *clkt; in _get_table_div()
90 static unsigned int _get_div(const struct clk_div_table *table, in _get_div()
104 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val()
107 const struct clk_div_table *clkt; in _get_table_val()
[all …]
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;
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 …]
Dclk-clps711x.c26 static const struct clk_div_table spi_div_table[] = {
33 static const struct clk_div_table timer_div_table[] = {
Dclk-stm32f4.c501 static const struct clk_div_table pll_divp_table[] = {
505 static const struct clk_div_table pll_divq_table[] = {
512 static const struct clk_div_table pll_divr_table[] = {
537 const struct clk_div_table *div_table;
554 static const struct clk_div_table post_divr_table[] = {
574 const struct clk_div_table *div_table;
748 u8 clk_divider_flags, const struct clk_div_table *table, in clk_register_pll_div()
1105 static const struct clk_div_table ahb_div_table[] = {
1113 static const struct clk_div_table apb_div_table[] = {
Dclk-aspeed.c80 static const struct clk_div_table ast2500_eclk_div_table[] = {
92 static const struct clk_div_table ast2500_mac_div_table[] = {
104 static const struct clk_div_table ast2400_div_table[] = {
116 static const struct clk_div_table ast2500_div_table[] = {
/Linux-v5.4/drivers/clk/ti/
Ddivider.c31 static unsigned int _get_table_maxdiv(const struct clk_div_table *table) in _get_table_maxdiv()
34 const struct clk_div_table *clkt; in _get_table_maxdiv()
53 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div()
56 const struct clk_div_table *clkt; in _get_table_div()
75 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val()
78 const struct clk_div_table *clkt; in _get_table_val()
123 static bool _is_valid_table_div(const struct clk_div_table *table, in _is_valid_table_div()
126 const struct clk_div_table *clkt; in _is_valid_table_div()
143 static int _div_round_up(const struct clk_div_table *table, in _div_round_up()
146 const struct clk_div_table *clkt; in _div_round_up()
[all …]
/Linux-v5.4/drivers/clk/renesas/
Dclk-sh73a0.c58 static const struct clk_div_table div4_div_table[] = {
64 static const struct clk_div_table z_div_table[] = {
78 const struct clk_div_table *table = NULL; in sh73a0_cpg_register_clock()
Drcar-gen2-cpg.c200 static const struct clk_div_table cpg_adsp_div_table[] = {
246 static const struct clk_div_table cpg_sdh_div_table[] = {
252 static const struct clk_div_table cpg_sd01_div_table[] = {
278 const struct clk_div_table *table = NULL; in rcar_gen2_cpg_clk_register()
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[] = {
227 const struct clk_div_table *table; in r8a77970_cpg_clk_register()
Dclk-rcar-gen2.c202 static const struct clk_div_table cpg_adsp_div_table[] = {
283 static const struct clk_div_table cpg_sdh_div_table[] = {
289 static const struct clk_div_table cpg_sd01_div_table[] = {
312 const struct clk_div_table *table = NULL; in rcar_gen2_cpg_register_clock()
Dclk-r8a7740.c54 static const struct clk_div_table div4_div_table[] = {
66 const struct clk_div_table *table = NULL; in r8a7740_cpg_register_clock()
Dclk-r8a73a4.c54 static const struct clk_div_table div4_div_table[] = {
64 const struct clk_div_table *table = NULL; in r8a73a4_cpg_register_clock()
/Linux-v5.4/include/linux/
Dclk-provider.h401 struct clk_div_table { struct
452 const struct clk_div_table *table;
472 unsigned int val, const struct clk_div_table *table,
476 const struct clk_div_table *table,
480 const struct clk_div_table *table, u8 width,
483 const struct clk_div_table *table, u8 width,
497 u8 clk_divider_flags, const struct clk_div_table *table,
502 u8 clk_divider_flags, const struct clk_div_table *table,
854 const struct clk_div_table *table, in divider_round_rate()
863 const struct clk_div_table *table, in divider_ro_round_rate()
Dsh_clk.h161 struct clk_div_table { struct
166 #define clk_div4_table clk_div_table argument
/Linux-v5.4/drivers/sh/clk/
Dcpg.c112 static inline struct clk_div_table *clk_to_div_table(struct clk *clk) in clk_to_div_table()
145 struct clk_div_table *dt = clk_to_div_table(clk); in sh_clk_div_set_rate()
242 struct clk_div_table *table, struct sh_clk_ops *ops) in sh_clk_div_register_ops()
290 static struct clk_div_table sh_clk_div6_table = {
/Linux-v5.4/drivers/clk/hisilicon/
Dclkdivider-hi6220.c38 const struct clk_div_table *table;
107 struct clk_div_table *table; in hi6220_register_clkdiv()
/Linux-v5.4/drivers/clk/actions/
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[] = {
Dowl-divider.h21 struct clk_div_table *table;
/Linux-v5.4/drivers/clk/samsung/
Dclk-s3c2443.c78 static struct clk_div_table hclk_d[] = {
85 static struct clk_div_table mdivclk_d[] = {
189 static struct clk_div_table armdiv_s3c2416_d[] = {
237 static struct clk_div_table armdiv_s3c2443_d[] = {
Dclk-s3c2410.c59 static struct clk_div_table divslow_d[] = {
239 static struct clk_div_table div_hclk_4_d[] = {
245 static struct clk_div_table div_hclk_3_d[] = {
/Linux-v5.4/drivers/clk/mmp/
Dclk.h79 struct clk_div_table *div_table;
89 struct clk_div_table *div_table;
/Linux-v5.4/drivers/clk/sunxi/
Dclk-sun6i-apb0.c22 static const struct clk_div_table sun6i_a31_apb0_divs[] = {
Dclk-sunxi.c728 const struct clk_div_table *table;
737 static const struct clk_div_table sun8i_a23_axi_table[] __initconst = {
760 static const struct clk_div_table sun4i_apb0_table[] __initconst = {
885 struct clk_div_table *table; /* is it a table based divisor? */
893 static struct clk_div_table pll6_sata_tbl[] = {
/Linux-v5.4/drivers/clk/mediatek/
Dclk-mtk.h187 const struct clk_div_table *clk_div_table; member

1234