Lines Matching refs:skb_resp

187 	struct sk_buff *skb_resp;  member
650 struct sk_buff *skb_resp, in st95hf_error_handling() argument
658 if (skb_resp->data[0] & ST95HF_ERR_MASK) { in st95hf_error_handling()
659 if (skb_resp->data[0] == ST95HF_TIMEOUT_ERROR) in st95hf_error_handling()
670 error_byte = skb_resp->data[res_len - 3]; in st95hf_error_handling()
681 error_byte = skb_resp->data[res_len - 1]; in st95hf_error_handling()
695 struct sk_buff *skb_resp, in st95hf_response_handler() argument
708 skb_put(skb_resp, res_len); in st95hf_response_handler()
711 skb_pull(skb_resp, 2); in st95hf_response_handler()
713 skb_len = skb_resp->len; in st95hf_response_handler()
717 (skb_resp->data[1] & RATS_TB1_PRESENT_MASK)) { in st95hf_response_handler()
718 if (skb_resp->data[1] & RATS_TA1_PRESENT_MASK) in st95hf_response_handler()
720 (skb_resp->data[3] & TB1_FWI_MASK) >> 4; in st95hf_response_handler()
723 (skb_resp->data[2] & TB1_FWI_MASK) >> 4; in st95hf_response_handler()
740 skb_trim(skb_resp, (skb_len - 5)); in st95hf_response_handler()
742 skb_trim(skb_resp, (skb_len - 3)); in st95hf_response_handler()
746 skb_trim(skb_resp, (skb_len - 3)); in st95hf_response_handler()
773 struct sk_buff *skb_resp; in st95hf_irq_thread_handler() local
800 skb_resp = cb_arg->skb_resp; in st95hf_irq_thread_handler()
804 skb_resp->data); in st95hf_irq_thread_handler()
817 if (skb_resp->data[2] == WTX_REQ_FROM_TAG) { in st95hf_irq_thread_handler()
819 result = st95hf_handle_wtx(stcontext, true, skb_resp->data[3]); in st95hf_irq_thread_handler()
828 result = st95hf_error_handling(stcontext, skb_resp, res_len); in st95hf_irq_thread_handler()
832 result = st95hf_response_handler(stcontext, skb_resp, res_len); in st95hf_irq_thread_handler()
848 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
857 kfree_skb(skb_resp); in st95hf_irq_thread_handler()
860 skb_resp = ERR_PTR(result); in st95hf_irq_thread_handler()
862 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
924 struct sk_buff *skb_resp; in st95hf_in_send_cmd() local
927 skb_resp = nfc_alloc_recv_skb(MAX_RESPONSE_BUFFER_SIZE, GFP_KERNEL); in st95hf_in_send_cmd()
928 if (!skb_resp) in st95hf_in_send_cmd()
950 stcontext->complete_cb_arg.skb_resp = skb_resp; in st95hf_in_send_cmd()
985 kfree_skb(skb_resp); in st95hf_in_send_cmd()