Searched refs:NCI_LEN (Results 1 – 4 of 4) sorted by relevance
131 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()
136 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()
49 size_t len = NCI_LEN(pkt) + NCI_HDR_SIZE; in nfc_data_callback()
45 #define NCI_LEN(x) ((x)->len) macro50 #define NCI_PKT_LEN(x) (NCI_HDR_SIZE + NCI_LEN(x))