Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/nfc/nci/
Dntf.c97 nfca_poll->sens_res = __le16_to_cpu(*((__le16 *)data)); in nci_extract_rf_params_nfca_passive_poll()
103 nfca_poll->sens_res, nfca_poll->nfcid1_len); in nci_extract_rf_params_nfca_passive_poll()
218 target->sens_res = nfca_poll->sens_res; in nci_add_new_protocol()
/kernel/linux/linux-5.10/drivers/nfc/microread/
Dmicroread.c490 targets->sens_res = in microread_target_discovered()
504 targets->sens_res = in microread_target_discovered()
522 targets->sens_res = in microread_target_discovered()
/kernel/linux/linux-5.10/include/net/nfc/
Ddigital.h67 u16 sens_res; member
Dnfc.h93 u16 sens_res; member
Dnci.h396 __u16 sens_res; member
/kernel/linux/linux-5.10/drivers/nfc/pn533/
Dpn533.c659 __be16 sens_res; member
696 ssd = PN533_TYPE_A_SENS_RES_SSD(type_a->sens_res); in pn533_target_type_a_is_valid()
697 platconf = PN533_TYPE_A_SENS_RES_PLATCONF(type_a->sens_res); in pn533_target_type_a_is_valid()
741 nfc_tgt->sens_res = be16_to_cpu(tgt_type_a->sens_res); in pn533_target_found_type_a()
799 __be16 sens_res; member
813 ssd = PN533_TYPE_A_SENS_RES_SSD(jewel->sens_res); in pn533_target_jewel_is_valid()
814 platconf = PN533_TYPE_A_SENS_RES_PLATCONF(jewel->sens_res); in pn533_target_jewel_is_valid()
836 nfc_tgt->sens_res = be16_to_cpu(tgt_jewel->sens_res); in pn533_target_found_jewel()
/kernel/linux/linux-5.10/drivers/nfc/pn544/
Dpn544.c490 target->sens_res = 0x0c00; in pn544_hci_target_from_gate()
563 if (target->sens_res == 0x4403) /* Type 4 Mifare DESFire */ in pn544_hci_complete_target_discovered()
/kernel/linux/linux-5.10/drivers/nfc/st21nfca/
Dcore.c636 target->sens_res = 0x0c00; in st21nfca_hci_target_from_gate()
651 target->sens_res = atqa; in st21nfca_hci_target_from_gate()
/kernel/linux/linux-5.10/drivers/nfc/
Dport100.c1440 hdr->nfca_param[0] = (params->sens_res >> 8) & 0xFF; in port100_listen_mdaa()
1441 hdr->nfca_param[1] = params->sens_res & 0xFF; in port100_listen_mdaa()
/kernel/linux/linux-5.10/net/nfc/hci/
Dcore.c322 targets->sens_res = be16_to_cpu(*(__be16 *)atqa_skb->data); in nfc_hci_target_discovered()