Lines Matching refs:gb_len
156 size_t gb_len; in st21nfca_tm_send_atr_res() local
160 gb_len = atr_req->length - sizeof(struct st21nfca_atr_req); in st21nfca_tm_send_atr_res()
180 if (gb_len) { in st21nfca_tm_send_atr_res()
181 skb_put(skb, gb_len); in st21nfca_tm_send_atr_res()
184 memcpy(atr_res->gbi, atr_req->gbi, gb_len); in st21nfca_tm_send_atr_res()
186 gb_len); in st21nfca_tm_send_atr_res()
203 size_t gb_len; in st21nfca_tm_recv_atr_req() local
229 gb_len = skb->len - sizeof(struct st21nfca_atr_req); in st21nfca_tm_recv_atr_req()
232 NFC_COMM_PASSIVE, atr_req->gbi, gb_len); in st21nfca_tm_recv_atr_req()
522 int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len) in st21nfca_im_send_atr_req() argument
531 size = ST21NFCA_ATR_REQ_MIN_SIZE + gb_len; in st21nfca_im_send_atr_req()
538 alloc_skb(sizeof(struct st21nfca_atr_req) + gb_len + 1, GFP_KERNEL); in st21nfca_im_send_atr_req()
565 if (gb_len) { in st21nfca_im_send_atr_req()
567 memcpy(skb_put(skb, gb_len), gb, gb_len); in st21nfca_im_send_atr_req()
569 atr_req->length = sizeof(struct st21nfca_atr_req) + hdev->gb_len; in st21nfca_im_send_atr_req()