Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nfc/nxp-nci/
H A Dfirmware.c101 chunk_len = info->max_payload - NXP_NCI_FW_HDR_LEN - NXP_NCI_FW_CRC_LEN; in nxp_nci_fw_send_chunk()
112 put_unaligned_be16(header, skb_put(skb, NXP_NCI_FW_HDR_LEN)); in nxp_nci_fw_send_chunk()
116 crc = nxp_nci_fw_crc(skb->data, chunk_len + NXP_NCI_FW_HDR_LEN); in nxp_nci_fw_send_chunk()
139 fw_info->data += NXP_NCI_FW_HDR_LEN; in nxp_nci_fw_send()
140 fw_info->size -= NXP_NCI_FW_HDR_LEN; in nxp_nci_fw_send()
300 fw_info->cmd_result = nxp_nci_fw_read_status(*(u8 *)skb_pull(skb, NXP_NCI_FW_HDR_LEN)); in nxp_nci_fw_recv_frame()
H A Di2c.c104 r = i2c_master_recv(client, (u8 *) &header, NXP_NCI_FW_HDR_LEN); in nxp_nci_i2c_fw_read()
107 } else if (r != NXP_NCI_FW_HDR_LEN) { in nxp_nci_i2c_fw_read()
116 *skb = alloc_skb(NXP_NCI_FW_HDR_LEN + frame_len, GFP_KERNEL); in nxp_nci_i2c_fw_read()
122 skb_put_data(*skb, &header, NXP_NCI_FW_HDR_LEN); in nxp_nci_i2c_fw_read()
H A Dnxp-nci.h20 #define NXP_NCI_FW_HDR_LEN 2 macro