Lines Matching refs:ctrl_num
27 u32 fsl_ddr_get_version(unsigned int ctrl_num) in fsl_ddr_get_version() argument
32 switch (ctrl_num) { in fsl_ddr_get_version()
52 printf("%s unexpected ctrl_num = %u\n", __func__, ctrl_num); in fsl_ddr_get_version()
69 unsigned int get_memory_clk_period_ps(const unsigned int ctrl_num) in get_memory_clk_period_ps() argument
71 unsigned int data_rate = get_ddr_freq(ctrl_num); in get_memory_clk_period_ps()
85 unsigned int picos_to_mclk(const unsigned int ctrl_num, unsigned int picos) in picos_to_mclk() argument
88 unsigned long data_rate = get_ddr_freq(ctrl_num); in picos_to_mclk()
114 unsigned int mclk_to_picos(const unsigned int ctrl_num, unsigned int mclk) in mclk_to_picos() argument
116 return get_memory_clk_period_ps(ctrl_num) * mclk; in mclk_to_picos()
123 unsigned int ctrl_num) in __fsl_ddr_set_lawbar() argument
142 printf("%s: ERROR (ctrl #%d, TRGT ID=%x)\n", __func__, ctrl_num, in __fsl_ddr_set_lawbar()
153 unsigned int ctrl_num);