Searched refs:NXP_NCI_FW_HDR_LEN (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/nfc/nxp-nci/ |
H A D | firmware.c | 103 chunk_len = info->max_payload - NXP_NCI_FW_HDR_LEN - NXP_NCI_FW_CRC_LEN; in nxp_nci_fw_send_chunk() 114 put_unaligned_be16(header, skb_put(skb, NXP_NCI_FW_HDR_LEN)); in nxp_nci_fw_send_chunk() 118 crc = nxp_nci_fw_crc(skb->data, chunk_len + NXP_NCI_FW_HDR_LEN); in nxp_nci_fw_send_chunk() 142 fw_info->data += NXP_NCI_FW_HDR_LEN; in nxp_nci_fw_send() 143 fw_info->size -= NXP_NCI_FW_HDR_LEN; in nxp_nci_fw_send() 303 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 D | i2c.c | 104 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 D | nxp-nci.h | 20 #define NXP_NCI_FW_HDR_LEN 2 macro
|
/kernel/linux/linux-6.6/drivers/nfc/nxp-nci/ |
H A D | firmware.c | 101 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 D | i2c.c | 104 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 D | nxp-nci.h | 20 #define NXP_NCI_FW_HDR_LEN 2 macro
|
Completed in 4 milliseconds