Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/clk/imx/
Dclk-gpr-mux.c24 const u32 *mux_table; member
44 ret = clk_mux_val_to_index(hw, priv->mux_table, 0, val); in imx_clk_gpr_mux_get_parent()
63 unsigned int val = clk_mux_index_to_val(priv->mux_table, 0, index); in imx_clk_gpr_mux_set_parent()
76 u8 num_parents, const u32 *mux_table, u32 mask) in imx_clk_gpr_mux() argument
102 priv->mux_table = mux_table; in imx_clk_gpr_mux()
Dclk.h484 u8 num_parents, const u32 *mux_table, u32 mask);
/linux-6.6.21/drivers/clk/at91/
Dclk-programmable.c24 u32 *mux_table; member
113 if (prog->mux_table) in clk_programmable_set_parent()
114 pckr = clk_mux_index_to_val(prog->mux_table, 0, index); in clk_programmable_set_parent()
142 if (prog->mux_table) in clk_programmable_get_parent()
143 ret = clk_mux_val_to_index(&prog->hw, prog->mux_table, 0, ret); in clk_programmable_get_parent()
220 u32 *mux_table) in at91_clk_register_programmable() argument
247 prog->mux_table = mux_table; in at91_clk_register_programmable()
Dclk-generated.c26 u32 *mux_table; member
227 if (gck->mux_table) in clk_generated_set_parent()
228 gck->parent_id = clk_mux_index_to_val(gck->mux_table, 0, index); in clk_generated_set_parent()
323 u32 *mux_table, u8 num_parents, u8 id, in at91_clk_register_generated() argument
357 gck->mux_table = mux_table; in at91_clk_register_generated()
Dsama7g5.c1108 u32 *mux_table; in sama7g5_pmc_setup() local
1110 mux_table = kmalloc_array(num_parents, sizeof(*mux_table), in sama7g5_pmc_setup()
1112 if (!mux_table) in sama7g5_pmc_setup()
1115 SAMA7G5_INIT_TABLE(mux_table, 3); in sama7g5_pmc_setup()
1116 SAMA7G5_FILL_TABLE(&mux_table[3], sama7g5_mckx[i].ep_mux_table, in sama7g5_pmc_setup()
1128 num_parents, NULL, parent_hws, mux_table, in sama7g5_pmc_setup()
1135 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup()
1204 u32 *mux_table; in sama7g5_pmc_setup() local
1206 mux_table = kmalloc_array(num_parents, sizeof(*mux_table), in sama7g5_pmc_setup()
1208 if (!mux_table) in sama7g5_pmc_setup()
[all …]
Dpmc.h147 struct clk_hw **parent_hws, u32 *mux_table,
196 struct clk_hw **parent_hws, u32 *mux_table,
241 u32 *mux_table);
Dclk-master.c34 u32 *mux_table; member
666 index = clk_mux_val_to_index(&master->hw, master->mux_table, 0, in clk_sama7g5_master_get_parent()
682 master->parent = clk_mux_index_to_val(master->mux_table, 0, index); in clk_sama7g5_master_set_parent()
816 u32 *mux_table, in at91_clk_sama7g5_register_master() argument
827 if (!name || !num_parents || !(parent_names || parent_hws) || !mux_table || in at91_clk_sama7g5_register_master()
853 master->mux_table = mux_table; in at91_clk_sama7g5_register_master()
Ddt-compat.c738 u32 *mux_table) in of_at91_clk_prog_setup() argument
774 id, layout, mux_table); in of_at91_clk_prog_setup()
/linux-6.6.21/drivers/clk/mmp/
Dclk-mix.c70 if (mix->mux_table) { in _get_mux()
72 if (mix->mux_table[i] == val) in _get_mux()
101 if (mix->mux_table) in _get_mux_val()
102 return mix->mux_table[mux]; in _get_mux_val()
472 if (config->mux_table) { in mmp_clk_register_mix()
474 mix->mux_table = kmemdup(config->mux_table, table_bytes, in mmp_clk_register_mix()
476 if (!mix->mux_table) { in mmp_clk_register_mix()
496 kfree(mix->mux_table); in mmp_clk_register_mix()
Dclk.h80 u32 *mux_table; member
90 u32 *mux_table; member
/linux-6.6.21/drivers/clk/rockchip/
Dclk.c42 u32 *mux_table, in rockchip_clk_register_branch() argument
65 mux->table = mux_table; in rockchip_clk_register_branch()
278 if (child->mux_table) in rockchip_clk_register_frac_branch()
279 frac_mux->table = child->mux_table; in rockchip_clk_register_frac_branch()
446 if (list->mux_table) in rockchip_clk_register_branches()
452 list->mux_flags, list->mux_table, in rockchip_clk_register_branches()
518 list->mux_table, list->div_offset, in rockchip_clk_register_branches()
Dclk.h538 u32 *mux_table; member
784 .mux_table = mt, \
/linux-6.6.21/drivers/net/ethernet/ti/
Dcpts.c648 u32 *mux_table; in cpts_of_mux_clk_setup() local
665 mux_table = devm_kcalloc(cpts->dev, num_parents, sizeof(*mux_table), in cpts_of_mux_clk_setup()
667 if (!mux_table || !parent_names) { in cpts_of_mux_clk_setup()
675 mux_table, in cpts_of_mux_clk_setup()
684 0, mux_table, NULL); in cpts_of_mux_clk_setup()