/linux-6.1.9/drivers/clk/at91/ |
D | clk-programmable.c | 24 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 244 prog->mux_table = mux_table; in at91_clk_register_programmable()
|
D | sama7g5.c | 1011 u32 *mux_table; in sama7g5_pmc_setup() local 1013 mux_table = kmalloc_array(num_parents, sizeof(*mux_table), in sama7g5_pmc_setup() 1015 if (!mux_table) in sama7g5_pmc_setup() 1018 SAMA7G5_INIT_TABLE(mux_table, 3); in sama7g5_pmc_setup() 1019 SAMA7G5_FILL_TABLE(&mux_table[3], sama7g5_mckx[i].ep_mux_table, in sama7g5_pmc_setup() 1025 num_parents, parent_names, mux_table, in sama7g5_pmc_setup() 1032 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup() 1098 u32 *mux_table; in sama7g5_pmc_setup() local 1100 mux_table = kmalloc_array(num_parents, sizeof(*mux_table), in sama7g5_pmc_setup() 1102 if (!mux_table) in sama7g5_pmc_setup() [all …]
|
D | clk-generated.c | 26 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() 322 u32 *mux_table, u8 num_parents, u8 id, in at91_clk_register_generated() argument 350 gck->mux_table = mux_table; in at91_clk_register_generated()
|
D | pmc.h | 147 u32 *mux_table, u8 num_parents, u8 id, 190 const char **parent_names, u32 *mux_table, 231 u32 *mux_table);
|
D | clk-master.c | 34 u32 *mux_table; member 660 index = clk_mux_val_to_index(&master->hw, master->mux_table, 0, in clk_sama7g5_master_get_parent() 676 master->parent = clk_mux_index_to_val(master->mux_table, 0, index); in clk_sama7g5_master_set_parent() 809 u32 *mux_table, in at91_clk_sama7g5_register_master() argument 820 if (!name || !num_parents || !parent_names || !mux_table || in at91_clk_sama7g5_register_master() 843 master->mux_table = mux_table; in at91_clk_sama7g5_register_master()
|
D | dt-compat.c | 727 u32 *mux_table) in of_at91_clk_prog_setup() argument 763 id, layout, mux_table); in of_at91_clk_prog_setup()
|
/linux-6.1.9/drivers/clk/mmp/ |
D | clk-mix.c | 70 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()
|
D | clk.h | 80 u32 *mux_table; member 90 u32 *mux_table; member
|
/linux-6.1.9/drivers/clk/rockchip/ |
D | clk.c | 43 u32 *mux_table, in rockchip_clk_register_branch() argument 66 mux->table = mux_table; in rockchip_clk_register_branch() 275 if (child->mux_table) in rockchip_clk_register_frac_branch() 276 frac_mux->table = child->mux_table; in rockchip_clk_register_frac_branch() 451 if (list->mux_table) in rockchip_clk_register_branches() 457 list->mux_flags, list->mux_table, in rockchip_clk_register_branches() 523 list->mux_table, list->div_offset, in rockchip_clk_register_branches()
|
D | clk.h | 470 u32 *mux_table; member 716 .mux_table = mt, \
|
/linux-6.1.9/drivers/net/ethernet/ti/ |
D | cpts.c | 660 u32 *mux_table; in cpts_of_mux_clk_setup() local 677 mux_table = devm_kcalloc(cpts->dev, num_parents, sizeof(*mux_table), 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()
|