Lines Matching refs:skb_resp

186 	struct sk_buff *skb_resp;  member
649 struct sk_buff *skb_resp, in st95hf_error_handling() argument
657 if (skb_resp->data[0] & ST95HF_ERR_MASK) { in st95hf_error_handling()
658 if (skb_resp->data[0] == ST95HF_TIMEOUT_ERROR) in st95hf_error_handling()
669 error_byte = skb_resp->data[res_len - 3]; in st95hf_error_handling()
680 error_byte = skb_resp->data[res_len - 1]; in st95hf_error_handling()
694 struct sk_buff *skb_resp, in st95hf_response_handler() argument
707 skb_put(skb_resp, res_len); in st95hf_response_handler()
710 skb_pull(skb_resp, 2); in st95hf_response_handler()
712 skb_len = skb_resp->len; in st95hf_response_handler()
716 (skb_resp->data[1] & RATS_TB1_PRESENT_MASK)) { in st95hf_response_handler()
717 if (skb_resp->data[1] & RATS_TA1_PRESENT_MASK) in st95hf_response_handler()
719 (skb_resp->data[3] & TB1_FWI_MASK) >> 4; in st95hf_response_handler()
722 (skb_resp->data[2] & TB1_FWI_MASK) >> 4; in st95hf_response_handler()
739 skb_trim(skb_resp, (skb_len - 5)); in st95hf_response_handler()
741 skb_trim(skb_resp, (skb_len - 3)); in st95hf_response_handler()
745 skb_trim(skb_resp, (skb_len - 3)); in st95hf_response_handler()
772 struct sk_buff *skb_resp; in st95hf_irq_thread_handler() local
799 skb_resp = cb_arg->skb_resp; in st95hf_irq_thread_handler()
803 skb_resp->data); in st95hf_irq_thread_handler()
816 if (skb_resp->data[2] == WTX_REQ_FROM_TAG) { in st95hf_irq_thread_handler()
818 result = st95hf_handle_wtx(stcontext, true, skb_resp->data[3]); in st95hf_irq_thread_handler()
827 result = st95hf_error_handling(stcontext, skb_resp, res_len); in st95hf_irq_thread_handler()
831 result = st95hf_response_handler(stcontext, skb_resp, res_len); in st95hf_irq_thread_handler()
847 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
856 kfree_skb(skb_resp); in st95hf_irq_thread_handler()
859 skb_resp = ERR_PTR(result); in st95hf_irq_thread_handler()
861 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
923 struct sk_buff *skb_resp; in st95hf_in_send_cmd() local
926 skb_resp = nfc_alloc_recv_skb(MAX_RESPONSE_BUFFER_SIZE, GFP_KERNEL); in st95hf_in_send_cmd()
927 if (!skb_resp) in st95hf_in_send_cmd()
949 stcontext->complete_cb_arg.skb_resp = skb_resp; in st95hf_in_send_cmd()
984 kfree_skb(skb_resp); in st95hf_in_send_cmd()