Lines Matching refs:report_size
217 int report_size = stream->oa_buffer.format->size; in xe_oa_buffer_check_unlocked() local
234 partial_report_size %= report_size; in xe_oa_buffer_check_unlocked()
249 while (xe_oa_circ_diff(stream, tail, stream->oa_buffer.tail) >= report_size) { in xe_oa_buffer_check_unlocked()
255 tail = xe_oa_circ_diff(stream, tail, report_size); in xe_oa_buffer_check_unlocked()
258 if (xe_oa_circ_diff(stream, hw_tail, tail) > report_size) in xe_oa_buffer_check_unlocked()
266 stream->oa_buffer.head) >= report_size; in xe_oa_buffer_check_unlocked()
291 int report_size = stream->oa_buffer.format->size; in xe_oa_append_report() local
295 if ((count - *offset) < report_size) in xe_oa_append_report()
303 if (report_size_partial < report_size) { in xe_oa_append_report()
309 report_size - report_size_partial)) in xe_oa_append_report()
311 } else if (copy_to_user(buf, report, report_size)) { in xe_oa_append_report()
315 *offset += report_size; in xe_oa_append_report()
323 int report_size = stream->oa_buffer.format->size; in xe_oa_append_reports() local
340 head = xe_oa_circ_incr(stream, head, report_size)) { in xe_oa_append_reports()
347 if (!(stream->oa_buffer.circ_size % report_size)) { in xe_oa_append_reports()
356 if (report_size <= part) { in xe_oa_append_reports()
357 memset(report, 0, report_size); in xe_oa_append_reports()
360 memset(oa_buf_base, 0, report_size - part); in xe_oa_append_reports()