Lines Matching refs:p_txn
3044 static void start_status_command_timer(uint8_t pdu_id, rc_transaction_t* p_txn, in start_status_command_timer() argument
3046 btif_rc_timer_context_t* p_context = &p_txn->txn_timer_context; in start_status_command_timer()
3047 p_context->rc_status_cmd.label = p_txn->lbl; in start_status_command_timer()
3051 alarm_free(p_txn->txn_timer); in start_status_command_timer()
3052 p_txn->txn_timer = alarm_new("btif_rc.status_command_txn_timer"); in start_status_command_timer()
3053 alarm_set_on_mloop(p_txn->txn_timer, BTIF_TIMEOUT_RC_STATUS_CMD_MS, in start_status_command_timer()
3057 static void start_control_command_timer(uint8_t pdu_id, rc_transaction_t* p_txn, in start_control_command_timer() argument
3059 btif_rc_timer_context_t* p_context = &p_txn->txn_timer_context; in start_control_command_timer()
3060 p_context->rc_control_cmd.label = p_txn->lbl; in start_control_command_timer()
3064 alarm_free(p_txn->txn_timer); in start_control_command_timer()
3065 p_txn->txn_timer = alarm_new("btif_rc.control_command_txn_timer"); in start_control_command_timer()
3066 alarm_set_on_mloop(p_txn->txn_timer, BTIF_TIMEOUT_RC_CONTROL_CMD_MS, in start_control_command_timer()
4314 rc_transaction_t* p_txn; in clear_cmd_timeout() local
4316 p_txn = get_transaction_by_lbl(p_dev, label); in clear_cmd_timeout()
4317 if (p_txn == NULL) { in clear_cmd_timeout()
4322 if (p_txn->txn_timer != NULL) alarm_cancel(p_txn->txn_timer); in clear_cmd_timeout()