Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/arch/powerpc/platforms/8xx/
Dcpm1.c404 u8 clk_map[][3] = { in cpm1_clk_setup() local
496 for (i = 0; i < ARRAY_SIZE(clk_map); i++) { in cpm1_clk_setup()
497 if (clk_map[i][0] == target && clk_map[i][1] == clock) { in cpm1_clk_setup()
498 bits = clk_map[i][2]; in cpm1_clk_setup()
503 if (i == ARRAY_SIZE(clk_map)) { in cpm1_clk_setup()
/Linux-v5.4/sound/soc/fsl/
Dfsl_asrc.c63 static unsigned char *clk_map[2]; variable
323 clk_index[IN] = clk_map[IN][config->inclk]; in fsl_asrc_config_pair()
324 clk_index[OUT] = clk_map[OUT][config->outclk]; in fsl_asrc_config_pair()
925 clk_map[IN] = input_clk_map_imx35; in fsl_asrc_probe()
926 clk_map[OUT] = output_clk_map_imx35; in fsl_asrc_probe()
929 clk_map[IN] = input_clk_map_imx53; in fsl_asrc_probe()
930 clk_map[OUT] = output_clk_map_imx53; in fsl_asrc_probe()