Searched refs:rw_cb (Results 1 – 11 of 11) sorted by relevance
/system/nfc/src/nfc/tags/ |
D | rw_main.cc | 43 tRW_CB rw_cb; variable 48 memset(&rw_cb, 0, sizeof(tRW_CB)); in rw_init() 65 memset(&rw_cb.stats, 0, sizeof(tRW_STATS)); in rw_main_reset_stats() 68 rw_cb.stats.start_tick = GKI_get_tick_count(); in rw_main_reset_stats() 81 rw_cb.stats.bytes_sent += num_bytes; in rw_main_update_tx_stats() 82 rw_cb.stats.num_ops++; in rw_main_update_tx_stats() 84 if (is_retry) rw_cb.stats.num_retries++; in rw_main_update_tx_stats() 96 void rw_main_update_fail_stats(void) { rw_cb.stats.num_fail++; } in rw_main_update_fail_stats() 107 void rw_main_update_crc_error_stats(void) { rw_cb.stats.num_crc++; } in rw_main_update_crc_error_stats() 118 void rw_main_update_trans_error_stats(void) { rw_cb.stats.num_trans_err++; } in rw_main_update_trans_error_stats() [all …]
|
D | rw_i93.cc | 113 tRW_I93_CB* p_i93 = &rw_cb.tcb.i93; in rw_i93_get_product_version() 214 tRW_I93_CB* p_i93 = &rw_cb.tcb.i93; in rw_i93_process_ext_sys_info() 298 tRW_I93_CB* p_i93 = &rw_cb.tcb.i93; in rw_i93_process_sys_info() 430 tRW_I93_CB* p_i93 = &rw_cb.tcb.i93; in rw_i93_check_sys_info_prot_ext() 457 tRW_I93_CB* p_i93 = &rw_cb.tcb.i93; in rw_i93_send_to_upper() 469 rw_cb.tcb.i93.sent_cmd = 0; in rw_i93_send_to_upper() 470 (*(rw_cb.p_cback))(RW_I93_CMD_CMPL_EVT, &rw_data); in rw_i93_send_to_upper() 489 rw_cb.tcb.i93.sent_cmd = 0; in rw_i93_send_to_upper() 490 (*(rw_cb.p_cback))(RW_I93_CMD_CMPL_EVT, &rw_data); in rw_i93_send_to_upper() 610 rw_cb.tcb.i93.sent_cmd = 0; in rw_i93_send_to_upper() [all …]
|
D | rw_t4t.cc | 136 nfc_start_quick_timer(&rw_cb.tcb.t4t.timer, NFC_TTYPE_RW_T4T_RESPONSE, in rw_t4t_send_to_lower() 226 tRW_T4T_CB* p_t4t = &rw_cb.tcb.t4t; in rw_t4t_update_version_details() 312 tRW_T4T_CB* p_t4t = &rw_cb.tcb.t4t; in rw_t4t_create_app() 363 tRW_T4T_CB* p_t4t = &rw_cb.tcb.t4t; in rw_t4t_select_app() 408 tRW_T4T_CB* p_t4t = &rw_cb.tcb.t4t; in rw_t4t_create_ccfile() 458 tRW_T4T_CB* p_t4t = &rw_cb.tcb.t4t; in rw_t4t_create_ndef() 509 tRW_T4T_CB* p_t4t = &rw_cb.tcb.t4t; in rw_t4t_write_cc() 562 tRW_T4T_CB* p_t4t = &rw_cb.tcb.t4t; in rw_t4t_write_ndef() 630 if (rw_cb.tcb.t4t.version == T4T_VERSION_2_0) { in rw_t4t_select_file() 660 tRW_T4T_CB* p_t4t = &rw_cb.tcb.t4t; in rw_t4t_read_file() [all …]
|
D | rw_t1t.cc | 65 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_data_cback() 72 (tT1T_CMD_RSP_INFO*)rw_cb.tcb.t1t.p_cmd_rsp_info; in rw_t1t_data_cback() 110 (*rw_cb.p_cback)(RW_T1T_RAW_FRAME_EVT, &evt_data); in rw_t1t_data_cback() 169 if (rw_cb.cur_retry) { in rw_t1t_data_cback() 181 p_t1t->prev_cmd_rsp_info.pend_retx_rsp = (uint8_t)rw_cb.cur_retry; in rw_t1t_data_cback() 184 rw_cb.cur_retry = 0; in rw_t1t_data_cback() 202 (*rw_cb.p_cback)(rw_event, &evt_data); in rw_t1t_data_cback() 225 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_conn_cback() 292 (*rw_cb.p_cback)(RW_T1T_INTF_ERROR_EVT, &rw_data); in rw_t1t_conn_cback() 326 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_send_static_cmd() [all …]
|
D | rw_t2t.cc | 66 tRW_T2T_CB* p_t2t = &rw_cb.tcb.t2t; in rw_t2t_proc_data() 73 (tT2T_CMD_RSP_INFO*)rw_cb.tcb.t2t.p_cmd_rsp_info; in rw_t2t_proc_data() 85 (*rw_cb.p_cback)(RW_T2T_RAW_FRAME_EVT, &rw_data); in rw_t2t_proc_data() 113 rw_cb.cur_retry = 0; in rw_t2t_proc_data() 211 (*rw_cb.p_cback)(rw_event, &rw_data); in rw_t2t_proc_data() 217 (*rw_cb.p_cback)(rw_event, &rw_data); in rw_t2t_proc_data() 242 tRW_T2T_CB* p_t2t = &rw_cb.tcb.t2t; in rw_t2t_conn_cback() 312 (*rw_cb.p_cback)(RW_T2T_INTF_ERROR_EVT, &rw_data); in rw_t2t_conn_cback() 350 tRW_T2T_CB* p_t2t = &rw_cb.tcb.t2t; in rw_t2t_send_cmd() 373 rw_cb.cur_retry = 0; in rw_t2t_send_cmd() [all …]
|
D | rw_mfc.cc | 128 tRW_MFC_CB* p_mfc = &rw_cb.tcb.mfc; in RW_MfcFormatNDef() 165 tRW_MFC_CB* p_mfc = &rw_cb.tcb.mfc; in rw_mfc_formatBlock() 224 tRW_MFC_CB* p_mfc = &rw_cb.tcb.mfc; in rw_mfc_handle_format_rsp() 267 tRW_MFC_CB* p_mfc = &rw_cb.tcb.mfc; in rw_mfc_handle_format_op() 297 (*rw_cb.p_cback)(RW_MFC_NDEF_FORMAT_CPLT_EVT, (tRW_DATA*)&evt_data); in rw_mfc_handle_format_op() 303 (*rw_cb.p_cback)(RW_MFC_NDEF_FORMAT_CPLT_EVT, (tRW_DATA*)&evt_data); in rw_mfc_handle_format_op() 322 tRW_MFC_CB* p_mfc = &rw_cb.tcb.mfc; in RW_MfcWriteNDef() 360 tRW_MFC_CB* p_mfc = &rw_cb.tcb.mfc; in rw_mfc_writeBlock() 430 tRW_MFC_CB* p_mfc = &rw_cb.tcb.mfc; in rw_mfc_handle_write_rsp() 473 tRW_MFC_CB* p_mfc = &rw_cb.tcb.mfc; in rw_mfc_handle_write_op() [all …]
|
D | rw_t3t.cc | 196 tRW_T3T_CB* p_cb = &rw_cb.tcb.t3t; in rw_t3t_check_timeout() 219 tRW_T3T_CB* p_cb = &rw_cb.tcb.t3t; in rw_t3t_update_timeout() 241 tRW_T3T_CB* p_cb = &rw_cb.tcb.t3t; in rw_t3t_process_error() 253 else if (rw_cb.cur_retry < RW_MAX_RETRIES) { in rw_t3t_process_error() 255 rw_cb.cur_retry++; in rw_t3t_process_error() 259 rw_cb.cur_retry, RW_MAX_RETRIES); in rw_t3t_process_error() 303 (*(rw_cb.p_cback))(evt, &evt_data); in rw_t3t_process_error() 307 (*(rw_cb.p_cback))(RW_T3T_INTF_ERROR_EVT, &evt_data); in rw_t3t_process_error() 338 tRW_T3T_CB* p_cb = &rw_cb.tcb.t3t; in rw_t3t_handle_nci_poll_ntf() 348 (*(rw_cb.p_cback))(RW_T3T_PRESENCE_CHECK_EVT, &evt_data); in rw_t3t_handle_nci_poll_ntf() [all …]
|
D | rw_t1t_ndef.cc | 91 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_handle_rsp() 133 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_info_to_event() 189 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_extract_lock_bytes() 191 (tT1T_CMD_RSP_INFO*)rw_cb.tcb.t1t.p_cmd_rsp_info; in rw_t1t_extract_lock_bytes() 247 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_update_tag_state() 288 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_read_locks() 336 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_handle_write_rsp() 357 if (rw_cb.tcb.t1t.hr[0] != T1T_STATIC_HR0 || in rw_t1t_handle_write_rsp() 358 rw_cb.tcb.t1t.hr[1] >= RW_T1T_HR1_MIN) in rw_t1t_handle_write_rsp() 581 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_handle_read_rsp() [all …]
|
D | rw_t2t_ndef.cc | 95 tRW_T2T_CB* p_t2t = &rw_cb.tcb.t2t; in rw_t2t_handle_rsp() 169 tRW_T2T_CB* p_t2t = &rw_cb.tcb.t2t; in rw_t2t_info_to_event() 217 tRW_T2T_CB* p_t2t = &rw_cb.tcb.t2t; in rw_t2t_handle_cc_read_rsp() 246 tRW_T2T_CB* p_t2t = &rw_cb.tcb.t2t; in rw_t2t_ntf_tlv_detect_complete() 277 (*rw_cb.p_cback)(RW_T2T_NDEF_DETECT_EVT, &rw_data); in rw_t2t_ntf_tlv_detect_complete() 284 (*rw_cb.p_cback)(RW_T2T_TLV_DETECT_EVT, (tRW_DATA*)&evt_data); in rw_t2t_ntf_tlv_detect_complete() 301 (*rw_cb.p_cback)(RW_T2T_TLV_DETECT_EVT, &rw_data); in rw_t2t_ntf_tlv_detect_complete() 320 tRW_T2T_CB* p_t2t = &rw_cb.tcb.t2t; in rw_t2t_handle_lock_read_rsp() 400 tRW_T2T_CB* p_t2t = &rw_cb.tcb.t2t; in rw_t2t_handle_tlv_detect_rsp() 411 (tT2T_CMD_RSP_INFO*)rw_cb.tcb.t2t.p_cmd_rsp_info; in rw_t2t_handle_tlv_detect_rsp() [all …]
|
D | tags_int.cc | 113 if ((xx < T1T_STATIC_OPCODES) || (rw_cb.tcb.t1t.hr[0] != T1T_STATIC_HR0)) in t1t_cmd_to_rsp_info()
|
/system/nfc/src/nfc/include/ |
D | rw_int.h | 757 extern tRW_CB rw_cb;
|