Searched refs:NCI_CTRL_HDR_SIZE (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/nfc/nxp-nci/ |
D | i2c.c | 161 r = i2c_master_recv(client, (u8 *) &header, NCI_CTRL_HDR_SIZE); in nxp_nci_i2c_nci_read() 164 } else if (r != NCI_CTRL_HDR_SIZE) { in nxp_nci_i2c_nci_read() 170 *skb = alloc_skb(NCI_CTRL_HDR_SIZE + header.plen, GFP_KERNEL); in nxp_nci_i2c_nci_read() 176 memcpy(skb_put(*skb, NCI_CTRL_HDR_SIZE), (void *) &header, in nxp_nci_i2c_nci_read() 177 NCI_CTRL_HDR_SIZE); in nxp_nci_i2c_nci_read()
|
/linux-4.1.27/net/nfc/nci/ |
D | rsp.c | 297 skb_pull(skb, NCI_CTRL_HDR_SIZE); in nci_rsp_packet()
|
D | core.c | 1145 skb = nci_skb_alloc(ndev, (NCI_CTRL_HDR_SIZE + plen), GFP_KERNEL); in nci_send_cmd() 1151 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.1.27/include/net/nfc/ |
D | nci.h | 209 #define NCI_CTRL_HDR_SIZE 3 macro
|