Home
last modified time | relevance | path

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

/drivers/nfc/st21nfca/
Ddep.c152 struct st21nfca_atr_req *atr_req) in st21nfca_tm_send_atr_res() argument
160 gb_len = atr_req->length - sizeof(struct st21nfca_atr_req); in st21nfca_tm_send_atr_res()
161 skb = alloc_skb(atr_req->length + 1, GFP_KERNEL); in st21nfca_tm_send_atr_res()
170 atr_res->length = atr_req->length + 1; in st21nfca_tm_send_atr_res()
174 memcpy(atr_res->nfcid3, atr_req->nfcid3, 6); in st21nfca_tm_send_atr_res()
184 memcpy(atr_res->gbi, atr_req->gbi, gb_len); in st21nfca_tm_send_atr_res()
204 struct st21nfca_atr_req *atr_req; in st21nfca_tm_recv_atr_req() local
220 atr_req = (struct st21nfca_atr_req *)skb->data; in st21nfca_tm_recv_atr_req()
222 if (atr_req->length < sizeof(struct st21nfca_atr_req) || in st21nfca_tm_recv_atr_req()
223 atr_req->length > skb->len) { in st21nfca_tm_recv_atr_req()
[all …]