Lines Matching refs:p_data
42 static void halWrapperDataCallback(uint16_t data_len, uint8_t* p_data);
197 void halWrapperDataCallback(uint16_t data_len, uint8_t* p_data) { in halWrapperDataCallback() argument
212 if ((p_data[0] == 0x60) && (p_data[1] == 0x00)) { in halWrapperDataCallback()
213 mFwUpdateTaskMask = ft_cmd_HwReset(p_data, &mClfMode); in halWrapperDataCallback()
251 if (p_data[3] == 0x01) { in halWrapperDataCallback()
283 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()
290 if ((p_data[0] == 0x40) && (p_data[1] == 0x01)) { in halWrapperDataCallback()
291 } else if ((p_data[0] == 0x60) && (p_data[1] == 0x06)) { in halWrapperDataCallback()
301 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()
309 if ((p_data[0] == 0x4f) && (p_data[1] == 0x02)) { in halWrapperDataCallback()
313 else if ((p_data[0] == 0x60) && (p_data[1] == 0x00)) { in halWrapperDataCallback()
324 else if ((p_data[0] == 0x40) && (p_data[1] == 0x01)) { in halWrapperDataCallback()
327 if (p_data[13] == 0x00) { in halWrapperDataCallback()
329 p_data[13] = 0x01; in halWrapperDataCallback()
334 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()
342 if ((p_data[0] == 0x40) && (p_data[1] == 0x02)) { in halWrapperDataCallback()
347 } else if (mHciCreditLent && (p_data[0] == 0x60) && (p_data[1] == 0x06)) { in halWrapperDataCallback()
349 if (p_data[4] == 0x01) { // HCI connection in halWrapperDataCallback()
352 if (p_data[5] == 0x01) { in halWrapperDataCallback()
356 if (p_data[5] != 0x00 && p_data[5] != 0xFF) { in halWrapperDataCallback()
358 p_data[5]--; in halWrapperDataCallback()
362 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()
363 } else if (p_data[0] == 0x4f) { in halWrapperDataCallback()
370 if (p_data[3] == 0x00) { in halWrapperDataCallback()
376 if ((num == 1) && (p_data[7] == 0x00)) { in halWrapperDataCallback()
380 } else if ((num == 0) && (p_data[7] == 0x01)) { in halWrapperDataCallback()
391 memcpy(&nciPropEnableFwDbgTraces[10], &p_data[8], in halWrapperDataCallback()
392 p_data[6] - 1); in halWrapperDataCallback()
393 if ((9 + p_data[6]) < sizeof(nciPropEnableFwDbgTraces)) { in halWrapperDataCallback()
394 nciPropEnableFwDbgTraces_size = 9 + p_data[6]; in halWrapperDataCallback()
418 if (!((p_data[0] == 0x60) && (p_data[3] == 0xa0))) { in halWrapperDataCallback()
419 if (mHciCreditLent && (p_data[0] == 0x60) && (p_data[1] == 0x06)) { in halWrapperDataCallback()
420 if (p_data[4] == 0x01) { // HCI connection in halWrapperDataCallback()
423 if (p_data[5] == 0x01) { in halWrapperDataCallback()
427 if (p_data[5] != 0x00 && p_data[5] != 0xFF) { in halWrapperDataCallback()
429 p_data[5]--; in halWrapperDataCallback()
433 } else if ((p_data[0] == 0x6f) && (p_data[1] == 0x05)) { in halWrapperDataCallback()
438 } else if ((p_data[0] == 0x6f) && (p_data[1] == 0x06)) { in halWrapperDataCallback()
456 } else if (((p_data[0] == 0x61) && (p_data[1] == 0x05)) || in halWrapperDataCallback()
457 ((p_data[0] == 0x61) && (p_data[1] == 0x03))) { in halWrapperDataCallback()
465 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()
468 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()
478 if ((p_data[0] == 0x4f) && (p_data[1] == 0x02)) { in halWrapperDataCallback()
482 mHalWrapperDataCallback(data_len, p_data); in halWrapperDataCallback()
490 ExitHibernateHandler(mHalHandle, data_len, p_data); in halWrapperDataCallback()
495 UpdateHandler(mHalHandle, data_len, p_data); in halWrapperDataCallback()
501 ApplyCustomParamHandler(mHalHandle, data_len, p_data); in halWrapperDataCallback()