Lines Matching refs:p_data
48 static void halWrapperDataCallback(uint16_t data_len, uint8_t* p_data);
94 void halWrapperDataCallback(uint16_t data_len, uint8_t* p_data) { in halWrapperDataCallback() argument
105 if ((p_data[0] == 0x60) && (p_data[1] == 0x00)) { in halWrapperDataCallback()
106 if (p_data[3] == 0x01) { in halWrapperDataCallback()
109 } else if (p_data[3] == 0xa1) // Loader mode in halWrapperDataCallback()
114 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()
119 if ((p_data[0] == 0x40) && (p_data[1] == 0x01)) { in halWrapperDataCallback()
120 } else if ((p_data[0] == 0x60) && (p_data[1] == 0x06)) { in halWrapperDataCallback()
129 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()
134 if ((p_data[0] == 0x4f) && (p_data[1] == 0x02)) { in halWrapperDataCallback()
138 else if ((p_data[0] == 0x60) && (p_data[1] == 0x00)) { in halWrapperDataCallback()
149 else if ((p_data[0] == 0x40) && (p_data[1] == 0x01)) { in halWrapperDataCallback()
152 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()
156 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()