Lines Matching refs:report_size

544 	int report_size = stream->oa_buffer.format->size;  in oa_buffer_check_unlocked()  local
564 partial_report_size %= report_size; in oa_buffer_check_unlocked()
589 while (OA_TAKEN(tail, read_tail) >= report_size) { in oa_buffer_check_unlocked()
596 tail = (tail - report_size) & (OA_BUFFER_SIZE - 1); in oa_buffer_check_unlocked()
599 if (OA_TAKEN(hw_tail, tail) > report_size && in oa_buffer_check_unlocked()
608 stream->oa_buffer.head) >= report_size; in oa_buffer_check_unlocked()
672 int report_size = stream->oa_buffer.format->size; in append_oa_sample() local
692 if (report_size_partial < report_size) { in append_oa_sample()
698 report_size - report_size_partial)) in append_oa_sample()
700 } else if (copy_to_user(buf, report, report_size)) { in append_oa_sample()
736 int report_size = stream->oa_buffer.format->size; in gen8_append_oa_reports() local
778 head = (head + report_size) & mask) { in gen8_append_oa_reports()
891 if (is_power_of_2(report_size)) { in gen8_append_oa_reports()
904 if (report_size <= part) { in gen8_append_oa_reports()
905 memset(report32, 0, report_size); in gen8_append_oa_reports()
908 memset(oa_buf_base, 0, report_size - part); in gen8_append_oa_reports()
1054 int report_size = stream->oa_buffer.format->size; in gen7_append_oa_reports() local
1086 head > OA_BUFFER_SIZE || head % report_size || in gen7_append_oa_reports()
1087 tail > OA_BUFFER_SIZE || tail % report_size, in gen7_append_oa_reports()
1095 head = (head + report_size) & mask) { in gen7_append_oa_reports()
1108 (OA_BUFFER_SIZE - head) < report_size)) { in gen7_append_oa_reports()