Home
last modified time | relevance | path

Searched refs:mux_table (Results 1 – 9 of 9) sorted by relevance

/drivers/clk/at91/
Dclk-programmable.c24 u32 *mux_table; member
112 if (prog->mux_table) in clk_programmable_set_parent()
113 pckr = clk_mux_index_to_val(prog->mux_table, 0, index); in clk_programmable_set_parent()
141 if (prog->mux_table) in clk_programmable_get_parent()
142 ret = clk_mux_val_to_index(&prog->hw, prog->mux_table, 0, ret); in clk_programmable_get_parent()
193 u32 *mux_table) in at91_clk_register_programmable() argument
217 prog->mux_table = mux_table; in at91_clk_register_programmable()
Dsama7g5.c932 u32 *mux_table; in sama7g5_pmc_setup() local
934 mux_table = kmalloc_array(num_parents, sizeof(*mux_table), in sama7g5_pmc_setup()
936 if (!mux_table) in sama7g5_pmc_setup()
939 SAMA7G5_INIT_TABLE(mux_table, 4); in sama7g5_pmc_setup()
940 SAMA7G5_FILL_TABLE(&mux_table[4], sama7g5_mckx[i].ep_mux_table, in sama7g5_pmc_setup()
946 num_parents, parent_names, mux_table, in sama7g5_pmc_setup()
953 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup()
1018 u32 *mux_table; in sama7g5_pmc_setup() local
1020 mux_table = kmalloc_array(num_parents, sizeof(*mux_table), in sama7g5_pmc_setup()
1022 if (!mux_table) in sama7g5_pmc_setup()
[all …]
Dclk-generated.c26 u32 *mux_table; member
215 if (gck->mux_table) in clk_generated_set_parent()
216 gck->parent_id = clk_mux_index_to_val(gck->mux_table, 0, index); in clk_generated_set_parent()
291 u32 *mux_table, u8 num_parents, u8 id, in at91_clk_register_generated() argument
319 gck->mux_table = mux_table; in at91_clk_register_generated()
Dclk-master.c40 u32 *mux_table; member
275 index = clk_mux_val_to_index(&master->hw, master->mux_table, 0, in clk_sama7g5_master_get_parent()
291 master->parent = clk_mux_index_to_val(master->mux_table, 0, index); in clk_sama7g5_master_set_parent()
393 u32 *mux_table, in at91_clk_sama7g5_register_master() argument
404 if (!name || !num_parents || !parent_names || !mux_table || in at91_clk_sama7g5_register_master()
427 master->mux_table = mux_table; in at91_clk_sama7g5_register_master()
Dpmc.h131 u32 *mux_table, u8 num_parents, u8 id,
166 const char **parent_names, u32 *mux_table,
206 u32 *mux_table);
Ddt-compat.c681 u32 *mux_table) in of_at91_clk_prog_setup() argument
715 id, layout, mux_table); in of_at91_clk_prog_setup()
/drivers/clk/mmp/
Dclk-mix.c73 if (mix->mux_table) { in _get_mux()
75 if (mix->mux_table[i] == val) in _get_mux()
104 if (mix->mux_table) in _get_mux_val()
105 return mix->mux_table[mux]; in _get_mux_val()
475 if (config->mux_table) { in mmp_clk_register_mix()
477 mix->mux_table = kmemdup(config->mux_table, table_bytes, in mmp_clk_register_mix()
479 if (!mix->mux_table) { in mmp_clk_register_mix()
499 kfree(mix->mux_table); in mmp_clk_register_mix()
Dclk.h80 u32 *mux_table; member
90 u32 *mux_table; member
/drivers/net/ethernet/ti/
Dcpts.c660 u32 *mux_table; in cpts_of_mux_clk_setup() local
677 mux_table = devm_kzalloc(cpts->dev, sizeof(*mux_table) * num_parents, in cpts_of_mux_clk_setup()
679 if (!mux_table || !parent_names) { in cpts_of_mux_clk_setup()
687 mux_table, in cpts_of_mux_clk_setup()
696 0, mux_table, NULL); in cpts_of_mux_clk_setup()