Home
last modified time | relevance | path

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

/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal_dta.cc83 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNHal_DtaUpdate() argument
89 if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNHal_DtaUpdate()
90 p_cmd_data[2] == 0x17 && p_cmd_data[3] == 0x01 && in phNxpNHal_DtaUpdate()
91 p_cmd_data[4] == 0x29 && p_cmd_data[5] == 0x14) { in phNxpNHal_DtaUpdate()
94 phNxpNciHal_print_packet("DTASEND", p_cmd_data, *cmd_len); in phNxpNHal_DtaUpdate()
108 } else if (p_cmd_data[0] == 0x21 && p_cmd_data[1] == 0x08 && in phNxpNHal_DtaUpdate()
109 p_cmd_data[2] == 0x04 && p_cmd_data[3] == 0xFF && in phNxpNHal_DtaUpdate()
110 p_cmd_data[4] == 0xFF) { in phNxpNHal_DtaUpdate()
120 } else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNHal_DtaUpdate()
121 p_cmd_data[2] == 0x10 && p_cmd_data[3] == 0x05 && in phNxpNHal_DtaUpdate()
[all …]
DphNxpNciHal_ext.cc598 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNciHal_write_ext() argument
605 phNxpNciHal_NfcDep_cmd_ext(p_cmd_data, cmd_len); in phNxpNciHal_write_ext()
608 status = phNxpNHal_DtaUpdate(cmd_len, p_cmd_data, rsp_len, p_rsp_data); in phNxpNciHal_write_ext()
611 if (p_cmd_data[0] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
612 p_cmd_data[1] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
613 p_cmd_data[2] == PROPRIETARY_CMD_FELICA_READER_MODE) { in phNxpNciHal_write_ext()
615 p_cmd_data[3]); in phNxpNciHal_write_ext()
616 gFelicaReaderMode = p_cmd_data[3]; in phNxpNciHal_write_ext()
624 } else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNciHal_write_ext()
625 p_cmd_data[2] == 0x05 && p_cmd_data[3] == 0x01 && in phNxpNciHal_write_ext()
[all …]
DphNxpNciHal_NfcDepSWPrio.cc56 static void phNxpNciHal_NfcDep_store_ntf(uint8_t* p_cmd_data, uint16_t cmd_len);
338 static void phNxpNciHal_NfcDep_store_ntf(uint8_t* p_cmd_data, in phNxpNciHal_NfcDep_store_ntf() argument
347 memcpy(p_iso_ntf_buff, p_cmd_data, cmd_len); in phNxpNciHal_NfcDep_store_ntf()
360 NFCSTATUS phNxpNciHal_NfcDep_comapre_ntf(uint8_t* p_cmd_data, in phNxpNciHal_NfcDep_comapre_ntf() argument
366 ret_val = memcmp(p_cmd_data, p_iso_ntf_buff, cmd_len); in phNxpNciHal_NfcDep_comapre_ntf()
511 void phNxpNciHal_NfcDep_cmd_ext(uint8_t* p_cmd_data, uint16_t* cmd_len) { in phNxpNciHal_NfcDep_cmd_ext() argument
512 if (p_cmd_data[0] == 0x21 && p_cmd_data[1] == 0x03) { in phNxpNciHal_NfcDep_cmd_ext()
513 if (*cmd_len == 6 && p_cmd_data[3] == 0x01 && p_cmd_data[4] == 0x02 && in phNxpNciHal_NfcDep_cmd_ext()
514 p_cmd_data[5] == 0x01) { in phNxpNciHal_NfcDep_cmd_ext()
520 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.h119 uint8_t p_cmd_data[NCI_MAX_DATA_LEN]; member
DphNxpNciHal.cc379 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHal_fw_download()
646 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHal_MinOpen()
900 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write()
913 phNxpNciHal_write_ext(&nxpncihal_ctrl.cmd_len, nxpncihal_ctrl.p_cmd_data, in phNxpNciHal_write()
928 nxpncihal_ctrl.p_cmd_data); in phNxpNciHal_write()
967 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write_unlocked()
972 nxpncihal_ctrl.p_cmd_data) != NFCSTATUS_SUCCESS) { in phNxpNciHal_write_unlocked()
979 (uint8_t *)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len); in phNxpNciHal_write_unlocked()
986 (uint8_t*)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len, in phNxpNciHal_write_unlocked()
2027 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHalRFConfigCmdRecSequence()
/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/libese-spi/p73/lib/
DphNxpEse_Internal.h85 uint8_t p_cmd_data[MAX_DATA_LEN]; member
DphNxpEse_Api.cpp1015 phNxpEse_memcpy(nxpese_ctxt.p_cmd_data, p_data, data_len); in phNxpEse_WriteFrame()
1018 dwNoBytesWrRd = phPalEse_write(nxpese_ctxt.pDevHandle, nxpese_ctxt.p_cmd_data, in phNxpEse_WriteFrame()
1025 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/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h189 OMX_PTR p_cmd_data);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp406 OMX_PTR p_cmd_data) in send_command() argument
410 (void) p_cmd_data; // prevent warning for unused function argument in send_command()
/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()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp420 OMX_PTR p_cmd_data) in send_command() argument
424 (void) p_cmd_data; // prevent warning for unused function argument in send_command()