Home
last modified time | relevance | path

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

/drivers/nfc/st21nfca/
Ddep.c141 struct st21nfca_atr_req *atr_req) in st21nfca_tm_send_atr_res() argument
149 gb_len = atr_req->length - sizeof(struct st21nfca_atr_req); in st21nfca_tm_send_atr_res()
150 skb = alloc_skb(atr_req->length + 1, GFP_KERNEL); in st21nfca_tm_send_atr_res()
159 atr_res->length = atr_req->length + 1; in st21nfca_tm_send_atr_res()
163 memcpy(atr_res->nfcid3, atr_req->nfcid3, 6); in st21nfca_tm_send_atr_res()
173 memcpy(atr_res->gbi, atr_req->gbi, gb_len); in st21nfca_tm_send_atr_res()
193 struct st21nfca_atr_req *atr_req; in st21nfca_tm_recv_atr_req() local
209 atr_req = (struct st21nfca_atr_req *)skb->data; in st21nfca_tm_recv_atr_req()
211 if (atr_req->length < sizeof(struct st21nfca_atr_req)) { in st21nfca_tm_recv_atr_req()
216 r = st21nfca_tm_send_atr_res(hdev, atr_req); in st21nfca_tm_recv_atr_req()
[all …]