Home
last modified time | relevance | path

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

/drivers/nfc/st21nfca/
Ddep.c156 size_t gb_len; in st21nfca_tm_send_atr_res() local
160 gb_len = atr_req->length - sizeof(struct st21nfca_atr_req); in st21nfca_tm_send_atr_res()
180 if (gb_len) { in st21nfca_tm_send_atr_res()
181 skb_put(skb, gb_len); in st21nfca_tm_send_atr_res()
184 memcpy(atr_res->gbi, atr_req->gbi, gb_len); in st21nfca_tm_send_atr_res()
186 gb_len); in st21nfca_tm_send_atr_res()
203 size_t gb_len; in st21nfca_tm_recv_atr_req() local
230 gb_len = skb->len - sizeof(struct st21nfca_atr_req); in st21nfca_tm_recv_atr_req()
233 NFC_COMM_PASSIVE, atr_req->gbi, gb_len); in st21nfca_tm_recv_atr_req()
523 int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len) in st21nfca_im_send_atr_req() argument
[all …]
Dcore.c367 &hdev->gb_len); in st21nfca_hci_start_poll()
369 if (hdev->gb == NULL || hdev->gb_len == 0) { in st21nfca_hci_start_poll()
610 u8 *gb, size_t gb_len) in st21nfca_hci_dep_link_up() argument
615 return st21nfca_im_send_atr_req(hdev, gb, gb_len); in st21nfca_hci_dep_link_up()
Dst21nfca.h187 int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len);
/drivers/nfc/microread/
Dmicroread.c267 &hdev->gb_len); in microread_start_poll()
268 if (hdev->gb == NULL || hdev->gb_len == 0) { in microread_start_poll()
288 hdev->gb, hdev->gb_len); in microread_start_poll()
296 hdev->gb, hdev->gb_len); in microread_start_poll()
314 u8 *gb, size_t gb_len) in microread_dep_link_up() argument
/drivers/nfc/pn533/
Dpn533.c998 size_t gbytes_len = dev->gb_len; in pn533_alloc_poll_tg_frame()
1186 size_t gb_len; in pn533_init_target_complete() local
1208 gb_len = resp->len - (ATR_REQ_GB_OFFSET + 1); in pn533_init_target_complete()
1211 comm_mode, gb, gb_len); in pn533_init_target_complete()
1346 dev->gb = nfc_get_local_general_bytes(nfc_dev, &dev->gb_len); in pn533_poll_dep()
1348 if (!dev->gb || !dev->gb_len) { in pn533_poll_dep()
1354 skb_len = 3 + dev->gb_len; /* ActPass + BR + Next */ in pn533_poll_dep()
1382 memcpy(skb_put(skb, dev->gb_len), dev->gb, dev->gb_len); in pn533_poll_dep()
1557 dev->gb = nfc_get_local_general_bytes(nfc_dev, &dev->gb_len); in pn533_start_poll()
1804 u8 comm_mode, u8 *gb, size_t gb_len) in pn533_dep_link_up() argument
[all …]
Dpn533.h172 size_t gb_len; member
/drivers/nfc/pn544/
Dpn544.c393 &hdev->gb_len); in pn544_hci_start_poll()
395 if (hdev->gb == NULL || hdev->gb_len == 0) { in pn544_hci_start_poll()
416 PN544_DEP_ATR_REQ, hdev->gb, hdev->gb_len); in pn544_hci_start_poll()
436 PN544_DEP_ATR_RES, hdev->gb, hdev->gb_len); in pn544_hci_start_poll()
457 u8 *gb, size_t gb_len) in pn544_hci_dep_link_up() argument