Home
last modified time | relevance | path

Searched refs:pbf (Results 1 – 6 of 6) sorted by relevance

/external/libnfc-nci/src/hal/include/
Dnci_defs.h109 #define NCI_MSG_PBLD_HDR0(p, mt, pbf, gid) \ argument
110 *(p)++ = (UINT8) (((mt) << NCI_MT_SHIFT) | ((pbf) << NCI_PBF_SHIFT) | (gid));
117 #define NCI_MSG_PRS_HDR0(p, mt, pbf, gid) \ argument
119 pbf = (*(p) & NCI_PBF_MASK) >> NCI_PBF_SHIFT; \
123 #define NCI_MSG_PRS_MT_PBF(p, mt, pbf) \ argument
125 pbf = (*(p) & NCI_PBF_MASK) >> NCI_PBF_SHIFT;
142 #define NCI_DATA_PBLD_HDR(p, pbf, cid, len) \ argument
143 *(p)++ = (UINT8) (((pbf) << NCI_PBF_SHIFT) | (cid)); *(p)++=0; *(p)++ = (len);
145 #define NCI_DATA_PRS_HDR(p, pbf, cid, len) \ argument
146 …(pbf) = (*(p) & NCI_PBF_MASK) >> NCI_PBF_SHIFT; (cid) = (*(p) & NCI_CID_MASK); p++; p++; (len) = *…
/external/linux-tools-perf/util/
Devent.c170 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/
Dnfc_ncif.c145 UINT8 pbf = 1; in nfc_ncif_send_data() local
188 pbf = 0; /* last fragment */ in nfc_ncif_send_data()
222 p->layer_specific = pbf; in nfc_ncif_send_data()
227 NCI_DATA_PBLD_HDR(pp, pbf, hdr0, ulen); in nfc_ncif_send_data()
366 UINT8 mt, pbf, gid, *p, *pp; in nfc_ncif_process_event() local
374 NCI_MSG_PRS_HDR0 (pp, mt, pbf, gid); in nfc_ncif_process_event()
388 NCI_MSG_PRS_HDR0(p_old, old_mt, pbf, old_gid); in nfc_ncif_process_event()
1457 UINT8 pbf; in nfc_ncif_proc_data() local
1467 NCI_DATA_PRS_HDR (pp, pbf, cid, len); in nfc_ncif_proc_data()
1475 if (pbf) in nfc_ncif_proc_data()
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_nci.c527 UINT8 mt, pbf, gid, op_code; in nfc_hal_nci_preproc_rx_nci_msg() local
544 NCI_MSG_PRS_HDR0 (p, mt, pbf, gid); in nfc_hal_nci_preproc_rx_nci_msg()
552 NCI_DATA_PRS_HDR(pp, pbf, cid, data_len); in nfc_hal_nci_preproc_rx_nci_msg()
664 UINT8 mt, pbf, gid, op_code; in nci_brcm_check_cmd_create_hcp_connection() local
672 NCI_MSG_PRS_HDR0 (p, mt, pbf, gid); in nci_brcm_check_cmd_create_hcp_connection()
Dnfc_hal_main.c505 UINT8 *ps, *pp, cid, pbf; in nfc_hal_main_send_message() local
535 NCI_DATA_PRS_HDR(pp, pbf, cid, data_len); in nfc_hal_main_send_message()
Dnfc_hal_dm.c459 UINT8 mt, pbf, gid, op_code; in nfc_hal_dm_proc_msg_during_init() local
471 NCI_MSG_PRS_HDR0 (p, mt, pbf, gid); in nfc_hal_dm_proc_msg_during_init()
481 NCI_MSG_PRS_HDR0 (p_old, old_mt, pbf, old_gid); in nfc_hal_dm_proc_msg_during_init()