Home
last modified time | relevance | path

Searched refs:gb_len (Results 1 – 9 of 9) sorted by relevance

/net/nfc/
Ddigital_dep.c418 u8 gb_len, payload_bits; in digital_in_recv_atr_res() local
445 gb_len = resp->len - sizeof(struct digital_atr_res); in digital_in_recv_atr_res()
462 rc = nfc_set_remote_general_bytes(ddev->nfc_dev, atr_res->gb, gb_len); in digital_in_recv_atr_res()
487 size_t gb_len) in digital_in_send_atr_req() argument
495 size = DIGITAL_ATR_REQ_MIN_SIZE + gb_len; in digital_in_send_atr_req()
526 if (gb_len) { in digital_in_send_atr_req()
528 memcpy(skb_put(skb, gb_len), gb, gb_len); in digital_in_send_atr_req()
1510 size_t gb_len; in digital_tg_send_atr_res() local
1513 gb = nfc_get_local_general_bytes(ddev->nfc_dev, &gb_len); in digital_tg_send_atr_res()
1515 gb_len = 0; in digital_tg_send_atr_res()
[all …]
Dllcp_core.c540 u8 gb_len = 0; in nfc_llcp_build_gb() local
546 gb_len += version_length; in nfc_llcp_build_gb()
549 gb_len += lto_length; in nfc_llcp_build_gb()
553 gb_len += wks_length; in nfc_llcp_build_gb()
557 gb_len += miux_length; in nfc_llcp_build_gb()
559 gb_len += ARRAY_SIZE(llcp_magic); in nfc_llcp_build_gb()
561 if (gb_len > NFC_MAX_GT_LEN) { in nfc_llcp_build_gb()
583 local->gb_len = gb_len; in nfc_llcp_build_gb()
606 *general_bytes_len = local->gb_len; in nfc_llcp_general_bytes()
611 int nfc_llcp_set_remote_gb(struct nfc_dev *dev, u8 *gb, u8 gb_len) in nfc_llcp_set_remote_gb() argument
[all …]
Dcore.c295 size_t gb_len; in nfc_dep_link_up() local
315 gb = nfc_llcp_general_bytes(dev, &gb_len); in nfc_dep_link_up()
316 if (gb_len > NFC_MAX_GT_LEN) { in nfc_dep_link_up()
327 rc = dev->ops->dep_link_up(dev, target, comm_mode, gb, gb_len); in nfc_dep_link_up()
649 int nfc_set_remote_general_bytes(struct nfc_dev *dev, u8 *gb, u8 gb_len) in nfc_set_remote_general_bytes() argument
651 pr_debug("dev_name=%s gb_len=%d\n", dev_name(&dev->dev), gb_len); in nfc_set_remote_general_bytes()
653 return nfc_llcp_set_remote_gb(dev, gb, gb_len); in nfc_set_remote_general_bytes()
657 u8 *nfc_get_local_general_bytes(struct nfc_dev *dev, size_t *gb_len) in nfc_get_local_general_bytes() argument
661 return nfc_llcp_general_bytes(dev, gb_len); in nfc_get_local_general_bytes()
678 u8 *gb, size_t gb_len) in nfc_tm_activated() argument
[all …]
Ddigital.h91 size_t gb_len);
Dnfc.h63 int nfc_llcp_set_remote_gb(struct nfc_dev *dev, u8 *gb, u8 gb_len);
Dllcp.h91 u8 gb_len; member
Ddigital_core.c598 __u8 comm_mode, __u8 *gb, size_t gb_len) in digital_dep_link_up() argument
603 rc = digital_in_send_atr_req(ddev, target, comm_mode, gb, gb_len); in digital_dep_link_up()
/net/nfc/hci/
Dcore.c663 __u8 comm_mode, __u8 *gb, size_t gb_len) in hci_dep_link_up() argument
671 gb, gb_len); in hci_dep_link_up()
/net/nfc/nci/
Dcore.c955 __u8 comm_mode, __u8 *gb, size_t gb_len) in nci_dep_link_up() argument