Home
last modified time | relevance | path

Searched refs:cmd_len (Results 1 – 24 of 24) sorted by relevance

/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal_ext.cc380 inpOutData.inp.data.nciCmd.cmd_len = sizeof(rf_state_update); in phNxpNciHal_process_ext_rsp()
505 static NFCSTATUS phNxpNciHal_process_ext_cmd_rsp(uint16_t cmd_len, in phNxpNciHal_process_ext_cmd_rsp() argument
520 data_written = phNxpNciHal_write_unlocked(cmd_len, p_cmd); in phNxpNciHal_process_ext_cmd_rsp()
521 if (data_written != cmd_len) { in phNxpNciHal_process_ext_cmd_rsp()
613 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNciHal_write_ext() argument
617 phNxpNciHal_NfcDep_cmd_ext(p_cmd_data, cmd_len); in phNxpNciHal_write_ext()
620 status = phNxpNHal_DtaUpdate(cmd_len, p_cmd_data, rsp_len, p_rsp_data); in phNxpNciHal_write_ext()
658 phNxpNciHal_print_packet("SEND", p_cmd_data, *cmd_len); in phNxpNciHal_write_ext()
675 *cmd_len = 8; in phNxpNciHal_write_ext()
679 if (*cmd_len <= (NCI_MAX_DATA_LEN - 3) && in phNxpNciHal_write_ext()
[all …]
DphNxpNciHal_dta.cc83 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNHal_DtaUpdate() argument
94 phNxpNciHal_print_packet("DTASEND", p_cmd_data, *cmd_len); in phNxpNHal_DtaUpdate()
144 p_cmd_data[*cmd_len] = 0x80; in phNxpNHal_DtaUpdate()
145 p_cmd_data[*cmd_len + 1] = 0x01; in phNxpNHal_DtaUpdate()
146 p_cmd_data[*cmd_len + 2] = 0x82; in phNxpNHal_DtaUpdate()
147 p_cmd_data[*cmd_len + 3] = 0x01; in phNxpNHal_DtaUpdate()
148 p_cmd_data[*cmd_len + 4] = 0x85; in phNxpNHal_DtaUpdate()
149 p_cmd_data[*cmd_len + 5] = 0x01; in phNxpNHal_DtaUpdate()
151 *cmd_len += 6; in phNxpNHal_DtaUpdate()
DphNxpNciHal_NfcDepSWPrio.cc30 extern NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t* p_cmd);
58 static void phNxpNciHal_NfcDep_store_ntf(uint8_t* p_cmd_data, uint16_t cmd_len);
341 uint16_t cmd_len) { in phNxpNciHal_NfcDep_store_ntf() argument
344 p_iso_ntf_buff = malloc(sizeof(uint8_t) * cmd_len); in phNxpNciHal_NfcDep_store_ntf()
349 memcpy(p_iso_ntf_buff, p_cmd_data, cmd_len); in phNxpNciHal_NfcDep_store_ntf()
363 uint16_t cmd_len) { 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
514 if (*cmd_len < NCI_HEADER_SIZE) return; 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()
[all …]
DphNxpNciHal_ext.h25 NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t* p_cmd);
26 NFCSTATUS phNxpNciHal_send_ese_hal_cmd(uint16_t cmd_len, uint8_t* p_cmd);
27 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal_NfcDepSWPrio.h32 extern void phNxpNciHal_NfcDep_cmd_ext(uint8_t* p_cmd_data, uint16_t* cmd_len);
34 uint16_t cmd_len);
DphNxpNciHal.h120 uint16_t cmd_len; member
178 int phNxpNciHal_check_ncicmd_write_window(uint16_t cmd_len, uint8_t* p_cmd);
DphNxpNciHal_dta.h32 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal.cc935 nxpncihal_ctrl.cmd_len = data_len; in phNxpNciHal_write_internal()
947 phNxpNciHal_write_ext(&nxpncihal_ctrl.cmd_len, nxpncihal_ctrl.p_cmd_data, in phNxpNciHal_write_internal()
961 data_len = phNxpNciHal_write_unlocked(nxpncihal_ctrl.cmd_len, in phNxpNciHal_write_internal()
1005 nxpncihal_ctrl.cmd_len = data_len; in phNxpNciHal_write_unlocked()
1008 if(phNxpNciHal_check_ncicmd_write_window(nxpncihal_ctrl.cmd_len, in phNxpNciHal_write_unlocked()
1016 (uint8_t *)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len); in phNxpNciHal_write_unlocked()
1020 data_len = nxpncihal_ctrl.cmd_len; in phNxpNciHal_write_unlocked()
1023 (uint8_t*)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len, in phNxpNciHal_write_unlocked()
2464 int phNxpNciHal_check_ncicmd_write_window(uint16_t cmd_len, uint8_t* p_cmd) { in phNxpNciHal_check_ncicmd_write_window() argument
2465 UNUSED(cmd_len); in phNxpNciHal_check_ncicmd_write_window()
[all …]
/hardware/nxp/secure_element/libese-spi/p73/lib/
DphNxpEse_Internal.h84 uint16_t cmd_len; member
DphNxpEse_Api.cpp1008 nxpese_ctxt.cmd_len = data_len; in phNxpEse_WriteFrame()
1011 nxpese_ctxt.cmd_len); in phNxpEse_WriteFrame()
1017 PH_PAL_ESE_PRINT_PACKET_TX(nxpese_ctxt.p_cmd_data, nxpese_ctxt.cmd_len); in phNxpEse_WriteFrame()
/hardware/nxp/nfc/extns/impl/
Dhal_nxpnfc.h38 uint16_t cmd_len; member
/hardware/qcom/wlan/qcwcn/wifi_hal/wifi_hal_ctrl/
Dwifi_hal_ctrl.h217 int wifihal_ctrl_request(struct wifihal_ctrl *ctrl, const char *cmd, size_t cmd_len,
Dwifi_hal_ctrl.c177 int wifihal_ctrl_request(struct wifihal_ctrl *ctrl, const char *cmd, size_t cmd_len, in wifihal_ctrl_request() argument
188 _cmd_len = cmd_len; in wifihal_ctrl_request()
/hardware/nxp/secure_element/libese-spi/p73/pal/spi/
DphNxpEsePal_spi.cpp78 inpOutData.inp.data.nxpCmd.cmd_len = sizeof(cmd_omapi_concurrent); in phPalEse_spi_close()
147 inpOutData.inp.data.nxpCmd.cmd_len = sizeof(cmd_omapi_concurrent); in phPalEse_spi_open_and_configure()
/hardware/nxp/secure_element/extns/impl/
Dhal_nxpese.h89 uint16_t cmd_len; member
/hardware/nxp/nfc/halimpl/src/adaptation/
DEseAdaptation.cpp128 pInpOutData->inp.data.nxpCmd.cmd_len = sizeof(cmd_ese_nxp); in Initialize()
/hardware/qcom/msm8x84/original-kernel-headers/media/
Dmsmb_isp.h282 uint16_t cmd_len; member
/hardware/qcom/msm8x84/kernel-headers/media/
Dmsmb_isp.h314 uint16_t cmd_len; member
/hardware/qcom/msm8994/kernel-headers/media/
Dmsmb_isp.h426 uint16_t cmd_len; member
/hardware/qcom/msm8994/original-kernel-headers/media/
Dmsmb_isp.h398 uint16_t cmd_len; member
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsmb_isp.h436 uint16_t cmd_len; member
/hardware/qcom/msm8996/kernel-headers/media/
Dmsmb_isp.h470 uint16_t cmd_len; member
/hardware/qcom/msm8998/original-kernel-headers/media/
Dmsmb_isp.h466 uint16_t cmd_len; member
/hardware/qcom/msm8998/kernel-headers/media/
Dmsmb_isp.h502 uint16_t cmd_len; member