Home
last modified time | relevance | path

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

12

/hardware/nxp/nfc/pn8x/halimpl/hal/
DphNxpNciHal_ext.cc386 inpOutData.inp.data.nciCmd.cmd_len = sizeof(rf_state_update); in phNxpNciHal_process_ext_rsp()
533 static NFCSTATUS phNxpNciHal_process_ext_cmd_rsp(uint16_t cmd_len, in phNxpNciHal_process_ext_cmd_rsp() argument
548 data_written = phNxpNciHal_write_unlocked(cmd_len, p_cmd); in phNxpNciHal_process_ext_cmd_rsp()
549 if (data_written != cmd_len) { in phNxpNciHal_process_ext_cmd_rsp()
582 if (cmd_len < 3) { in phNxpNciHal_process_ext_cmd_rsp()
649 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()
694 phNxpNciHal_print_packet("SEND", p_cmd_data, *cmd_len); in phNxpNciHal_write_ext()
711 *cmd_len = 8; in phNxpNciHal_write_ext()
[all …]
DphNxpNciHal_dta.cc85 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNHal_DtaUpdate() argument
96 phNxpNciHal_print_packet("DTASEND", p_cmd_data, *cmd_len); in phNxpNHal_DtaUpdate()
143 if (*cmd_len > (NCI_MAX_DATA_LEN - 6)) { in phNxpNHal_DtaUpdate()
150 p_cmd_data[*cmd_len] = 0x80; in phNxpNHal_DtaUpdate()
151 p_cmd_data[*cmd_len + 1] = 0x01; in phNxpNHal_DtaUpdate()
152 p_cmd_data[*cmd_len + 2] = 0x82; in phNxpNHal_DtaUpdate()
153 p_cmd_data[*cmd_len + 3] = 0x01; in phNxpNHal_DtaUpdate()
154 p_cmd_data[*cmd_len + 4] = 0x85; in phNxpNHal_DtaUpdate()
155 p_cmd_data[*cmd_len + 5] = 0x01; in phNxpNHal_DtaUpdate()
157 *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.h121 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,
/hardware/nxp/nfc/snxxx/halimpl/hal/
DphNxpNciHal_ext.cc98 static NFCSTATUS phNxpNciHal_process_screen_state_cmd(uint16_t* cmd_len,
529 static NFCSTATUS phNxpNciHal_process_ext_cmd_rsp(uint16_t cmd_len, in phNxpNciHal_process_ext_cmd_rsp() argument
536 (cmd_len != (p_cmd[2] + NCI_MODE_HEADER_LEN))) { in phNxpNciHal_process_ext_cmd_rsp()
551 data_written = phNxpNciHal_write_unlocked(cmd_len, p_cmd, ORIG_NXPHAL); in phNxpNciHal_process_ext_cmd_rsp()
552 if (data_written != cmd_len) { in phNxpNciHal_process_ext_cmd_rsp()
585 if (cmd_len < 3) { in phNxpNciHal_process_ext_cmd_rsp()
672 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNciHal_write_ext() argument
713 phNxpNciHal_print_packet("SEND", p_cmd_data, *cmd_len); in phNxpNciHal_write_ext()
730 *cmd_len = 8; in phNxpNciHal_write_ext()
740 *cmd_len = 6; in phNxpNciHal_write_ext()
[all …]
DphNxpNciHal_ext.h41 NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t* p_cmd);
42 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal_extOperations.h107 NFCSTATUS phNxpNciHal_send_get_cfg(const uint8_t* cmd_get_cfg, long cmd_len);
DphNxpNciHal.h157 uint16_t cmd_len; member
315 int phNxpNciHal_check_ncicmd_write_window(uint16_t cmd_len, uint8_t* p_cmd);
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Apdu_Api.cpp29 uint8_t** pcmd_data, uint32_t* cmd_len);
46 uint32_t cmd_len = 0; in phNxpEse_7816_Transceive() local
65 status = phNxpEse_7816_FrameCmd(pCmd, &pCmd_data, &cmd_len); in phNxpEse_7816_Transceive()
67 pCmdTrans.len = cmd_len; in phNxpEse_7816_Transceive()
135 uint32_t* cmd_len) { in phNxpEse_7816_FrameCmd() argument
201 *cmd_len = cmd_total_len; in phNxpEse_7816_FrameCmd()
DphNxpEse_Internal.h120 uint16_t cmd_len; /*!<cmd buffer length */ member
/hardware/nxp/uwb/halimpl/hal/
DphNxpUciHal_ext.cc61 tHAL_UWB_STATUS phNxpUciHal_process_ext_cmd_rsp(uint16_t cmd_len, in phNxpUciHal_process_ext_cmd_rsp() argument
65 bool isRetryNotRequired = phNxpUciHal_is_retry_not_required(p_cmd[0]) || (cmd_len < 4); in phNxpUciHal_process_ext_cmd_rsp()
72 SessionTrack_onSessionStart(cmd_len, p_cmd); in phNxpUciHal_process_ext_cmd_rsp()
77 *data_written = phNxpUciHal_write_unlocked(cmd_len, p_cmd); in phNxpUciHal_process_ext_cmd_rsp()
79 if (*data_written != cmd_len) { in phNxpUciHal_process_ext_cmd_rsp()
102 *data_written = phNxpUciHal_write_unlocked(cmd_len, p_cmd); in phNxpUciHal_process_ext_cmd_rsp()
104 if (*data_written != cmd_len) { in phNxpUciHal_process_ext_cmd_rsp()
165 tHAL_UWB_STATUS phNxpUciHal_send_ext_cmd(uint16_t cmd_len, const uint8_t* p_cmd) { in phNxpUciHal_send_ext_cmd() argument
168 if (cmd_len >= UCI_MAX_DATA_LEN) { in phNxpUciHal_send_ext_cmd()
174 nxpucihal_ctrl.cmd_len = cmd_len; in phNxpUciHal_send_ext_cmd()
[all …]
DphNxpUciHal_ext.h60 tHAL_UWB_STATUS phNxpUciHal_send_ext_cmd(uint16_t cmd_len, const uint8_t* p_cmd);
61 tHAL_UWB_STATUS phNxpUciHal_process_ext_rsp(uint16_t cmd_len, uint8_t* p_buff);
DphNxpUciHal.h188 uint16_t cmd_len; member
243 tHAL_UWB_STATUS phNxpUciHal_process_ext_cmd_rsp(uint16_t cmd_len, const uint8_t *p_cmd, uint16_t *d…
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/wifi_hal_ctrl/
Dwifi_hal_ctrl.c172 int wifihal_ctrl_request2(struct wifihal_ctrl *ctrl, const char *cmd, size_t cmd_len, in wifihal_ctrl_request2() argument
183 _cmd_len = cmd_len; in wifihal_ctrl_request2()
232 int wifihal_ctrl_request(struct wifihal_ctrl *ctrl, const char *cmd, size_t cmd_len, in wifihal_ctrl_request() argument
235 return wifihal_ctrl_request2(ctrl, cmd, cmd_len, reply, reply_len, 1, 0); in wifihal_ctrl_request()
Dwifi_hal_ctrl.h207 int wifihal_ctrl_request2(struct wifihal_ctrl *ctrl, const char *cmd, size_t cmd_len,
226 int wifihal_ctrl_request(struct wifihal_ctrl *ctrl, const char *cmd, size_t cmd_len,
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEse_Internal.h84 uint16_t cmd_len; member
/hardware/nxp/nfc/pn8x/extns/impl/
Dhal_nxpnfc.h38 uint16_t cmd_len; member
/hardware/qcom/wlan/legacy/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/pn8x/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/snxxx/extns/impl/
Dhal_nxpese.h64 uint16_t cmd_len; member
/hardware/nxp/secure_element/pn8x/extns/impl/
Dhal_nxpese.h89 uint16_t cmd_len; member

12