Home
last modified time | relevance | path

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

12345

/linux-6.1.9/drivers/clk/
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 …]
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-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()
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[] = {
Dclk-clps711x.c26 static const struct clk_div_table spi_div_table[] = {
34 static const struct clk_div_table timer_div_table[] = {
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[] = {
/linux-6.1.9/drivers/clk/ti/
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 …]
/linux-6.1.9/drivers/clk/renesas/
Dr9a09g011-cpg.c65 static const struct clk_div_table dtable_diva[] = {
76 static const struct clk_div_table dtable_divb[] = {
84 static const struct clk_div_table dtable_divw[] = {
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()
Drcar-cpg-lib.c72 static const struct clk_div_table cpg_sdh_div_table[] = {
102 static const struct clk_div_table cpg_sd_div_table[] = {
123 static const struct clk_div_table cpg_rpc_div_table[] = {
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()
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()
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()
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()
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[] = {
/linux-6.1.9/include/linux/
Dclk-provider.h613 struct clk_div_table { struct
664 const struct clk_div_table *table;
684 unsigned int val, const struct clk_div_table *table,
688 const struct clk_div_table *table,
692 const struct clk_div_table *table, u8 width,
695 const struct clk_div_table *table, u8 width,
698 const struct clk_div_table *table, u8 width,
701 const struct clk_div_table *table, u8 width,
709 const struct clk_div_table *table, spinlock_t *lock);
715 const struct clk_div_table *table, spinlock_t *lock);
[all …]
Dsh_clk.h161 struct clk_div_table { struct
166 #define clk_div4_table clk_div_table argument
/linux-6.1.9/drivers/sh/clk/
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 = {
/linux-6.1.9/drivers/clk/hisilicon/
Dclkdivider-hi6220.c38 const struct clk_div_table *table;
107 struct clk_div_table *table; in hi6220_register_clkdiv()
/linux-6.1.9/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[] = {
/linux-6.1.9/drivers/clk/samsung/
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[] = {
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[] = {
/linux-6.1.9/drivers/clk/mediatek/
Dclk-mtk.h168 const struct clk_div_table *clk_div_table; member
/linux-6.1.9/drivers/clk/sunxi/
Dclk-sun6i-apb0.c22 static const struct clk_div_table sun6i_a31_apb0_divs[] = {

12345