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.c998 u32 *mux_table; in sama7g5_pmc_setup() local
1000 mux_table = kmalloc_array(num_parents, sizeof(*mux_table), in sama7g5_pmc_setup()
1002 if (!mux_table) in sama7g5_pmc_setup()
1005 SAMA7G5_INIT_TABLE(mux_table, 3); in sama7g5_pmc_setup()
1006 SAMA7G5_FILL_TABLE(&mux_table[3], sama7g5_mckx[i].ep_mux_table, in sama7g5_pmc_setup()
1012 num_parents, parent_names, mux_table, in sama7g5_pmc_setup()
1019 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup()
1082 u32 *mux_table; in sama7g5_pmc_setup() local
1084 mux_table = kmalloc_array(num_parents, sizeof(*mux_table), in sama7g5_pmc_setup()
1086 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
520 index = clk_mux_val_to_index(&master->hw, master->mux_table, 0, in clk_sama7g5_master_get_parent()
536 master->parent = clk_mux_index_to_val(master->mux_table, 0, index); in clk_sama7g5_master_set_parent()
638 u32 *mux_table, in at91_clk_sama7g5_register_master() argument
649 if (!name || !num_parents || !parent_names || !mux_table || in at91_clk_sama7g5_register_master()
672 master->mux_table = mux_table; in at91_clk_sama7g5_register_master()
Dpmc.h131 u32 *mux_table, u8 num_parents, u8 id,
174 const char **parent_names, u32 *mux_table,
214 u32 *mux_table);
Ddt-compat.c690 u32 *mux_table) in of_at91_clk_prog_setup() argument
724 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()