Home
last modified time | relevance | path

Searched refs:NCI_LEN (Results 1 – 4 of 4) sorted by relevance

/hardware/samsung/nfc/halimpl/src/
Dhal_nci.cc131 ret = device_read(NCI_PAYLOAD(pkt), NCI_LEN(pkt)); in nci_read_payload()
132 if (ret != (int)NCI_LEN(pkt)) { in nci_read_payload()
181 if (NCI_LEN(pkt) == 0) { in nfc_hal_prehandler()
187 if (NCI_LEN(pkt) > 1) in nfc_hal_prehandler()
190 if (NCI_LEN(pkt) > 2) option = NCI_PAYLOAD(pkt)[2]; in nfc_hal_prehandler()
Dhal_task.cc136 if (NCI_OID(pkt) == NCI_CORE_RESET && NCI_LEN(pkt) == 1) { in nfc_hal_postinit_sm()
144 (NCI_LEN(pkt) == 0 || NCI_LEN(pkt) == 2)) { in nfc_hal_postinit_sm()
166 if ((NCI_LEN(pkt) == 0x03) && NCI_MT(pkt) == NCI_MT_RSP) in nfc_hal_postinit_sm()
Dhal.cc49 size_t len = NCI_LEN(pkt) + NCI_HDR_SIZE; in nfc_data_callback()
/hardware/samsung/nfc/halimpl/include/
Dhal_msg.h45 #define NCI_LEN(x) ((x)->len) macro
50 #define NCI_PKT_LEN(x) (NCI_HDR_SIZE + NCI_LEN(x))