Lines Matching refs:wInitStatus
82 tHAL_UWB_STATUS wInitStatus = UWBSTATUS_SUCCESS; in phTmlUwb_Init() local
87 wInitStatus = PHUWBSTVAL(CID_UWB_TML, UWBSTATUS_ALREADY_INITIALISED); in phTmlUwb_Init()
92 wInitStatus = PHUWBSTVAL(CID_UWB_TML, UWBSTATUS_INVALID_PARAMETER); in phTmlUwb_Init()
99 wInitStatus = PHUWBSTVAL(CID_UWB_TML, UWBSTATUS_FAILED); in phTmlUwb_Init()
106 wInitStatus = phTmlUwb_spi_open_and_configure(pDevName, &(gpphTmlUwb_Context->pDevHandle)); in phTmlUwb_Init()
108 if (UWBSTATUS_SUCCESS != wInitStatus) { in phTmlUwb_Init()
109 wInitStatus = PHUWBSTVAL(CID_UWB_TML, UWBSTATUS_INVALID_DEVICE); in phTmlUwb_Init()
118 wInitStatus = UWBSTATUS_FAILED; in phTmlUwb_Init()
120 wInitStatus = UWBSTATUS_FAILED; in phTmlUwb_Init()
122 wInitStatus = UWBSTATUS_FAILED; in phTmlUwb_Init()
126 wInitStatus = PHUWBSTVAL(CID_UWB_TML, UWBSTATUS_FAILED); in phTmlUwb_Init()
129 wInitStatus = UWBSTATUS_SUCCESS; in phTmlUwb_Init()
136 if (UWBSTATUS_SUCCESS != wInitStatus) { in phTmlUwb_Init()
141 return wInitStatus; in phTmlUwb_Init()