Home
last modified time | relevance | path

Searched refs:p_cmd_data (Results 1 – 25 of 30) 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.cc649 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNciHal_write_ext() argument
653 phNxpNciHal_NfcDep_cmd_ext(p_cmd_data, cmd_len); in phNxpNciHal_write_ext()
656 status = phNxpNHal_DtaUpdate(cmd_len, p_cmd_data, rsp_len, p_rsp_data); in phNxpNciHal_write_ext()
659 if (p_cmd_data[0] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
660 p_cmd_data[1] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
661 p_cmd_data[2] == PROPRIETARY_CMD_FELICA_READER_MODE) { in phNxpNciHal_write_ext()
663 p_cmd_data[3]); in phNxpNciHal_write_ext()
664 gFelicaReaderMode = p_cmd_data[3]; in phNxpNciHal_write_ext()
672 } else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNciHal_write_ext()
673 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.h122 uint8_t p_cmd_data[NCI_MAX_DATA_LEN]; member
DphNxpNciHal.cc373 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHal_fw_download()
401 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHal_fw_download()
666 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHal_MinOpen()
949 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write_internal()
965 phNxpNciHal_write_ext(&nxpncihal_ctrl.cmd_len, nxpncihal_ctrl.p_cmd_data, in phNxpNciHal_write_internal()
980 nxpncihal_ctrl.p_cmd_data); in phNxpNciHal_write_internal()
1022 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write_unlocked()
1027 nxpncihal_ctrl.p_cmd_data) != in phNxpNciHal_write_unlocked()
1035 (uint8_t*)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len); in phNxpNciHal_write_unlocked()
1042 (uint8_t*)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len, in phNxpNciHal_write_unlocked()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/hal/
DphNxpNciHal_ext.cc99 uint8_t* p_cmd_data,
672 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNciHal_write_ext() argument
676 if (p_cmd_data[0] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
677 p_cmd_data[1] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
678 p_cmd_data[2] == PROPRIETARY_CMD_FELICA_READER_MODE) { in phNxpNciHal_write_ext()
680 p_cmd_data[3]); in phNxpNciHal_write_ext()
681 gFelicaReaderMode = p_cmd_data[3]; in phNxpNciHal_write_ext()
689 } else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNciHal_write_ext()
690 (p_cmd_data[2] == 0x05 || p_cmd_data[2] == 0x32) && in phNxpNciHal_write_ext()
691 (p_cmd_data[3] == 0x01 || p_cmd_data[3] == 0x02) && in phNxpNciHal_write_ext()
[all …]
DphNxpNciHal_ext.h42 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal.cc1142 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write_internal()
1147 phNxpNciHal_write_ext(&nxpncihal_ctrl.cmd_len, nxpncihal_ctrl.p_cmd_data, in phNxpNciHal_write_internal()
1161 nxpncihal_ctrl.p_cmd_data, ORIG_LIBNFC); in phNxpNciHal_write_internal()
1205 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write_unlocked()
1210 nxpncihal_ctrl.p_cmd_data) != in phNxpNciHal_write_unlocked()
1226 (uint8_t*)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len, in phNxpNciHal_write_unlocked()
1289 if (((nxpncihal_ctrl.p_cmd_data[0] & NCI_MT_MASK) == NCI_MT_CMD) && in phNxpNciHal_write_unlocked()
1387 ((nxpncihal_ctrl.p_cmd_data[0x00] & NCI_GID_MASK) == in phNxpNciHal_read_complete()
1389 ((nxpncihal_ctrl.p_cmd_data[0x01] & NCI_OID_MASK) == in phNxpNciHal_read_complete()
1417 (nxpncihal_ctrl.p_cmd_data[0x00] & NCI_GID_MASK) == in phNxpNciHal_read_complete()
[all …]
DphNxpNciHal.h158 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.cpp1011 phNxpEse_memcpy(nxpese_ctxt.p_cmd_data, p_data, data_len); in phNxpEse_WriteFrame()
1014 dwNoBytesWrRd = phPalEse_write(nxpese_ctxt.pDevHandle, nxpese_ctxt.p_cmd_data, in phNxpEse_WriteFrame()
1021 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.cpp1364 phNxpEse_memcpy(nxpese_ctxt.p_cmd_data, p_data, data_len); in phNxpEse_WriteFrame()
1375 dwNoBytesWrRd = phPalEse_write(nxpese_ctxt.pDevHandle, nxpese_ctxt.p_cmd_data, in phNxpEse_WriteFrame()
1382 PH_PAL_ESE_PRINT_PACKET_TX(nxpese_ctxt.p_cmd_data, nxpese_ctxt.cmd_len); in phNxpEse_WriteFrame()
/hardware/nxp/uwb/halimpl/hal/
DphNxpUciHal.cc255 return phNxpUciHal_handle_set_app_config(&nxpucihal_ctrl.cmd_len, nxpucihal_ctrl.p_cmd_data); in phNxpUciHal_parse()
257 SessionTrack_onSessionInit(nxpucihal_ctrl.cmd_len, nxpucihal_ctrl.p_cmd_data); in phNxpUciHal_parse()
410 memcpy(nxpucihal_ctrl.p_cmd_data, p_data, data_len); in phNxpUciHal_write_unlocked()
419 phNxpUciHal_parse(nxpucihal_ctrl.cmd_len, nxpucihal_ctrl.p_cmd_data); in phNxpUciHal_write_unlocked()
424 (uint8_t*)nxpucihal_ctrl.p_cmd_data, (uint16_t)nxpucihal_ctrl.cmd_len, in phNxpUciHal_write_unlocked()
DphNxpUciHal_ext.cc175 memcpy(nxpucihal_ctrl.p_cmd_data, p_cmd, cmd_len); in phNxpUciHal_send_ext_cmd()
177 nxpucihal_ctrl.cmd_len, nxpucihal_ctrl.p_cmd_data, &data_written); in phNxpUciHal_send_ext_cmd()
478 …CountryCodeCapsGenTxPowerPacket(nxpucihal_ctrl.p_cmd_data, sizeof(nxpucihal_ctrl.p_cmd_data), &nxp… in phNxpUciHal_handle_set_calibration()
DphNxpUciHal.h189 uint8_t p_cmd_data[UCI_MAX_DATA_LEN]; member
/hardware/nxp/nfc/snxxx/halimpl/recovery/
DphNxpNciHal_Recovery.cc189 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_writeCmd()
192 (uint8_t*)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len, in phNxpNciHal_writeCmd()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h194 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);

12