Searched refs:NCI_CTRL_HDR_SIZE (Results 1 – 9 of 9) sorted by relevance
| /linux-4.4.14/drivers/nfc/nfcmrvl/ |
| D | i2c.c | 46 ret = i2c_master_recv(drv_data->i2c, (u8 *)&nci_hdr, NCI_CTRL_HDR_SIZE); in nfcmrvl_i2c_read() 47 if (ret != NCI_CTRL_HDR_SIZE) { in nfcmrvl_i2c_read() 58 nci_hdr.plen + NCI_CTRL_HDR_SIZE, GFP_KERNEL); in nfcmrvl_i2c_read() 63 memcpy(skb_put(*skb, NCI_CTRL_HDR_SIZE), &nci_hdr, NCI_CTRL_HDR_SIZE); in nfcmrvl_i2c_read()
|
| /linux-4.4.14/drivers/nfc/nxp-nci/ |
| D | i2c.c | 166 r = i2c_master_recv(client, (u8 *) &header, NCI_CTRL_HDR_SIZE); in nxp_nci_i2c_nci_read() 169 } else if (r != NCI_CTRL_HDR_SIZE) { in nxp_nci_i2c_nci_read() 175 *skb = alloc_skb(NCI_CTRL_HDR_SIZE + header.plen, GFP_KERNEL); in nxp_nci_i2c_nci_read() 181 memcpy(skb_put(*skb, NCI_CTRL_HDR_SIZE), (void *) &header, in nxp_nci_i2c_nci_read() 182 NCI_CTRL_HDR_SIZE); in nxp_nci_i2c_nci_read()
|
| /linux-4.4.14/net/nfc/nci/ |
| D | uart.c | 364 if (nu->rx_skb->len < NCI_CTRL_HDR_SIZE) { in nci_uart_default_recv_buf() 372 nu->rx_packet_len = NCI_CTRL_HDR_SIZE + in nci_uart_default_recv_buf()
|
| D | rsp.c | 297 skb_pull(skb, NCI_CTRL_HDR_SIZE); in nci_rsp_packet()
|
| D | core.c | 1249 skb = nci_skb_alloc(ndev, (NCI_CTRL_HDR_SIZE + plen), GFP_KERNEL); in nci_send_cmd() 1255 hdr = (struct nci_ctrl_hdr *) skb_put(skb, NCI_CTRL_HDR_SIZE); in nci_send_cmd()
|
| D | ntf.c | 759 skb_pull(skb, NCI_CTRL_HDR_SIZE); in nci_ntf_packet()
|
| /linux-4.4.14/drivers/nfc/s3fwrn5/ |
| D | i2c.c | 144 NCI_CTRL_HDR_SIZE : S3FWRN5_FW_HDR_SIZE; in s3fwrn5_i2c_read()
|
| /linux-4.4.14/drivers/nfc/fdp/ |
| D | fdp.c | 220 skb = nci_skb_alloc(ndev, (NCI_CTRL_HDR_SIZE + payload_size), in fdp_nci_send_patch() 228 skb_reserve(skb, NCI_CTRL_HDR_SIZE); in fdp_nci_send_patch()
|
| /linux-4.4.14/include/net/nfc/ |
| D | nci.h | 211 #define NCI_CTRL_HDR_SIZE 3 macro
|