Lines Matching refs:nxpprofile_ctrl

64 phNxpNciProfile_Control_t nxpprofile_ctrl;  variable
362 status = phNxpNciHal_fw_download_seq(nxpprofile_ctrl.bClkSrcVal, in phNxpNciHal_fw_download()
363 nxpprofile_ctrl.bClkFreqVal); in phNxpNciHal_fw_download()
487 nxpprofile_ctrl.bClkSrcVal = 0; in phNxpNciHal_get_clk_freq()
488 nxpprofile_ctrl.bClkFreqVal = 0; in phNxpNciHal_get_clk_freq()
489 nxpprofile_ctrl.bTimeout = 0; in phNxpNciHal_get_clk_freq()
493 nxpprofile_ctrl.bClkSrcVal = num; in phNxpNciHal_get_clk_freq()
500 nxpprofile_ctrl.bClkFreqVal = num; in phNxpNciHal_get_clk_freq()
507 nxpprofile_ctrl.bTimeout = num; in phNxpNciHal_get_clk_freq()
511 nxpprofile_ctrl.bClkSrcVal); in phNxpNciHal_get_clk_freq()
513 nxpprofile_ctrl.bClkFreqVal); in phNxpNciHal_get_clk_freq()
515 nxpprofile_ctrl.bTimeout); in phNxpNciHal_get_clk_freq()
517 if ((nxpprofile_ctrl.bClkSrcVal < CLK_SRC_XTAL) || in phNxpNciHal_get_clk_freq()
518 (nxpprofile_ctrl.bClkSrcVal > CLK_SRC_PLL)) { in phNxpNciHal_get_clk_freq()
521 nxpprofile_ctrl.bClkSrcVal = NXP_SYS_CLK_SRC_SEL; in phNxpNciHal_get_clk_freq()
523 if (nxpprofile_ctrl.bClkFreqVal == CLK_SRC_PLL && in phNxpNciHal_get_clk_freq()
524 (nxpprofile_ctrl.bClkFreqVal < CLK_FREQ_13MHZ || in phNxpNciHal_get_clk_freq()
525 nxpprofile_ctrl.bClkFreqVal > CLK_FREQ_52MHZ)) { in phNxpNciHal_get_clk_freq()
528 nxpprofile_ctrl.bClkFreqVal = NXP_SYS_CLK_FREQ_SEL; in phNxpNciHal_get_clk_freq()
530 if ((nxpprofile_ctrl.bTimeout < CLK_TO_CFG_DEF) || in phNxpNciHal_get_clk_freq()
531 (nxpprofile_ctrl.bTimeout > CLK_TO_CFG_MAX)) { in phNxpNciHal_get_clk_freq()
534 nxpprofile_ctrl.bTimeout = CLK_TO_CFG_DEF; in phNxpNciHal_get_clk_freq()
595 memset(&nxpprofile_ctrl, 0, sizeof(phNxpNciProfile_Control_t)); in phNxpNciHal_MinOpen()
2705 if (nxpprofile_ctrl.bClkSrcVal == CLK_SRC_PLL) { in phNxpNciHal_set_clock()
2714 if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_13MHZ) { in phNxpNciHal_set_clock()
2716 } else if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_19_2MHZ) { in phNxpNciHal_set_clock()
2718 } else if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_24MHZ) { in phNxpNciHal_set_clock()
2720 } else if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_26MHZ) { in phNxpNciHal_set_clock()
2722 } else if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_38_4MHZ) { in phNxpNciHal_set_clock()
2724 } else if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_52MHZ) { in phNxpNciHal_set_clock()
2736 set_clock_cmd[11] = nxpprofile_ctrl.bTimeout; in phNxpNciHal_set_clock()
2741 } else if (nxpprofile_ctrl.bClkSrcVal == CLK_SRC_XTAL) { in phNxpNciHal_set_clock()
2793 phNxpNciClock.p_rx_data[16] == nxpprofile_ctrl.bTimeout) { in phNxpNciHal_check_clock_config()
3013 if (nxpprofile_ctrl.bClkSrcVal == CLK_SRC_PLL) { in check_config_parameter()
3017 if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_13MHZ) { in check_config_parameter()
3019 } else if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_19_2MHZ) { in check_config_parameter()
3021 } else if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_24MHZ) { in check_config_parameter()
3023 } else if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_26MHZ) { in check_config_parameter()
3025 } else if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_38_4MHZ) { in check_config_parameter()
3027 } else if (nxpprofile_ctrl.bClkFreqVal == CLK_FREQ_52MHZ) { in check_config_parameter()
3033 } else if (nxpprofile_ctrl.bClkSrcVal == CLK_SRC_XTAL) { in check_config_parameter()