Home
last modified time | relevance | path

Searched refs:atr_res (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/nfc/st21nfca/
Ddep.c143 struct st21nfca_atr_res *atr_res; in st21nfca_tm_send_atr_res() local
156 atr_res = (struct st21nfca_atr_res *)skb->data; in st21nfca_tm_send_atr_res()
157 memset(atr_res, 0, sizeof(struct st21nfca_atr_res)); in st21nfca_tm_send_atr_res()
159 atr_res->length = atr_req->length + 1; in st21nfca_tm_send_atr_res()
160 atr_res->cmd0 = ST21NFCA_NFCIP1_RES; in st21nfca_tm_send_atr_res()
161 atr_res->cmd1 = ST21NFCA_NFCIP1_ATR_RES; in st21nfca_tm_send_atr_res()
163 memcpy(atr_res->nfcid3, atr_req->nfcid3, 6); in st21nfca_tm_send_atr_res()
164 atr_res->bsi = 0x00; in st21nfca_tm_send_atr_res()
165 atr_res->bri = 0x00; in st21nfca_tm_send_atr_res()
166 atr_res->to = ST21NFCA_DEFAULT_TIMEOUT; in st21nfca_tm_send_atr_res()
[all …]
/linux-6.6.21/net/nfc/
Ddigital_dep.c403 struct digital_atr_res *atr_res; in digital_in_recv_atr_res() local
433 atr_res = (struct digital_atr_res *)resp->data; in digital_in_recv_atr_res()
435 wt = DIGITAL_ATR_RES_TO_WT(atr_res->to); in digital_in_recv_atr_res()
440 payload_bits = DIGITAL_PAYLOAD_PP_TO_BITS(atr_res->pp); 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()
1492 struct digital_atr_res *atr_res; in digital_tg_send_atr_res() local
1507 atr_res = (struct digital_atr_res *)skb->data; in digital_tg_send_atr_res()
1509 memset(atr_res, 0, sizeof(struct digital_atr_res)); in digital_tg_send_atr_res()
1511 atr_res->dir = DIGITAL_NFC_DEP_FRAME_DIR_IN; in digital_tg_send_atr_res()
1512 atr_res->cmd = DIGITAL_CMD_ATR_RES; in digital_tg_send_atr_res()
[all …]
/linux-6.6.21/net/nfc/nci/
Dntf.c447 memcpy(poll->atr_res, data, poll->atr_res_len); in nci_extract_activation_params_nfc_dep()
508 (ntf->activation_params.poll_nfc_dep.atr_res in nci_store_general_bytes_nfc_dep()
/linux-6.6.21/include/net/nfc/
Dnci.h488 __u8 atr_res[NFC_ATR_RES_MAXSIZE - 2]; /* ATR_RES from byte 3 */ member