Lines Matching refs:wInitStatus
78 NFCSTATUS wInitStatus = NFCSTATUS_SUCCESS; in phTmlNfc_Init() local
83 wInitStatus = PHNFCSTVAL(CID_NFC_TML, NFCSTATUS_ALREADY_INITIALISED); in phTmlNfc_Init()
89 wInitStatus = PHNFCSTVAL(CID_NFC_TML, NFCSTATUS_INVALID_PARAMETER); in phTmlNfc_Init()
95 wInitStatus = PHNFCSTVAL(CID_NFC_TML, NFCSTATUS_FAILED); in phTmlNfc_Init()
104 wInitStatus = phTmlNfc_i2c_open_and_configure( in phTmlNfc_Init()
107 if (NFCSTATUS_SUCCESS != wInitStatus) { in phTmlNfc_Init()
108 wInitStatus = PHNFCSTVAL(CID_NFC_TML, NFCSTATUS_INVALID_DEVICE); in phTmlNfc_Init()
117 wInitStatus = NFCSTATUS_FAILED; in phTmlNfc_Init()
119 wInitStatus = NFCSTATUS_FAILED; in phTmlNfc_Init()
121 wInitStatus = NFCSTATUS_FAILED; in phTmlNfc_Init()
123 wInitStatus = NFCSTATUS_FAILED; in phTmlNfc_Init()
128 wInitStatus = PHNFCSTVAL(CID_NFC_TML, NFCSTATUS_FAILED); in phTmlNfc_Init()
145 wInitStatus = PHNFCSTVAL(CID_NFC_TML, NFCSTATUS_FAILED); in phTmlNfc_Init()
153 if (NFCSTATUS_SUCCESS != wInitStatus) { in phTmlNfc_Init()
158 return wInitStatus; in phTmlNfc_Init()