Home
last modified time | relevance | path

Searched refs:sel_res (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.6/net/nfc/
Ddigital_technology.c23 #define DIGITAL_SEL_RES_NFCID1_COMPLETE(sel_res) (!((sel_res) & 0x04)) argument
24 #define DIGITAL_SEL_RES_IS_T2T(sel_res) (!((sel_res) & 0x60)) argument
25 #define DIGITAL_SEL_RES_IS_T4T(sel_res) ((sel_res) & 0x20) argument
26 #define DIGITAL_SEL_RES_IS_NFC_DEP(sel_res) ((sel_res) & 0x40) argument
277 u8 sel_res; in digital_in_recv_sel_res() local
299 sel_res = resp->data[0]; in digital_in_recv_sel_res()
301 if (!DIGITAL_SEL_RES_NFCID1_COMPLETE(sel_res)) { in digital_in_recv_sel_res()
309 target->sel_res = sel_res; in digital_in_recv_sel_res()
311 if (DIGITAL_SEL_RES_IS_T2T(sel_res)) { in digital_in_recv_sel_res()
313 } else if (DIGITAL_SEL_RES_IS_NFC_DEP(sel_res)) { in digital_in_recv_sel_res()
[all …]
Ddigital_core.c288 params->sel_res = DIGITAL_SEL_RES_NFC_DEP; in digital_tg_listen_mdaa()
Dnetlink.c76 nla_put_u8(msg, NFC_ATTR_TARGET_SEL_RES, target->sel_res)) in nfc_genl_send_target()
/Linux-v6.6/net/nfc/nci/
Dntf.c129 nfca_poll->sel_res = *data++; in nci_extract_rf_params_nfca_passive_poll()
133 nfca_poll->sel_res); in nci_extract_rf_params_nfca_passive_poll()
241 target->sel_res = nfca_poll->sel_res; in nci_add_new_protocol()
/Linux-v6.6/tools/testing/selftests/nci/
Dnci_dev.c649 __u8 sel_res; in get_taginfo() local
674 sel_res = -1; in get_taginfo()
682 sel_res = *(__u8 *)((char *)na + NLA_HDRLEN); in get_taginfo()
689 if (targetidx == -1 || sel_res != 0x20 || protocol != NFC_PROTO_ISO14443_MASK) in get_taginfo()
/Linux-v6.6/include/net/nfc/
Ddigital.h69 u8 sel_res; member
Dnfc.h94 u8 sel_res; member
Dnci.h434 __u8 sel_res; member
/Linux-v6.6/drivers/nfc/microread/
Dmicroread.c490 targets->sel_res = skb->data[MICROREAD_EMCF_A_SAK]; in microread_target_discovered()
504 targets->sel_res = skb->data[MICROREAD_EMCF_A3_SAK]; in microread_target_discovered()
/Linux-v6.6/drivers/nfc/pn533/
Dpn533.c652 u8 sel_res; member
698 if (PN533_TYPE_A_SEL_CASCADE(type_a->sel_res) != 0) in pn533_target_type_a_is_valid()
717 switch (PN533_TYPE_A_SEL_PROT(tgt_type_a->sel_res)) { in pn533_target_found_type_a()
734 nfc_tgt->sel_res = tgt_type_a->sel_res; in pn533_target_found_type_a()
/Linux-v6.6/drivers/nfc/st21nfca/
Dcore.c651 target->sel_res = sak; in st21nfca_hci_target_from_gate()
/Linux-v6.6/net/nfc/hci/
Dcore.c323 targets->sel_res = sak_skb->data[0]; in nfc_hci_target_discovered()
/Linux-v6.6/drivers/nfc/
Dport100.c1446 hdr->nfca_param[5] = params->sel_res; in port100_listen_mdaa()