Searched refs:OA_TAKEN (Results 1 – 1 of 1) sorted by relevance
229 #define OA_TAKEN(tail, head) ((tail - head) & (OA_BUFFER_SIZE - 1)) macro564 partial_report_size = OA_TAKEN(hw_tail, stream->oa_buffer.tail); in oa_buffer_check_unlocked()568 hw_tail = OA_TAKEN(hw_tail, partial_report_size); in oa_buffer_check_unlocked()583 while (OA_TAKEN(tail, stream->oa_buffer.tail) >= report_size) { in oa_buffer_check_unlocked()593 if (OA_TAKEN(hw_tail, tail) > report_size && in oa_buffer_check_unlocked()601 pollin = OA_TAKEN(stream->oa_buffer.tail, in oa_buffer_check_unlocked()764 OA_TAKEN(tail, head); in gen8_append_oa_reports()1074 OA_TAKEN(tail, head); in gen7_append_oa_reports()