Lines Matching refs:gb_len
157 size_t gb_len; in st21nfca_tm_send_atr_res() local
161 gb_len = atr_req->length - sizeof(struct st21nfca_atr_req); in st21nfca_tm_send_atr_res()
181 if (gb_len) { in st21nfca_tm_send_atr_res()
182 skb_put(skb, gb_len); in st21nfca_tm_send_atr_res()
185 memcpy(atr_res->gbi, atr_req->gbi, gb_len); in st21nfca_tm_send_atr_res()
187 gb_len); in st21nfca_tm_send_atr_res()
204 size_t gb_len; in st21nfca_tm_recv_atr_req() local
230 gb_len = skb->len - sizeof(struct st21nfca_atr_req); in st21nfca_tm_recv_atr_req()
233 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()