Home
last modified time | relevance | path

Searched refs:clk_map (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/powerpc/sysdev/
Dcpm2.c148 u8 clk_map[][3] = { in cpm2_clk_setup() local
243 for (i = 0; i < ARRAY_SIZE(clk_map); i++) { in cpm2_clk_setup()
244 if (clk_map[i][0] == target && clk_map[i][1] == clock) { in cpm2_clk_setup()
245 bits = clk_map[i][2]; in cpm2_clk_setup()
249 if (i == ARRAY_SIZE(clk_map)) in cpm2_clk_setup()
278 u8 clk_map[][3] = { in cpm2_smc_clk_setup() local
307 for (i = 0; i < ARRAY_SIZE(clk_map); i++) { in cpm2_smc_clk_setup()
308 if (clk_map[i][0] == target && clk_map[i][1] == clock) { in cpm2_smc_clk_setup()
309 bits = clk_map[i][2]; in cpm2_smc_clk_setup()
313 if (i == ARRAY_SIZE(clk_map)) in cpm2_smc_clk_setup()
Dcpm1.c402 u8 clk_map[][3] = { in cpm1_clk_setup() local
494 for (i = 0; i < ARRAY_SIZE(clk_map); i++) { in cpm1_clk_setup()
495 if (clk_map[i][0] == target && clk_map[i][1] == clock) { in cpm1_clk_setup()
496 bits = clk_map[i][2]; in cpm1_clk_setup()
501 if (i == ARRAY_SIZE(clk_map)) { in cpm1_clk_setup()
/Linux-v4.19/sound/soc/fsl/
Dfsl_asrc.c80 static unsigned char *clk_map[2]; variable
293 clk_index[IN] = clk_map[IN][config->inclk]; in fsl_asrc_config_pair()
294 clk_index[OUT] = clk_map[OUT][config->outclk]; in fsl_asrc_config_pair()
876 clk_map[IN] = input_clk_map_imx35; in fsl_asrc_probe()
877 clk_map[OUT] = output_clk_map_imx35; in fsl_asrc_probe()
880 clk_map[IN] = input_clk_map_imx53; in fsl_asrc_probe()
881 clk_map[OUT] = output_clk_map_imx53; in fsl_asrc_probe()