Lines Matching refs:nci_pkt
46 tNFC_NCI_PKT nci_pkt; in hal_nci_send_reset() local
48 memset(&nci_pkt, 0, sizeof(tNFC_NCI_PKT)); in hal_nci_send_reset()
49 nci_pkt.oct0 = NCI_MT_CMD | NCI_PBF_LAST | NCI_GID_CORE; in hal_nci_send_reset()
50 nci_pkt.oid = NCI_CORE_RESET; in hal_nci_send_reset()
51 nci_pkt.len = 0x01; in hal_nci_send_reset()
52 nci_pkt.payload[0] = 0x01; // Reset config in hal_nci_send_reset()
54 hal_nci_send(&nci_pkt); in hal_nci_send_reset()
61 tNFC_NCI_PKT nci_pkt; in hal_nci_send_init() local
65 memset(&nci_pkt, 0, sizeof(tNFC_NCI_PKT)); in hal_nci_send_init()
66 nci_pkt.oct0 = NCI_MT_CMD | NCI_PBF_LAST | NCI_GID_CORE; in hal_nci_send_init()
67 nci_pkt.oid = NCI_CORE_INIT; in hal_nci_send_init()
68 nci_pkt.len = 0x00; in hal_nci_send_init()
71 nci_pkt.len = 0x02; in hal_nci_send_init()
72 nci_pkt.payload[0] = 0x00; in hal_nci_send_init()
73 nci_pkt.payload[1] = 0x00; in hal_nci_send_init()
77 hal_nci_send(&nci_pkt); in hal_nci_send_init()
82 tNFC_NCI_PKT nci_pkt; in hal_nci_send_clearLmrt() local
84 memset(&nci_pkt, 0, sizeof(tNFC_NCI_PKT)); in hal_nci_send_clearLmrt()
85 nci_pkt.oct0 = NCI_MT_CMD | NCI_PBF_LAST | NCI_GID_RF_MANAGE; in hal_nci_send_clearLmrt()
86 nci_pkt.oid = 0x01; // RF_SET_LMRT in hal_nci_send_clearLmrt()
87 nci_pkt.len = 0x02; in hal_nci_send_clearLmrt()
88 nci_pkt.payload[0] = 0x00; in hal_nci_send_clearLmrt()
89 nci_pkt.payload[1] = 0x00; in hal_nci_send_clearLmrt()
91 hal_nci_send(&nci_pkt); in hal_nci_send_clearLmrt()
110 tNFC_NCI_PKT nci_pkt; in hal_nci_send_prop_fw_cfg() local
113 memset(&nci_pkt, 0, sizeof(tNFC_NCI_PKT)); in hal_nci_send_prop_fw_cfg()
114 nci_pkt.oct0 = NCI_MT_CMD | NCI_PBF_LAST | NCI_GID_PROP; in hal_nci_send_prop_fw_cfg()
115 nci_pkt.oid = NCI_PROP_FW_CFG; in hal_nci_send_prop_fw_cfg()
117 nci_pkt.len = 0x01; in hal_nci_send_prop_fw_cfg()
118 get_clock_info(rev, CFG_FW_CLK_SPEED, (int*)&nci_pkt.payload[0]); in hal_nci_send_prop_fw_cfg()
119 if (nci_pkt.payload[0] == 0xff) { in hal_nci_send_prop_fw_cfg()
121 nci_pkt.payload[0]); in hal_nci_send_prop_fw_cfg()
124 hal_nci_send(&nci_pkt); in hal_nci_send_prop_fw_cfg()