Home
last modified time | relevance | path

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

/linux-6.1.9/net/nfc/
Ddigital_technology.c28 #define DIGITAL_SENS_RES_IS_T1T(sens_res) (((sens_res) & 0x0C00) == 0x0C00) argument
29 #define DIGITAL_SENS_RES_IS_VALID(sens_res) \ argument
30 ((!((sens_res) & 0x001F) && (((sens_res) & 0x0C00) == 0x0C00)) || \
31 (((sens_res) & 0x001F) && ((sens_res) & 0x0C00) != 0x0C00))
499 target->sens_res = __le16_to_cpu(*(__le16 *)resp->data); in digital_in_recv_sens_res()
501 if (!DIGITAL_SENS_RES_IS_VALID(target->sens_res)) { in digital_in_recv_sens_res()
507 if (DIGITAL_SENS_RES_IS_T1T(target->sens_res)) in digital_in_recv_sens_res()
1053 u8 *sens_res; in digital_tg_send_sens_res() local
1060 sens_res = skb_put(skb, 2); in digital_tg_send_sens_res()
1062 sens_res[0] = (DIGITAL_SENS_RES_NFC_DEP >> 8) & 0xFF; in digital_tg_send_sens_res()
[all …]
Ddigital_core.c286 params->sens_res = DIGITAL_SENS_RES_NFC_DEP; in digital_tg_listen_mdaa()
Dnetlink.c75 nla_put_u16(msg, NFC_ATTR_TARGET_SENS_RES, target->sens_res) || in nfc_genl_send_target()
/linux-6.1.9/net/nfc/nci/
Dntf.c115 nfca_poll->sens_res = __le16_to_cpu(*((__le16 *)data)); in nci_extract_rf_params_nfca_passive_poll()
121 nfca_poll->sens_res, nfca_poll->nfcid1_len); in nci_extract_rf_params_nfca_passive_poll()
240 target->sens_res = nfca_poll->sens_res; in nci_add_new_protocol()
/linux-6.1.9/drivers/nfc/microread/
Dmicroread.c488 targets->sens_res = in microread_target_discovered()
502 targets->sens_res = in microread_target_discovered()
520 targets->sens_res = in microread_target_discovered()
/linux-6.1.9/drivers/nfc/pn533/
Dpn533.c651 __be16 sens_res; member
688 ssd = PN533_TYPE_A_SENS_RES_SSD(type_a->sens_res); in pn533_target_type_a_is_valid()
689 platconf = PN533_TYPE_A_SENS_RES_PLATCONF(type_a->sens_res); in pn533_target_type_a_is_valid()
733 nfc_tgt->sens_res = be16_to_cpu(tgt_type_a->sens_res); in pn533_target_found_type_a()
791 __be16 sens_res; member
805 ssd = PN533_TYPE_A_SENS_RES_SSD(jewel->sens_res); in pn533_target_jewel_is_valid()
806 platconf = PN533_TYPE_A_SENS_RES_PLATCONF(jewel->sens_res); in pn533_target_jewel_is_valid()
828 nfc_tgt->sens_res = be16_to_cpu(tgt_jewel->sens_res); in pn533_target_found_jewel()
/linux-6.1.9/include/net/nfc/
Ddigital.h67 u16 sens_res; member
Dnfc.h93 u16 sens_res; member
Dnci.h430 __u16 sens_res; member
/linux-6.1.9/drivers/nfc/st21nfca/
Dcore.c635 target->sens_res = 0x0c00; in st21nfca_hci_target_from_gate()
650 target->sens_res = atqa; in st21nfca_hci_target_from_gate()
/linux-6.1.9/drivers/nfc/pn544/
Dpn544.c489 target->sens_res = 0x0c00; in pn544_hci_target_from_gate()
562 if (target->sens_res == 0x4403) /* Type 4 Mifare DESFire */ in pn544_hci_complete_target_discovered()
/linux-6.1.9/drivers/nfc/
Dport100.c1443 hdr->nfca_param[0] = (params->sens_res >> 8) & 0xFF; in port100_listen_mdaa()
1444 hdr->nfca_param[1] = params->sens_res & 0xFF; in port100_listen_mdaa()
/linux-6.1.9/net/nfc/hci/
Dcore.c322 targets->sens_res = be16_to_cpu(*(__be16 *)atqa_skb->data); in nfc_hci_target_discovered()