Lines Matching refs:hdr_size
192 uint16_t hdr_size, msg_type, ver, svc_id; in apr_do_rx_callback() local
207 hdr_size = APR_HDR_FIELD_SIZE_BYTES(hdr->hdr_field); in apr_do_rx_callback()
208 if (hdr_size < APR_HDR_SIZE) { in apr_do_rx_callback()
209 dev_err(apr->dev, "APR: Wrong hdr size:%d\n", hdr_size); in apr_do_rx_callback()
248 resp.payload_size = hdr->pkt_size - hdr_size; in apr_do_rx_callback()
255 resp.payload = buf + hdr_size; in apr_do_rx_callback()
264 uint16_t hdr_size, ver; in gpr_do_rx_callback() local
277 hdr_size = hdr->hdr_size; in gpr_do_rx_callback()
278 if (hdr_size < GPR_PKT_HEADER_WORD_SIZE) { in gpr_do_rx_callback()
279 dev_err(gpr->dev, "GPR: Wrong hdr size:%d\n", hdr_size); in gpr_do_rx_callback()
289 resp.payload_size = hdr->pkt_size - (hdr_size * 4); in gpr_do_rx_callback()
296 resp.payload = buf + (hdr_size * 4); in gpr_do_rx_callback()