Home
last modified time | relevance | path

Searched refs:p_cmd_data (Results 1 – 25 of 27) sorted by relevance

12

/hardware/nxp/nfc/pn8x/halimpl/hal/
DphNxpNciHal_dta.cc85 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNHal_DtaUpdate() argument
91 if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNHal_DtaUpdate()
92 p_cmd_data[2] == 0x17 && p_cmd_data[3] == 0x01 && in phNxpNHal_DtaUpdate()
93 p_cmd_data[4] == 0x29 && p_cmd_data[5] == 0x14) { in phNxpNHal_DtaUpdate()
96 phNxpNciHal_print_packet("DTASEND", p_cmd_data, *cmd_len); in phNxpNHal_DtaUpdate()
110 } else if (p_cmd_data[0] == 0x21 && p_cmd_data[1] == 0x08 && in phNxpNHal_DtaUpdate()
111 p_cmd_data[2] == 0x04 && p_cmd_data[3] == 0xFF && in phNxpNHal_DtaUpdate()
112 p_cmd_data[4] == 0xFF) { in phNxpNHal_DtaUpdate()
122 } else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNHal_DtaUpdate()
123 p_cmd_data[2] == 0x10 && p_cmd_data[3] == 0x05 && in phNxpNHal_DtaUpdate()
[all …]
DphNxpNciHal_ext.cc652 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNciHal_write_ext() argument
656 phNxpNciHal_NfcDep_cmd_ext(p_cmd_data, cmd_len); in phNxpNciHal_write_ext()
659 status = phNxpNHal_DtaUpdate(cmd_len, p_cmd_data, rsp_len, p_rsp_data); in phNxpNciHal_write_ext()
662 if (p_cmd_data[0] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
663 p_cmd_data[1] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
664 p_cmd_data[2] == PROPRIETARY_CMD_FELICA_READER_MODE) { in phNxpNciHal_write_ext()
666 p_cmd_data[3]); in phNxpNciHal_write_ext()
667 gFelicaReaderMode = p_cmd_data[3]; in phNxpNciHal_write_ext()
675 } else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNciHal_write_ext()
676 p_cmd_data[2] == 0x05 && p_cmd_data[3] == 0x01 && in phNxpNciHal_write_ext()
[all …]
DphNxpNciHal_NfcDepSWPrio.cc58 static void phNxpNciHal_NfcDep_store_ntf(uint8_t* p_cmd_data, uint16_t cmd_len);
340 static void phNxpNciHal_NfcDep_store_ntf(uint8_t* p_cmd_data, in phNxpNciHal_NfcDep_store_ntf() argument
349 memcpy(p_iso_ntf_buff, p_cmd_data, cmd_len); in phNxpNciHal_NfcDep_store_ntf()
362 NFCSTATUS phNxpNciHal_NfcDep_comapre_ntf(uint8_t* p_cmd_data, in phNxpNciHal_NfcDep_comapre_ntf() argument
368 ret_val = memcmp(p_cmd_data, p_iso_ntf_buff, cmd_len); in phNxpNciHal_NfcDep_comapre_ntf()
513 void phNxpNciHal_NfcDep_cmd_ext(uint8_t* p_cmd_data, uint16_t* cmd_len) { in phNxpNciHal_NfcDep_cmd_ext() argument
515 if (p_cmd_data[0] == 0x21 && p_cmd_data[1] == 0x03) { in phNxpNciHal_NfcDep_cmd_ext()
516 if (*cmd_len == 6 && p_cmd_data[3] == 0x01 && p_cmd_data[4] == 0x02 && in phNxpNciHal_NfcDep_cmd_ext()
517 p_cmd_data[5] == 0x01) { in phNxpNciHal_NfcDep_cmd_ext()
527 memcpy(&cmd_poll, p_cmd_data, cmd_poll_len); in phNxpNciHal_NfcDep_cmd_ext()
DphNxpNciHal_NfcDepSWPrio.h32 extern void phNxpNciHal_NfcDep_cmd_ext(uint8_t* p_cmd_data, uint16_t* cmd_len);
33 extern NFCSTATUS phNxpNciHal_NfcDep_comapre_ntf(uint8_t* p_cmd_data,
DphNxpNciHal_dta.h32 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal_ext.h27 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal.h121 uint8_t p_cmd_data[NCI_MAX_DATA_LEN]; member
DphNxpNciHal.cc390 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHal_fw_download()
655 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHal_MinOpen()
940 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write_internal()
956 phNxpNciHal_write_ext(&nxpncihal_ctrl.cmd_len, nxpncihal_ctrl.p_cmd_data, in phNxpNciHal_write_internal()
971 nxpncihal_ctrl.p_cmd_data); in phNxpNciHal_write_internal()
1013 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write_unlocked()
1018 nxpncihal_ctrl.p_cmd_data) != in phNxpNciHal_write_unlocked()
1026 (uint8_t*)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len); in phNxpNciHal_write_unlocked()
1033 (uint8_t*)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len, in phNxpNciHal_write_unlocked()
2047 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHalRFConfigCmdRecSequence()
/hardware/nxp/nfc/snxxx/halimpl/hal/
DphNxpNciHal_dta.cc82 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNHal_DtaUpdate() argument
88 if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNHal_DtaUpdate()
89 p_cmd_data[2] == 0x17 && p_cmd_data[3] == 0x01 && in phNxpNHal_DtaUpdate()
90 p_cmd_data[4] == 0x29 && p_cmd_data[5] == 0x14) { in phNxpNHal_DtaUpdate()
93 phNxpNciHal_print_packet("DTASEND", p_cmd_data, *cmd_len); in phNxpNHal_DtaUpdate()
107 } else if (p_cmd_data[0] == 0x21 && p_cmd_data[1] == 0x08 && in phNxpNHal_DtaUpdate()
108 p_cmd_data[2] == 0x04 && p_cmd_data[3] == 0xFF && in phNxpNHal_DtaUpdate()
109 p_cmd_data[4] == 0xFF) { in phNxpNHal_DtaUpdate()
119 } else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNHal_DtaUpdate()
120 p_cmd_data[2] == 0x10 && p_cmd_data[3] == 0x05 && in phNxpNHal_DtaUpdate()
[all …]
DphNxpNciHal_ext.cc662 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNciHal_write_ext() argument
666 phNxpNciHal_NfcDep_cmd_ext(p_cmd_data, cmd_len); in phNxpNciHal_write_ext()
669 status = phNxpNHal_DtaUpdate(cmd_len, p_cmd_data, rsp_len, p_rsp_data); in phNxpNciHal_write_ext()
672 if (p_cmd_data[0] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
673 p_cmd_data[1] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
674 p_cmd_data[2] == PROPRIETARY_CMD_FELICA_READER_MODE) { in phNxpNciHal_write_ext()
676 p_cmd_data[3]); in phNxpNciHal_write_ext()
677 gFelicaReaderMode = p_cmd_data[3]; in phNxpNciHal_write_ext()
685 } else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNciHal_write_ext()
686 (p_cmd_data[2] == 0x05 || p_cmd_data[2] == 0x32) && in phNxpNciHal_write_ext()
[all …]
DphNxpNciHal_NfcDepSWPrio.cc58 static void phNxpNciHal_NfcDep_store_ntf(uint8_t* p_cmd_data, uint16_t cmd_len);
340 static void phNxpNciHal_NfcDep_store_ntf(uint8_t* p_cmd_data, in phNxpNciHal_NfcDep_store_ntf() argument
349 memcpy(p_iso_ntf_buff, p_cmd_data, cmd_len); in phNxpNciHal_NfcDep_store_ntf()
362 NFCSTATUS phNxpNciHal_NfcDep_comapre_ntf(uint8_t* p_cmd_data, in phNxpNciHal_NfcDep_comapre_ntf() argument
368 ret_val = memcmp(p_cmd_data, p_iso_ntf_buff, cmd_len); in phNxpNciHal_NfcDep_comapre_ntf()
517 void phNxpNciHal_NfcDep_cmd_ext(uint8_t* p_cmd_data, uint16_t* cmd_len) { in phNxpNciHal_NfcDep_cmd_ext() argument
519 if (p_cmd_data[0] == 0x21 && p_cmd_data[1] == 0x03) { in phNxpNciHal_NfcDep_cmd_ext()
520 if (*cmd_len == 6 && p_cmd_data[3] == 0x01 && p_cmd_data[4] == 0x02 && in phNxpNciHal_NfcDep_cmd_ext()
521 p_cmd_data[5] == 0x01) { in phNxpNciHal_NfcDep_cmd_ext()
531 memcpy(&cmd_poll, p_cmd_data, cmd_poll_len); in phNxpNciHal_NfcDep_cmd_ext()
DphNxpNciHal_NfcDepSWPrio.h32 extern void phNxpNciHal_NfcDep_cmd_ext(uint8_t* p_cmd_data, uint16_t* cmd_len);
33 extern NFCSTATUS phNxpNciHal_NfcDep_comapre_ntf(uint8_t* p_cmd_data,
DphNxpNciHal_dta.h32 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal.h170 uint8_t p_cmd_data[NCI_MAX_DATA_LEN]; member
/hardware/qcom/audio/post_proc/
Dma_listener.c238 void *p_cmd_data, uint32_t *reply_size, in ma_effect_command() argument
269 if (p_cmd_data == NULL || cmd_size != sizeof(effect_config_t) in ma_effect_command()
274 context->config = *(effect_config_t *)p_cmd_data; in ma_effect_command()
368 if (p_cmd_data == NULL) { in ma_effect_command()
374 new_device = *(uint32_t *)p_cmd_data; in ma_effect_command()
392 if (p_cmd_data == NULL || cmd_size != 2 * sizeof(uint32_t)) { in ma_effect_command()
393 ALOGE("%s: EFFECT_CMD_SET_VOLUME: %s", __func__, (p_cmd_data == NULL) ? in ma_effect_command()
399 left_vol = (float)(*(uint32_t *)p_cmd_data) / (1 << 24); in ma_effect_command()
400 right_vol = (float)(*((uint32_t *)p_cmd_data + 1)) / (1 << 24); in ma_effect_command()
Dvolume_listener.c376 void *p_cmd_data, uint32_t *reply_size, in vol_effect_command() argument
408 if (p_cmd_data == NULL || cmd_size != sizeof(effect_config_t) in vol_effect_command()
414 context->config = *(effect_config_t *)p_cmd_data; in vol_effect_command()
511 if (p_cmd_data == NULL) { in vol_effect_command()
517 new_device = *(uint32_t *)p_cmd_data; in vol_effect_command()
542 if (p_cmd_data == NULL || cmd_size != 2 * sizeof(uint32_t)) { in vol_effect_command()
543 ALOGE("%s: EFFECT_CMD_SET_VOLUME: %s", __func__, (p_cmd_data == NULL) ? in vol_effect_command()
553 left_vol = (float)(*(uint32_t *)p_cmd_data) / (1 << 24); in vol_effect_command()
554 right_vol = (float)(*((uint32_t *)p_cmd_data + 1)) / (1 << 24); in vol_effect_command()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEse_Internal.h85 uint8_t p_cmd_data[MAX_DATA_LEN]; member
DphNxpEse_Api.cpp1007 phNxpEse_memcpy(nxpese_ctxt.p_cmd_data, p_data, data_len); in phNxpEse_WriteFrame()
1010 dwNoBytesWrRd = phPalEse_write(nxpese_ctxt.pDevHandle, nxpese_ctxt.p_cmd_data, in phNxpEse_WriteFrame()
1017 PH_PAL_ESE_PRINT_PACKET_TX(nxpese_ctxt.p_cmd_data, nxpese_ctxt.cmd_len); in phNxpEse_WriteFrame()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Internal.h119 uint8_t p_cmd_data[MAX_DATA_LEN]; /*!<cmd buffer */ member
DphNxpEse_Api.cpp1581 phNxpEse_memcpy(nxpese_ctxt.p_cmd_data, p_data, data_len); in phNxpEse_WriteFrame()
1584 dwNoBytesWrRd = phPalEse_write(nxpese_ctxt.pDevHandle, nxpese_ctxt.p_cmd_data, in phNxpEse_WriteFrame()
1591 PH_PAL_ESE_PRINT_PACKET_TX(nxpese_ctxt.p_cmd_data, nxpese_ctxt.cmd_len); in phNxpEse_WriteFrame()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h194 OMX_PTR p_cmd_data);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h182 OMX_PTR p_cmd_data);
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h194 OMX_PTR p_cmd_data);
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h194 OMX_PTR p_cmd_data);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp389 OMX_PTR p_cmd_data) in send_command() argument
393 (void) p_cmd_data; // prevent warning for unused function argument in send_command()

12