Lines Matching refs:gb_len
145 size_t gb_len; in st21nfca_tm_send_atr_res() local
149 gb_len = atr_req->length - sizeof(struct st21nfca_atr_req); in st21nfca_tm_send_atr_res()
169 if (gb_len) { in st21nfca_tm_send_atr_res()
170 skb_put(skb, gb_len); in st21nfca_tm_send_atr_res()
173 memcpy(atr_res->gbi, atr_req->gbi, gb_len); in st21nfca_tm_send_atr_res()
175 gb_len); in st21nfca_tm_send_atr_res()
194 size_t gb_len; in st21nfca_tm_recv_atr_req() local
214 gb_len = skb->len - sizeof(struct st21nfca_atr_req); in st21nfca_tm_recv_atr_req()
217 NFC_COMM_PASSIVE, atr_req->gbi, gb_len); in st21nfca_tm_recv_atr_req()
491 int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len) in st21nfca_im_send_atr_req() argument
500 size = ST21NFCA_ATR_REQ_MIN_SIZE + gb_len; in st21nfca_im_send_atr_req()
507 alloc_skb(sizeof(struct st21nfca_atr_req) + gb_len + 1, GFP_KERNEL); in st21nfca_im_send_atr_req()
534 if (gb_len) { in st21nfca_im_send_atr_req()
536 skb_put_data(skb, gb, gb_len); in st21nfca_im_send_atr_req()
538 atr_req->length = sizeof(struct st21nfca_atr_req) + hdev->gb_len; in st21nfca_im_send_atr_req()