Lines Matching refs:gb_len
404 u8 gb_len, payload_bits; in digital_in_recv_atr_res() local
431 gb_len = resp->len - sizeof(struct digital_atr_res); in digital_in_recv_atr_res()
448 rc = nfc_set_remote_general_bytes(ddev->nfc_dev, atr_res->gb, gb_len); in digital_in_recv_atr_res()
473 size_t gb_len) in digital_in_send_atr_req() argument
481 size = DIGITAL_ATR_REQ_MIN_SIZE + gb_len; in digital_in_send_atr_req()
512 if (gb_len) { in digital_in_send_atr_req()
514 skb_put_data(skb, gb, gb_len); in digital_in_send_atr_req()
1495 size_t gb_len; in digital_tg_send_atr_res() local
1498 gb = nfc_get_local_general_bytes(ddev->nfc_dev, &gb_len); in digital_tg_send_atr_res()
1500 gb_len = 0; in digital_tg_send_atr_res()
1502 skb = digital_skb_alloc(ddev, sizeof(struct digital_atr_res) + gb_len); in digital_tg_send_atr_res()
1520 if (gb_len) { in digital_tg_send_atr_res()
1521 skb_put(skb, gb_len); in digital_tg_send_atr_res()
1524 memcpy(atr_res->gb, gb, gb_len); in digital_tg_send_atr_res()
1546 size_t gb_len, min_size; in digital_tg_recv_atr_req() local
1615 gb_len = resp->len - sizeof(struct digital_atr_req); in digital_tg_recv_atr_req()
1621 NFC_COMM_PASSIVE, atr_req->gb, gb_len); in digital_tg_recv_atr_req()