/linux/drivers/clk/ |
H A D | clk-divider.c | 45 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() 82 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div() 85 const struct clk_div_table *clkt; in _get_table_div() 93 static unsigned int _get_div(const struct clk_div_table *table, in _get_div() 109 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val() 112 const struct clk_div_table *clkt; in _get_table_val() [all …]
|
H A D | clk-aspeed.h | 13 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 D | clk-milbeaut.c | 75 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 D | clk-fsl-flexspi.c | 13 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 D | clk-bm1880.c | 94 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 D | clk-clps711x.c | 26 static const struct clk_div_table spi_div_table[] = { 34 static const struct clk_div_table timer_div_table[] = {
|
/linux/drivers/clk/ti/ |
H A D | divider.c | 21 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/drivers/clk/renesas/ |
H A D | r9a09g047-cpg.c | 67 static const struct clk_div_table dtable_1_8[] = { 75 static const struct clk_div_table dtable_2_4[] = { 81 static const struct clk_div_table dtable_2_16[] = { 89 static const struct clk_div_table dtable_2_64[] = { 98 static const struct clk_div_table dtable_2_100[] = {
|
H A D | r9a09g011-cpg.c | 75 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[] = { 101 static const struct clk_div_table dtable_divw[] = {
|
H A D | clk-sh73a0.c | 55 static const struct clk_div_table div4_div_table[] = { 61 static const struct clk_div_table z_div_table[] = { 75 const struct clk_div_table *table = NULL; in sh73a0_cpg_register_clock()
|
H A D | rcar-cpg-lib.c | 72 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 D | r9a09g057-cpg.c | 72 static const struct clk_div_table dtable_1_8[] = { 80 static const struct clk_div_table dtable_2_4[] = { 86 static const struct clk_div_table dtable_2_16[] = { 94 static const struct clk_div_table dtable_2_64[] = { 103 static const struct clk_div_table dtable_2_100[] = {
|
H A D | r9a09g056-cpg.c | 64 static const struct clk_div_table dtable_1_8[] = { 72 static const struct clk_div_table dtable_2_16[] = { 80 static const struct clk_div_table dtable_2_64[] = { 89 static const struct clk_div_table dtable_2_100[] = {
|
H A D | rcar-gen2-cpg.c | 202 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[] = { 279 const struct clk_div_table *table = NULL; in rcar_gen2_cpg_clk_register()
|
H A D | clk-r8a7740.c | 50 static const struct clk_div_table div4_div_table[] = { 62 const struct clk_div_table *table = NULL; in r8a7740_cpg_register_clock()
|
H A D | r9a07g044-cpg.c | 80 static const struct clk_div_table dtable_1_8[] = { 88 static const struct clk_div_table dtable_1_32[] = { 98 static const struct clk_div_table dtable_4_32[] = { 132 static const struct clk_div_table dtable_16_128[] = {
|
H A D | clk-r8a73a4.c | 51 static const struct clk_div_table div4_div_table[] = { 61 const struct clk_div_table *table = NULL; in r8a73a4_cpg_register_clock()
|
/linux/drivers/sh/clk/ |
H A D | cpg.c | 100 static inline struct clk_div_table *clk_to_div_table(struct clk *clk) in clk_to_div_table() 133 struct clk_div_table *dt = clk_to_div_table(clk); in sh_clk_div_set_rate() 230 struct clk_div_table *table, struct sh_clk_ops *ops) in sh_clk_div_register_ops() 278 static struct clk_div_table sh_clk_div6_table = {
|
/linux/drivers/clk/nuvoton/ |
H A D | clk-ma35d1-divider.c | 20 const struct clk_div_table *table; 85 struct clk_div_table *table; in ma35d1_reg_adc_clkdiv()
|
/linux/drivers/clk/hisilicon/ |
H A D | clkdivider-hi6220.c | 38 const struct clk_div_table *table; 107 struct clk_div_table *table; in hi6220_register_clkdiv()
|
/linux/drivers/clk/actions/ |
H A D | owl-s900.c | 118 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/drivers/clk/meson/ |
H A D | vclk.h | 45 const struct clk_div_table *table;
|
/linux/include/linux/ |
H A D | sh_clk.h | 161 struct clk_div_table { struct 166 #define clk_div4_table clk_div_table argument
|
/linux/drivers/clk/mmp/ |
H A D | clk.h | 77 struct clk_div_table *div_table; 87 struct clk_div_table *div_table;
|
/linux/drivers/clk/sunxi/ |
H A D | clk-sun6i-apb0.c | 22 static const struct clk_div_table sun6i_a31_apb0_divs[] = {
|