Searched refs:nfc_hal_info (Results 1 – 5 of 5) sorted by relevance
/hardware/samsung/nfc/halimpl/src/ |
D | hal_task.cc | 47 nfc_hal_info.state = state; in nfc_hal_state_switch() 49 OSI_queue_put(nfc_hal_info.msg_q, (void*)new_msg); in nfc_hal_state_switch() 53 nfc_hal_info.flag &= ~HAL_FLAG_PROP_ONE_TIMER; in hal_sleep() 54 nfc_hal_info.cfg.override_timeout = 0; in hal_sleep() 62 if (nfc_hal_info.flag & HAL_FLAG_MASK_USING_TIMER) return; in hal_update_sleep_timer() 64 if (nfc_hal_info.flag & HAL_FLAG_PROP_ONE_TIMER) in hal_update_sleep_timer() 65 OSI_timer_start(nfc_hal_info.sleep_timer, nfc_hal_info.cfg.override_timeout, in hal_update_sleep_timer() 68 OSI_timer_start(nfc_hal_info.sleep_timer, nfc_hal_info.cfg.sleep_timeout, in hal_update_sleep_timer() 74 if (nfc_hal_info.nci_last_pkt) in __send_to_device() 75 memcpy((void*)nfc_hal_info.nci_last_pkt, (void*)data, len); in __send_to_device() [all …]
|
D | hal.cc | 30 tNFC_HAL_CB nfc_hal_info; variable 41 if (!nfc_hal_info.stack_cback) return false; in nfc_stack_cback() 43 nfc_hal_info.stack_cback(event, event_status); in nfc_stack_cback() 52 if (!nfc_hal_info.data_cback) return false; in nfc_data_callback() 61 nfc_hal_info.data_cback(len, data); in nfc_data_callback() 98 memset(&nfc_hal_info, 0, sizeof(nfc_hal_info)); in nfc_hal_init() 100 nfc_hal_info.state = HAL_STATE_INIT; in nfc_hal_init() 101 nfc_hal_info.stack_cback = NULL; in nfc_hal_init() 102 nfc_hal_info.data_cback = NULL; in nfc_hal_init() 103 nfc_hal_info.nci_last_pkt = (tNFC_NCI_PKT*)OSI_mem_get(NCI_CTRL_SIZE); in nfc_hal_init() [all …]
|
D | hal_nci.cc | 35 && (nfc_hal_info.flag & HAL_FLAG_NTF_TRNS_ERROR)) { in hal_nci_send() 37 OSI_logd("set flag to 0x%06X", nfc_hal_info.flag); in hal_nci_send() 155 if (nfc_hal_info.nci_last_pkt) { in nfc_hal_prehandler() 158 device_write((uint8_t*)nfc_hal_info.nci_last_pkt, in nfc_hal_prehandler() 159 (size_t)(nfc_hal_info.nci_last_pkt->len + NCI_HDR_SIZE)); in nfc_hal_prehandler() 170 nfc_hal_info.flag |= HAL_FLAG_PROP_RESET; in nfc_hal_prehandler()
|
D | device.cc | 158 if (nfc_hal_info.state == HAL_STATE_SERVICE && in device_wakeup() 159 nfc_hal_info.msg_event == HAL_EVT_READ) in device_wakeup() 183 if (retry++ < 3 && (nfc_hal_info.flag & HAL_FLAG_RETRY_TRNS)) { in device_write() 221 if (retry++ < 3 && (nfc_hal_info.flag & HAL_FLAG_RETRY_TRNS)) continue; in device_read()
|
/hardware/samsung/nfc/halimpl/include/ |
D | hal.h | 150 extern tNFC_HAL_CB nfc_hal_info;
|