Home
last modified time | relevance | path

Searched refs:nfc_mode (Results 1 – 5 of 5) sorted by relevance

/hardware/st/nfc/1.2/
Dhal_st21nfc.cc59 int nfc_mode = 0; variable
73 extern int hal_wrapper_close(int call_cb, int nfc_mode);
290 hal_wrapper_close(0, nfc_mode); in StNfc_hal_open()
442 if (nfc_mode == 1) { in StNfc_hal_closeForPowerOffCase()
445 return StNfc_hal_close(nfc_mode); in StNfc_hal_closeForPowerOffCase()
461 nfc_mode = 0x1; in StNfc_hal_getConfig()
521 if ((num == 1) && (nfc_mode == 0x1)) { in StNfc_hal_getConfig()
522 nfc_mode = 0x2; in StNfc_hal_getConfig()
DStNfc_hal_api.h41 int StNfc_hal_close(int nfc_mode);
/hardware/st/nfc/1.1/
Dhal_st21nfc.cc53 int nfc_mode = 0; variable
66 extern int hal_wrapper_close(int call_cb, int nfc_mode);
283 hal_wrapper_close(0, nfc_mode); in StNfc_hal_open()
420 return StNfc_hal_close(nfc_mode); in StNfc_hal_closeForPowerOffCase()
435 nfc_mode = 0x2; in StNfc_hal_getConfig()
DStNfc_hal_api.h40 int StNfc_hal_close(int nfc_mode);
/hardware/st/nfc/st21nfc/
Dhal_wrapper.cc128 int hal_wrapper_close(int call_cb, int nfc_mode) { in hal_wrapper_close() argument
129 STLOG_HAL_V("%s - Sending PROP_NFC_MODE_SET_CMD(%d)", __func__, nfc_mode); in hal_wrapper_close()
130 uint8_t propNfcModeSetCmdQb[] = {0x2f, 0x02, 0x02, 0x02, (uint8_t)nfc_mode}; in hal_wrapper_close()