Lines Matching defs:nci_hdr
43 struct nci_ctrl_hdr nci_hdr;
46 ret = i2c_master_recv(drv_data->i2c, (u8 *)&nci_hdr, NCI_CTRL_HDR_SIZE);
52 if (nci_hdr.plen > NCI_MAX_PAYLOAD_SIZE) {
58 nci_hdr.plen + NCI_CTRL_HDR_SIZE, GFP_KERNEL);
63 skb_put_data(*skb, &nci_hdr, NCI_CTRL_HDR_SIZE);
65 if (nci_hdr.plen) {
68 skb_put(*skb, nci_hdr.plen),
69 nci_hdr.plen);
71 if (ret != nci_hdr.plen) {
74 ret, nci_hdr.plen);