Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/clk/
H A 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 …]
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-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-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()
1101 static const struct clk_div_table ahb_div_table[] = {
1109 static const struct clk_div_table apb_div_table[] = {
H A Dclk-ast2600.c125 static const struct clk_div_table ast2600_eclk_div_table[] = {
137 static const struct clk_div_table ast2600_emmc_extclk_div_table[] = {
149 static const struct clk_div_table ast2600_mac_div_table[] = {
161 static const struct clk_div_table ast2600_div_table[] = {
H A Dclk-aspeed.c81 static const struct clk_div_table ast2500_eclk_div_table[] = {
93 static const struct clk_div_table ast2500_mac_div_table[] = {
105 static const struct clk_div_table ast2400_div_table[] = {
117 static const struct clk_div_table ast2500_div_table[] = {
/OK3568_Linux_fs/kernel/drivers/clk/ti/
H A Ddivider.c29 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div()
32 const struct clk_div_table *clkt; in _get_table_div()
44 const struct clk_div_table *clkt; in _setup_mask()
79 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val()
82 const struct clk_div_table *clkt; in _get_table_val()
127 static bool _is_valid_table_div(const struct clk_div_table *table, in _is_valid_table_div()
130 const struct clk_div_table *clkt; in _is_valid_table_div()
147 static int _div_round_up(const struct clk_div_table *table, in _div_round_up()
150 const struct clk_div_table *clkt; in _div_round_up()
167 static int _div_round(const struct clk_div_table *table, in _div_round()
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/renesas/
H A 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()
H A Drcar-gen2-cpg.c203 static const struct clk_div_table cpg_adsp_div_table[] = {
249 static const struct clk_div_table cpg_sdh_div_table[] = {
255 static const struct clk_div_table cpg_sd01_div_table[] = {
281 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[] = {
227 const struct clk_div_table *table; in r8a77970_cpg_clk_register()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dclk-provider.h565 struct clk_div_table { struct
616 const struct clk_div_table *table;
636 unsigned int val, const struct clk_div_table *table,
640 const struct clk_div_table *table,
644 const struct clk_div_table *table, u8 width,
647 const struct clk_div_table *table, u8 width,
655 const struct clk_div_table *table, spinlock_t *lock);
659 u8 clk_divider_flags, const struct clk_div_table *table,
1148 const struct clk_div_table *table, in divider_round_rate()
1157 const struct clk_div_table *table, in divider_ro_round_rate()
H A Dsh_clk.h161 struct clk_div_table { struct
166 #define clk_div4_table clk_div_table argument
/OK3568_Linux_fs/kernel/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 = {
/OK3568_Linux_fs/kernel/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[] = {
H A Dowl-s500.c156 static struct clk_div_table rmii_ref_div_table[] = {
161 static struct clk_div_table std12rate_div_table[] = {
168 static struct clk_div_table i2s_div_table[] = {
175 static struct clk_div_table nand_div_table[] = {
/OK3568_Linux_fs/kernel/drivers/clk/samsung/
H A Dclk-s3c2443.c79 static struct clk_div_table hclk_d[] = {
86 static struct clk_div_table mdivclk_d[] = {
190 static struct clk_div_table armdiv_s3c2416_d[] = {
238 static struct clk_div_table armdiv_s3c2443_d[] = {
H A Dclk-s3c2410.c60 static struct clk_div_table divslow_d[] = {
240 static struct clk_div_table div_hclk_4_d[] = {
246 static struct clk_div_table div_hclk_3_d[] = {
/OK3568_Linux_fs/kernel/drivers/phy/ti/
H A Dphy-j721e-wiz.c119 const struct clk_div_table *table;
133 const struct clk_div_table *table;
175 static const struct clk_div_table clk_div_table[] = { variable
185 .table = clk_div_table,
189 .table = clk_div_table,
562 const struct clk_div_table *table) in wiz_div_clk_register()
/OK3568_Linux_fs/kernel/drivers/clk/hisilicon/
H A Dclkdivider-hi6220.c38 const struct clk_div_table *table;
107 struct clk_div_table *table; in hi6220_register_clkdiv()
/OK3568_Linux_fs/kernel/drivers/clk/sunxi/
H A 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[] = {
/OK3568_Linux_fs/kernel/drivers/clk/zte/
H A Dclk-zx296702.c61 static const struct clk_div_table main_hlk_div[] = {
67 static const struct clk_div_table a9_as1_aclk_divider[] = {
74 static const struct clk_div_table sec_wclk_divider[] = {
198 const struct clk_div_table *table) in zx_divtbl()

1234