Searched refs:atr_res (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/nfc/st21nfca/ |
H A D | st21nfca_dep.c | 155 struct st21nfca_atr_res *atr_res; st21nfca_tm_send_atr_res() local 168 atr_res = (struct st21nfca_atr_res *)skb->data; st21nfca_tm_send_atr_res() 169 memset(atr_res, 0, sizeof(struct st21nfca_atr_res)); st21nfca_tm_send_atr_res() 171 atr_res->length = atr_req->length + 1; st21nfca_tm_send_atr_res() 172 atr_res->cmd0 = ST21NFCA_NFCIP1_RES; st21nfca_tm_send_atr_res() 173 atr_res->cmd1 = ST21NFCA_NFCIP1_ATR_RES; st21nfca_tm_send_atr_res() 175 memcpy(atr_res->nfcid3, atr_req->nfcid3, 6); st21nfca_tm_send_atr_res() 176 atr_res->bsi = 0x00; st21nfca_tm_send_atr_res() 177 atr_res->bri = 0x00; st21nfca_tm_send_atr_res() 178 atr_res->to = ST21NFCA_DEFAULT_TIMEOUT; st21nfca_tm_send_atr_res() 179 atr_res->ppi = ST21NFCA_LR_BITS_PAYLOAD_SIZE_254B; st21nfca_tm_send_atr_res() 184 atr_res->ppi |= ST21NFCA_GB_BIT; st21nfca_tm_send_atr_res() 185 memcpy(atr_res->gbi, atr_req->gbi, gb_len); st21nfca_tm_send_atr_res() 186 r = nfc_set_remote_general_bytes(hdev->ndev, atr_res->gbi, st21nfca_tm_send_atr_res() 479 struct st21nfca_atr_res *atr_res; st21nfca_im_recv_atr_res_cb() local 491 atr_res = (struct st21nfca_atr_res *)skb->data; st21nfca_im_recv_atr_res_cb() 493 atr_res->gbi, st21nfca_im_recv_atr_res_cb() 498 if (atr_res->to >= 0x0e) st21nfca_im_recv_atr_res_cb() 501 info->dep_info.to = atr_res->to + 1; st21nfca_im_recv_atr_res_cb() 511 if (ST21NFCA_PP2LRI(atr_res->ppi) != info->dep_info.lri) st21nfca_im_recv_atr_res_cb() 512 st21nfca_im_send_psl_req(info->hdev, atr_res->did, st21nfca_im_recv_atr_res_cb() 513 atr_res->bsi, atr_res->bri, st21nfca_im_recv_atr_res_cb() 514 ST21NFCA_PP2LRI(atr_res->ppi)); st21nfca_im_recv_atr_res_cb()
|
/linux-4.1.27/net/nfc/ |
H A D | digital_dep.c | 383 struct digital_atr_res *atr_res; digital_in_recv_atr_res() local 412 atr_res = (struct digital_atr_res *)resp->data; digital_in_recv_atr_res() 414 payload_bits = DIGITAL_PAYLOAD_PP_TO_BITS(atr_res->pp); digital_in_recv_atr_res() 422 rc = nfc_set_remote_general_bytes(ddev->nfc_dev, atr_res->gb, gb_len); digital_in_recv_atr_res() 1401 struct digital_atr_res *atr_res; digital_tg_send_atr_res() local 1416 atr_res = (struct digital_atr_res *)skb->data; digital_tg_send_atr_res() 1418 memset(atr_res, 0, sizeof(struct digital_atr_res)); digital_tg_send_atr_res() 1420 atr_res->dir = DIGITAL_NFC_DEP_FRAME_DIR_IN; digital_tg_send_atr_res() 1421 atr_res->cmd = DIGITAL_CMD_ATR_RES; digital_tg_send_atr_res() 1422 memcpy(atr_res->nfcid3, atr_req->nfcid3, sizeof(atr_req->nfcid3)); digital_tg_send_atr_res() 1423 atr_res->to = 8; digital_tg_send_atr_res() 1427 atr_res->pp = DIGITAL_PAYLOAD_BITS_TO_PP(payload_bits); digital_tg_send_atr_res() 1432 atr_res->pp |= DIGITAL_GB_BIT; digital_tg_send_atr_res() 1433 memcpy(atr_res->gb, gb, gb_len); digital_tg_send_atr_res()
|
/linux-4.1.27/net/nfc/nci/ |
H A D | ntf.c | 429 memcpy(poll->atr_res, data, poll->atr_res_len); nci_extract_activation_params_nfc_dep() 490 (ntf->activation_params.poll_nfc_dep.atr_res nci_store_general_bytes_nfc_dep()
|
/linux-4.1.27/include/net/nfc/ |
H A D | nci.h | 459 __u8 atr_res[NFC_ATR_RES_MAXSIZE - 2]; /* ATR_RES from byte 3 */ member in struct:activation_params_poll_nfc_dep
|
Completed in 84 milliseconds