Lines Matching refs:skb_resp

188 	struct sk_buff *skb_resp;  member
651 struct sk_buff *skb_resp, in st95hf_error_handling() argument
659 if (skb_resp->data[0] & ST95HF_ERR_MASK) { in st95hf_error_handling()
660 if (skb_resp->data[0] == ST95HF_TIMEOUT_ERROR) in st95hf_error_handling()
671 error_byte = skb_resp->data[res_len - 3]; in st95hf_error_handling()
682 error_byte = skb_resp->data[res_len - 1]; in st95hf_error_handling()
696 struct sk_buff *skb_resp, in st95hf_response_handler() argument
709 skb_put(skb_resp, res_len); in st95hf_response_handler()
712 skb_pull(skb_resp, 2); in st95hf_response_handler()
714 skb_len = skb_resp->len; in st95hf_response_handler()
718 (skb_resp->data[1] & RATS_TB1_PRESENT_MASK)) { in st95hf_response_handler()
719 if (skb_resp->data[1] & RATS_TA1_PRESENT_MASK) in st95hf_response_handler()
721 (skb_resp->data[3] & TB1_FWI_MASK) >> 4; in st95hf_response_handler()
724 (skb_resp->data[2] & TB1_FWI_MASK) >> 4; in st95hf_response_handler()
741 skb_trim(skb_resp, (skb_len - 5)); in st95hf_response_handler()
743 skb_trim(skb_resp, (skb_len - 3)); in st95hf_response_handler()
747 skb_trim(skb_resp, (skb_len - 3)); in st95hf_response_handler()
774 struct sk_buff *skb_resp; in st95hf_irq_thread_handler() local
801 skb_resp = cb_arg->skb_resp; in st95hf_irq_thread_handler()
805 skb_resp->data); in st95hf_irq_thread_handler()
818 if (skb_resp->data[2] == WTX_REQ_FROM_TAG) { in st95hf_irq_thread_handler()
820 result = st95hf_handle_wtx(stcontext, true, skb_resp->data[3]); in st95hf_irq_thread_handler()
829 result = st95hf_error_handling(stcontext, skb_resp, res_len); in st95hf_irq_thread_handler()
833 result = st95hf_response_handler(stcontext, skb_resp, res_len); in st95hf_irq_thread_handler()
849 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
858 kfree_skb(skb_resp); in st95hf_irq_thread_handler()
861 skb_resp = ERR_PTR(result); in st95hf_irq_thread_handler()
863 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
925 struct sk_buff *skb_resp; in st95hf_in_send_cmd() local
928 skb_resp = nfc_alloc_recv_skb(MAX_RESPONSE_BUFFER_SIZE, GFP_KERNEL); in st95hf_in_send_cmd()
929 if (!skb_resp) { in st95hf_in_send_cmd()
953 stcontext->complete_cb_arg.skb_resp = skb_resp; in st95hf_in_send_cmd()
988 kfree_skb(skb_resp); in st95hf_in_send_cmd()