Searched refs:blkmsg (Results 1 – 2 of 2) sorted by relevance
13 typedef u8 (*pf2vf_blkmsg_data_getter_fn)(u8 const *blkmsg, u8 byte);68 static u8 adf_pf2vf_blkmsg_get_byte(u8 const *blkmsg, u8 index) in adf_pf2vf_blkmsg_get_byte() argument70 return blkmsg[index]; in adf_pf2vf_blkmsg_get_byte()74 static u8 adf_pf2vf_blkmsg_get_crc(u8 const *blkmsg, u8 count) in adf_pf2vf_blkmsg_get_crc() argument77 return adf_pfvf_calc_blkmsg_crc(blkmsg, count + 1); in adf_pf2vf_blkmsg_get_crc()84 u8 blkmsg[ADF_PFVF_BLKMSG_MSG_MAX_SIZE] = { 0 }; in adf_pf2vf_blkmsg_get_data() local97 if (unlikely((*provider)(accel_dev, blkmsg, vf_info->vf_compat_ver))) { in adf_pf2vf_blkmsg_get_data()103 msg_size = ADF_PFVF_BLKMSG_HEADER_SIZE + blkmsg[ADF_PFVF_BLKMSG_LEN_BYTE]; in adf_pf2vf_blkmsg_get_data()119 *data = data_getter(blkmsg, byte); in adf_pf2vf_blkmsg_get_data()
219 #define ADF_PFVF_BLKMSG_PAYLOAD_SIZE(blkmsg) (sizeof(blkmsg) - \ argument221 #define ADF_PFVF_BLKMSG_MSG_SIZE(blkmsg) (ADF_PFVF_BLKMSG_HEADER_SIZE + \ argument222 (blkmsg)->hdr.payload_size)