Lines Matching refs:ARRAY_SIZE
145 periph_apm_sel, ARRAY_SIZE(periph_apm_sel)); in mx5_clocks_common_init()
147 main_bus_sel, ARRAY_SIZE(main_bus_sel)); in mx5_clocks_common_init()
149 per_lp_apm_sel, ARRAY_SIZE(per_lp_apm_sel)); in mx5_clocks_common_init()
154 per_root_sel, ARRAY_SIZE(per_root_sel)); in mx5_clocks_common_init()
167 standard_pll_sel, ARRAY_SIZE(standard_pll_sel)); in mx5_clocks_common_init()
172 standard_pll_sel, ARRAY_SIZE(standard_pll_sel)); in mx5_clocks_common_init()
174 standard_pll_sel, ARRAY_SIZE(standard_pll_sel)); in mx5_clocks_common_init()
179 …C_C_SEL] = imx_clk_mux("esdhc_c_sel", MXC_CCM_CSCMR1, 19, 1, esdhc_c_sel, ARRAY_SIZE(esdhc_c_sel)); in mx5_clocks_common_init()
180 …C_D_SEL] = imx_clk_mux("esdhc_d_sel", MXC_CCM_CSCMR1, 18, 1, esdhc_d_sel, ARRAY_SIZE(esdhc_d_sel)); in mx5_clocks_common_init()
183 emi_slow_sel, ARRAY_SIZE(emi_slow_sel)); in mx5_clocks_common_init()
187 standard_pll_sel, ARRAY_SIZE(standard_pll_sel)); in mx5_clocks_common_init()
191 standard_pll_sel, ARRAY_SIZE(standard_pll_sel)); in mx5_clocks_common_init()
197 usb_phy_sel_str, ARRAY_SIZE(usb_phy_sel_str)); in mx5_clocks_common_init()
198 …clk[IMX5_CLK_STEP_SEL] = imx_clk_mux("step_sel", MXC_CCM_CCSR, 7, 2, step_sels, ARRAY_SIZE(step_s… in mx5_clocks_common_init()
199 …F_SEL] = imx_clk_mux("cpu_podf_sel", MXC_CCM_CCSR, 2, 1, cpu_podf_sels, ARRAY_SIZE(cpu_podf_sels)); in mx5_clocks_common_init()
235 clk[IMX5_CLK_IPU_SEL] = imx_clk_mux("ipu_sel", MXC_CCM_CBCMR, 6, 2, ipu_sel, ARRAY_SIZE(ipu_sel)); in mx5_clocks_common_init()
240 …clk[IMX5_CLK_GPU3D_SEL] = imx_clk_mux("gpu3d_sel", MXC_CCM_CBCMR, 4, 2, gpu3d_sel, ARRAY_SIZE(gpu… in mx5_clocks_common_init()
241 …clk[IMX5_CLK_GPU2D_SEL] = imx_clk_mux("gpu2d_sel", MXC_CCM_CBCMR, 16, 2, gpu2d_sel, ARRAY_SIZE(gp… in mx5_clocks_common_init()
245 …clk[IMX5_CLK_VPU_SEL] = imx_clk_mux("vpu_sel", MXC_CCM_CBCMR, 14, 2, vpu_sel, ARRAY_SIZE(vpu_sel)… in mx5_clocks_common_init()
254 …clk[IMX5_CLK_SSI_APM] = imx_clk_mux("ssi_apm", MXC_CCM_CSCMR1, 8, 2, ssi_apm_sels, ARRAY_SIZE(ssi… in mx5_clocks_common_init()
255 …SEL] = imx_clk_mux("ssi1_root_sel", MXC_CCM_CSCMR1, 14, 2, ssi_clk_sels, ARRAY_SIZE(ssi_clk_sels)); in mx5_clocks_common_init()
256 …SEL] = imx_clk_mux("ssi2_root_sel", MXC_CCM_CSCMR1, 12, 2, ssi_clk_sels, ARRAY_SIZE(ssi_clk_sels)); in mx5_clocks_common_init()
257 …L] = imx_clk_mux("ssi3_root_sel", MXC_CCM_CSCMR1, 11, 1, ssi3_clk_sels, ARRAY_SIZE(ssi3_clk_sels)); in mx5_clocks_common_init()
258 …_SEL] = imx_clk_mux("ssi_ext1_sel", MXC_CCM_CSCMR1, 28, 2, ssi_clk_sels, ARRAY_SIZE(ssi_clk_sels)); in mx5_clocks_common_init()
259 …_SEL] = imx_clk_mux("ssi_ext2_sel", MXC_CCM_CSCMR1, 30, 2, ssi_clk_sels, ARRAY_SIZE(ssi_clk_sels)); in mx5_clocks_common_init()
260 …x_clk_mux("ssi_ext1_com_sel", MXC_CCM_CSCMR1, 0, 1, ssi_ext1_com_sels, ARRAY_SIZE(ssi_ext1_com_sel… in mx5_clocks_common_init()
261 …x_clk_mux("ssi_ext2_com_sel", MXC_CCM_CSCMR1, 1, 1, ssi_ext2_com_sels, ARRAY_SIZE(ssi_ext2_com_sel… in mx5_clocks_common_init()
282 …clk[IMX5_CLK_SPDIF0_SEL] = imx_clk_mux("spdif0_sel", MXC_CCM_CSCMR2, 0, 2, spdif_sel, ARRAY_SIZE(s… in mx5_clocks_common_init()
286 spdif0_com_sel, ARRAY_SIZE(spdif0_com_sel), CLK_SET_RATE_PARENT); in mx5_clocks_common_init()
342 lp_apm_sel, ARRAY_SIZE(lp_apm_sel)); in mx50_clocks_init()
352 mx53_cko1_sel, ARRAY_SIZE(mx53_cko1_sel)); in mx50_clocks_init()
357 mx53_cko2_sel, ARRAY_SIZE(mx53_cko2_sel)); in mx50_clocks_init()
361 imx_check_clocks(clk, ARRAY_SIZE(clk)); in mx50_clocks_init()
364 clk_data.clk_num = ARRAY_SIZE(clk); in mx50_clocks_init()
404 lp_apm_sel, ARRAY_SIZE(lp_apm_sel)); in mx51_clocks_init()
406 mx51_ipu_di0_sel, ARRAY_SIZE(mx51_ipu_di0_sel)); in mx51_clocks_init()
408 mx51_ipu_di1_sel, ARRAY_SIZE(mx51_ipu_di1_sel)); in mx51_clocks_init()
410 mx51_tve_ext_sel, ARRAY_SIZE(mx51_tve_ext_sel), CLK_SET_RATE_PARENT); in mx51_clocks_init()
412 mx51_tve_sel, ARRAY_SIZE(mx51_tve_sel)); in mx51_clocks_init()
426 mx51_spdif_xtal_sel, ARRAY_SIZE(mx51_spdif_xtal_sel)); in mx51_clocks_init()
428 spdif_sel, ARRAY_SIZE(spdif_sel)); in mx51_clocks_init()
432 mx51_spdif1_com_sel, ARRAY_SIZE(mx51_spdif1_com_sel)); in mx51_clocks_init()
435 imx_check_clocks(clk, ARRAY_SIZE(clk)); in mx51_clocks_init()
438 clk_data.clk_num = ARRAY_SIZE(clk); in mx51_clocks_init()
497 lp_apm_sel, ARRAY_SIZE(lp_apm_sel)); in mx53_clocks_init()
501 mx53_ldb_di1_sel, ARRAY_SIZE(mx53_ldb_di1_sel), CLK_SET_RATE_PARENT); in mx53_clocks_init()
506 mx53_ldb_di0_sel, ARRAY_SIZE(mx53_ldb_di0_sel), CLK_SET_RATE_PARENT); in mx53_clocks_init()
510 mx53_ipu_di0_sel, ARRAY_SIZE(mx53_ipu_di0_sel)); in mx53_clocks_init()
512 mx53_ipu_di1_sel, ARRAY_SIZE(mx53_ipu_di1_sel)); in mx53_clocks_init()
514 mx53_tve_ext_sel, ARRAY_SIZE(mx53_tve_ext_sel), CLK_SET_RATE_PARENT); in mx53_clocks_init()
524 mx53_can_sel, ARRAY_SIZE(mx53_can_sel)); in mx53_clocks_init()
534 mx53_cko1_sel, ARRAY_SIZE(mx53_cko1_sel)); in mx53_clocks_init()
539 mx53_cko2_sel, ARRAY_SIZE(mx53_cko2_sel)); in mx53_clocks_init()
543 mx53_spdif_xtal_sel, ARRAY_SIZE(mx53_spdif_xtal_sel)); in mx53_clocks_init()
550 imx_check_clocks(clk, ARRAY_SIZE(clk)); in mx53_clocks_init()
553 clk_data.clk_num = ARRAY_SIZE(clk); in mx53_clocks_init()