/external/libnfc-nci/halimpl/bcm2079x/hal/include/ |
D | nci_defs.h | 108 #define NCI_MSG_PBLD_HDR0(p, mt, pbf, gid) \ argument 109 *(p)++ = (UINT8) (((mt) << NCI_MT_SHIFT) | ((pbf) << NCI_PBF_SHIFT) | (gid)); 116 #define NCI_MSG_PRS_HDR0(p, mt, pbf, gid) \ argument 118 pbf = (*(p) & NCI_PBF_MASK) >> NCI_PBF_SHIFT; \ 122 #define NCI_MSG_PRS_MT_PBF(p, mt, pbf) \ argument 124 pbf = (*(p) & NCI_PBF_MASK) >> NCI_PBF_SHIFT; 141 #define NCI_DATA_PBLD_HDR(p, pbf, cid, len) \ argument 142 *(p)++ = (UINT8) (((pbf) << NCI_PBF_SHIFT) | (cid)); *(p)++=0; *(p)++ = (len); 144 #define NCI_DATA_PRS_HDR(p, pbf, cid, len) \ argument 145 …(pbf) = (*(p) & NCI_PBF_MASK) >> NCI_PBF_SHIFT; (cid) = (*(p) & NCI_CID_MASK); p++; p++; (len) = *…
|
/external/libnfc-nci/src/hal/include/ |
D | nci_defs.h | 108 #define NCI_MSG_PBLD_HDR0(p, mt, pbf, gid) \ argument 109 *(p)++ = (UINT8) (((mt) << NCI_MT_SHIFT) | ((pbf) << NCI_PBF_SHIFT) | (gid)); 116 #define NCI_MSG_PRS_HDR0(p, mt, pbf, gid) \ argument 118 pbf = (*(p) & NCI_PBF_MASK) >> NCI_PBF_SHIFT; \ 122 #define NCI_MSG_PRS_MT_PBF(p, mt, pbf) \ argument 124 pbf = (*(p) & NCI_PBF_MASK) >> NCI_PBF_SHIFT; 141 #define NCI_DATA_PBLD_HDR(p, pbf, cid, len) \ argument 142 *(p)++ = (UINT8) (((pbf) << NCI_PBF_SHIFT) | (cid)); *(p)++=0; *(p)++ = (len); 144 #define NCI_DATA_PRS_HDR(p, pbf, cid, len) \ argument 145 …(pbf) = (*(p) & NCI_PBF_MASK) >> NCI_PBF_SHIFT; (cid) = (*(p) & NCI_CID_MASK); p++; p++; (len) = *…
|
/external/linux-tools-perf/util/ |
D | event.c | 170 char bf[BUFSIZ], *pbf = bf; in perf_event__synthesize_mmap_events() local 177 n = hex2u64(pbf, &event->mmap.start); in perf_event__synthesize_mmap_events() 180 pbf += n + 1; in perf_event__synthesize_mmap_events() 181 n = hex2u64(pbf, &event->mmap.len); in perf_event__synthesize_mmap_events() 184 pbf += n + 3; in perf_event__synthesize_mmap_events() 185 if (*pbf == 'x') { /* vm_exec */ in perf_event__synthesize_mmap_events() 195 pbf += 3; in perf_event__synthesize_mmap_events() 196 n = hex2u64(pbf, &event->mmap.pgoff); in perf_event__synthesize_mmap_events()
|
/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_ncif.c | 144 UINT8 pbf = 1; in nfc_ncif_send_data() local 187 pbf = 0; /* last fragment */ in nfc_ncif_send_data() 221 p->layer_specific = pbf; in nfc_ncif_send_data() 226 NCI_DATA_PBLD_HDR(pp, pbf, hdr0, ulen); in nfc_ncif_send_data() 367 UINT8 mt, pbf, gid, *p, *pp; in nfc_ncif_process_event() local 375 NCI_MSG_PRS_HDR0 (pp, mt, pbf, gid); in nfc_ncif_process_event() 389 NCI_MSG_PRS_HDR0(p_old, old_mt, pbf, old_gid); in nfc_ncif_process_event() 1429 UINT8 pbf; in nfc_ncif_proc_data() local 1439 NCI_DATA_PRS_HDR (pp, pbf, cid, len); in nfc_ncif_proc_data() 1447 if (pbf) in nfc_ncif_proc_data()
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_nci.c | 526 UINT8 mt, pbf, gid, op_code; in nfc_hal_nci_preproc_rx_nci_msg() local 543 NCI_MSG_PRS_HDR0 (p, mt, pbf, gid); in nfc_hal_nci_preproc_rx_nci_msg() 551 NCI_DATA_PRS_HDR(pp, pbf, cid, data_len); in nfc_hal_nci_preproc_rx_nci_msg() 665 UINT8 mt, pbf, gid, op_code; in nci_brcm_check_cmd_create_hcp_connection() local 673 NCI_MSG_PRS_HDR0 (p, mt, pbf, gid); in nci_brcm_check_cmd_create_hcp_connection()
|
D | nfc_hal_dm.c | 481 UINT8 mt, pbf, gid, op_code; in nfc_hal_dm_proc_msg_during_init() local 489 NCI_MSG_PRS_HDR0 (p, mt, pbf, gid); in nfc_hal_dm_proc_msg_during_init() 499 NCI_MSG_PRS_HDR0 (p_old, old_mt, pbf, old_gid); in nfc_hal_dm_proc_msg_during_init()
|