Searched refs:atr_res (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/nfc/st21nfca/ |
D | dep.c | 154 struct st21nfca_atr_res *atr_res; in st21nfca_tm_send_atr_res() local 167 atr_res = (struct st21nfca_atr_res *)skb->data; in st21nfca_tm_send_atr_res() 168 memset(atr_res, 0, sizeof(struct st21nfca_atr_res)); in st21nfca_tm_send_atr_res() 170 atr_res->length = atr_req->length + 1; in st21nfca_tm_send_atr_res() 171 atr_res->cmd0 = ST21NFCA_NFCIP1_RES; in st21nfca_tm_send_atr_res() 172 atr_res->cmd1 = ST21NFCA_NFCIP1_ATR_RES; in st21nfca_tm_send_atr_res() 174 memcpy(atr_res->nfcid3, atr_req->nfcid3, 6); in st21nfca_tm_send_atr_res() 175 atr_res->bsi = 0x00; in st21nfca_tm_send_atr_res() 176 atr_res->bri = 0x00; in st21nfca_tm_send_atr_res() 177 atr_res->to = ST21NFCA_DEFAULT_TIMEOUT; in st21nfca_tm_send_atr_res() [all …]
|
/Linux-v4.19/net/nfc/ |
D | digital_dep.c | 415 struct digital_atr_res *atr_res; in digital_in_recv_atr_res() local 445 atr_res = (struct digital_atr_res *)resp->data; in digital_in_recv_atr_res() 447 wt = DIGITAL_ATR_RES_TO_WT(atr_res->to); in digital_in_recv_atr_res() 452 payload_bits = DIGITAL_PAYLOAD_PP_TO_BITS(atr_res->pp); in digital_in_recv_atr_res() 460 rc = nfc_set_remote_general_bytes(ddev->nfc_dev, atr_res->gb, gb_len); in digital_in_recv_atr_res() 1502 struct digital_atr_res *atr_res; in digital_tg_send_atr_res() local 1517 atr_res = (struct digital_atr_res *)skb->data; in digital_tg_send_atr_res() 1519 memset(atr_res, 0, sizeof(struct digital_atr_res)); in digital_tg_send_atr_res() 1521 atr_res->dir = DIGITAL_NFC_DEP_FRAME_DIR_IN; in digital_tg_send_atr_res() 1522 atr_res->cmd = DIGITAL_CMD_ATR_RES; in digital_tg_send_atr_res() [all …]
|
/Linux-v4.19/net/nfc/nci/ |
D | ntf.c | 429 memcpy(poll->atr_res, data, poll->atr_res_len); in nci_extract_activation_params_nfc_dep() 490 (ntf->activation_params.poll_nfc_dep.atr_res in nci_store_general_bytes_nfc_dep()
|
/Linux-v4.19/include/net/nfc/ |
D | nci.h | 466 __u8 atr_res[NFC_ATR_RES_MAXSIZE - 2]; /* ATR_RES from byte 3 */ member
|