Lines Matching refs:ret_val
196 u32 pll, ret_val = 0, usb_podf; in mxc_get_main_clock() local
207 ret_val = get_mcu_main_clk(); in mxc_get_main_clock()
210 ret_val = get_mcu_main_clk(); in mxc_get_main_clock()
218 ret_val = pll / hsp_podf; in mxc_get_main_clock()
221 ret_val = 0; in mxc_get_main_clock()
224 ret_val = get_mcu_main_clk(); in mxc_get_main_clock()
228 ret_val = get_ipg_clk(); in mxc_get_main_clock()
231 ret_val = get_ipg_per_clk(); in mxc_get_main_clock()
237 ret_val = pll / (nfc_pdf + 1); in mxc_get_main_clock()
246 ret_val = pll / (usb_podf + 1); in mxc_get_main_clock()
253 return ret_val; in mxc_get_main_clock()
257 u32 ret_val = 0, pdf, pre_pdf, clk_sel; in mxc_get_peri_clock() local
270 ret_val = ((clk_sel != 0) ? mxc_get_main_clock(CPU_CLK) : in mxc_get_peri_clock()
277 ret_val = ((clk_sel != 0) ? mxc_get_main_clock(CPU_CLK) : in mxc_get_peri_clock()
285 ret_val = ((clk_sel != 0) ? mxc_get_main_clock(CPU_CLK) : in mxc_get_peri_clock()
292 ret_val = ((clk_sel != 0) ? mxc_get_main_clock(CPU_CLK) : in mxc_get_peri_clock()
300 ret_val = ((clk_sel != 0) ? mxc_get_main_clock(CPU_CLK) : in mxc_get_peri_clock()
307 ret_val = ((clk_sel != 0) ? mxc_get_main_clock(CPU_CLK) : in mxc_get_peri_clock()
313 ret_val = ((clk_sel != 0) ? mxc_get_main_clock(CPU_CLK) : in mxc_get_peri_clock()
319 ret_val = ((clk_sel != 0) ? mxc_get_main_clock(CPU_CLK) : in mxc_get_peri_clock()
326 ret_val = ((clk_sel != 0) ? mxc_get_main_clock(CPU_CLK) : in mxc_get_peri_clock()
336 return ret_val; in mxc_get_peri_clock()