Home
last modified time | relevance | path

Searched refs:hHAL (Results 1 – 12 of 12) sorted by relevance

/hardware/st/nfc/st21nfc/include/
Dhalcore.h73 void HalDestroy(HALHANDLE hHAL);
76 bool HalSendDownstream(HALHANDLE hHAL, const uint8_t* data, size_t size);
79 bool HalSendDownstreamTimer(HALHANDLE hHAL, const uint8_t* data, size_t size,
81 bool HalSendDownstreamTimer(HALHANDLE hHAL, uint32_t duration);
82 bool HalSendDownstreamStopTimer(HALHANDLE hHAL);
85 bool HalSendUpstream(HALHANDLE hHAL, const uint8_t* data, size_t size);
Dst21nfc_dev.h25 HALHANDLE hHAL; member
/hardware/st/nfc/1.0/include/
Dhalcore.h93 void HalDestroy(HALHANDLE hHAL);
96 bool HalSendDownstream(HALHANDLE hHAL, const uint8_t* data, size_t size);
99 bool HalSendDownstreamTimer(HALHANDLE hHAL, const uint8_t* data, size_t size,
101 bool HalSendDownstreamStopTimer(HALHANDLE hHAL);
104 bool HalSendUpstream(HALHANDLE hHAL, const uint8_t* data, size_t size);
/hardware/st/nfc/st21nfc/hal/
Dhalcore.cc273 void HalDestroy(HALHANDLE hHAL) { in HalDestroy() argument
274 HalInstance* inst = (HalInstance*)hHAL; in HalDestroy()
306 */ bool HalSendDownstream(HALHANDLE hHAL, const uint8_t* data, size_t size) in HalSendDownstream() argument
309 HalInstance* inst = (HalInstance*)hHAL; in HalSendDownstream()
346 bool HalSendDownstreamTimer(HALHANDLE hHAL, const uint8_t* data, size_t size, in HalSendDownstreamTimer() argument
349 HalInstance* inst = (HalInstance*)hHAL; in HalSendDownstreamTimer()
377 bool HalSendDownstreamTimer(HALHANDLE hHAL, uint32_t duration) { in HalSendDownstreamTimer() argument
378 HalInstance* inst = (HalInstance*)hHAL; in HalSendDownstreamTimer()
397 bool HalSendDownstreamStopTimer(HALHANDLE hHAL) { in HalSendDownstreamStopTimer() argument
399 HalInstance* inst = (HalInstance*)hHAL; in HalSendDownstreamStopTimer()
[all …]
/hardware/st/nfc/1.0/hal/
Dhalcore.c45 HALHANDLE hHAL; member
249 void HalDestroy(HALHANDLE hHAL) in HalDestroy() argument
251 HalInstance* inst = (HalInstance*)hHAL; in HalDestroy()
282 */ bool HalSendDownstream(HALHANDLE hHAL, const uint8_t* data, size_t size) in HalSendDownstream() argument
285 HalInstance* inst = (HalInstance*)hHAL; in HalSendDownstream()
320 */ bool HalSendDownstreamTimer(HALHANDLE hHAL, const uint8_t* data, in HalSendDownstreamTimer() argument
324 HalInstance* inst = (HalInstance*)hHAL; in HalSendDownstreamTimer()
360 bool HalSendDownstreamStopTimer(HALHANDLE hHAL) in HalSendDownstreamStopTimer() argument
363 HalInstance* inst = (HalInstance*)hHAL; in HalSendDownstreamStopTimer()
376 */ bool HalSendUpstream(HALHANDLE hHAL, const uint8_t* data, size_t size) in HalSendUpstream() argument
[all …]
/hardware/st/nfc/1.0/
Dnfc_nci_st21nfc.c42 HALHANDLE hHAL; member
80 result = hal_wrapper_open(dev, p_cback, p_data_cback, &dev->hHAL); in hal_open()
82 if (!result || !dev->hHAL) in hal_open()
112 if (!HalSendDownstream(dev->hHAL, p_data, data_len)) in hal_write()
Dhal_wrapper.c37 HALHANDLE hHAL; member
/hardware/st/nfc/1.0/adaptation/
Di2clayer.c82 HALHANDLE hHAL = (HALHANDLE)arg; in I2cWorkerThread() local
146 HalSendUpstream(hHAL, buffer, 3 + bytesRead); in I2cWorkerThread()
207 HalDestroy(hHAL); in I2cWorkerThread()
/hardware/st/nfc/aidl/
Dhal_st21nfc.cc300 hal_wrapper_open(&dev, async_callback_post, p_data_cback, &(dev.hHAL)); in StNfc_hal_open()
302 if (!result || !(dev.hHAL)) { in StNfc_hal_open()
333 if (!HalSendDownstream(dev.hHAL, CORE_GET_CONFIG_OBSERVER, 5)) { in StNfc_hal_write()
346 if (!HalSendDownstream(dev.hHAL, CORE_SET_CONFIG_OBSERVER, 7)) { in StNfc_hal_write()
351 } else if (!HalSendDownstream(dev.hHAL, p_data, data_len)) { in StNfc_hal_write()
/hardware/st/nfc/1.1/
Dhal_st21nfc.cc42 HALHANDLE hHAL; member
300 hal_wrapper_open(&dev, async_callback_post, p_data_cback, &(dev.hHAL)); in StNfc_hal_open()
302 if (!result || !(dev.hHAL)) { in StNfc_hal_open()
326 if (!HalSendDownstream(dev.hHAL, p_data, data_len)) { in StNfc_hal_write()
/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc92 HALHANDLE hHAL = (HALHANDLE)arg; in I2cWorkerThread() local
173 HalSendUpstream(hHAL, buffer, 3 + bytesRead); in I2cWorkerThread()
253 HalDestroy(hHAL); in I2cWorkerThread()
/hardware/st/nfc/1.2/
Dhal_st21nfc.cc303 hal_wrapper_open(&dev, async_callback_post, p_data_cback, &(dev.hHAL)); in StNfc_hal_open()
305 if (!result || !(dev.hHAL)) { in StNfc_hal_open()
329 if (!HalSendDownstream(dev.hHAL, p_data, data_len)) { in StNfc_hal_write()