Lines Matching refs:gb_len
229 u8 gb_len; in digital_in_recv_atr_res() local
255 gb_len = resp->len - sizeof(struct digital_atr_res); in digital_in_recv_atr_res()
259 rc = nfc_set_remote_general_bytes(ddev->nfc_dev, atr_res->gb, gb_len); in digital_in_recv_atr_res()
284 size_t gb_len) in digital_in_send_atr_req() argument
290 size = DIGITAL_ATR_REQ_MIN_SIZE + gb_len; in digital_in_send_atr_req()
319 if (gb_len) { in digital_in_send_atr_req()
321 memcpy(skb_put(skb, gb_len), gb, gb_len); in digital_in_send_atr_req()
727 size_t gb_len; in digital_tg_send_atr_res() local
730 gb = nfc_get_local_general_bytes(ddev->nfc_dev, &gb_len); in digital_tg_send_atr_res()
732 gb_len = 0; in digital_tg_send_atr_res()
734 skb = digital_skb_alloc(ddev, sizeof(struct digital_atr_res) + gb_len); in digital_tg_send_atr_res()
748 if (gb_len) { in digital_tg_send_atr_res()
749 skb_put(skb, gb_len); in digital_tg_send_atr_res()
752 memcpy(atr_res->gb, gb, gb_len); in digital_tg_send_atr_res()
774 size_t gb_len, min_size; in digital_tg_recv_atr_req() local
832 gb_len = resp->len - sizeof(struct digital_atr_req); in digital_tg_recv_atr_req()
838 NFC_COMM_PASSIVE, atr_req->gb, gb_len); in digital_tg_recv_atr_req()