Home
last modified time | relevance | path

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

/drivers/nfc/nxp-nci/
Dfirmware.c114 chunk_len = info->max_payload - NXP_NCI_FW_HDR_LEN - NXP_NCI_FW_CRC_LEN; in nxp_nci_fw_send_chunk()
125 put_unaligned_be16(header, skb_put(skb, NXP_NCI_FW_HDR_LEN)); in nxp_nci_fw_send_chunk()
130 crc = nxp_nci_fw_crc(skb->data, chunk_len + NXP_NCI_FW_HDR_LEN); in nxp_nci_fw_send_chunk()
154 fw_info->data += NXP_NCI_FW_HDR_LEN; in nxp_nci_fw_send()
155 fw_info->size -= NXP_NCI_FW_HDR_LEN; in nxp_nci_fw_send()
316 *skb_pull(skb, NXP_NCI_FW_HDR_LEN)); in nxp_nci_fw_recv_frame()
Di2c.c122 r = i2c_master_recv(client, (u8 *) &header, NXP_NCI_FW_HDR_LEN); in nxp_nci_i2c_fw_read()
125 } else if (r != NXP_NCI_FW_HDR_LEN) { in nxp_nci_i2c_fw_read()
134 *skb = alloc_skb(NXP_NCI_FW_HDR_LEN + frame_len, GFP_KERNEL); in nxp_nci_i2c_fw_read()
140 memcpy(skb_put(*skb, NXP_NCI_FW_HDR_LEN), &header, NXP_NCI_FW_HDR_LEN); in nxp_nci_i2c_fw_read()
Dnxp-nci.h32 #define NXP_NCI_FW_HDR_LEN 2 macro