Searched refs:OA_TAKEN (Results 1 – 1 of 1) sorted by relevance
228 #define OA_TAKEN(tail, head) ((tail - head) & (OA_BUFFER_SIZE - 1)) macro563 partial_report_size = OA_TAKEN(hw_tail, stream->oa_buffer.tail); in oa_buffer_check_unlocked()567 hw_tail = OA_TAKEN(hw_tail, partial_report_size); in oa_buffer_check_unlocked()589 while (OA_TAKEN(tail, read_tail) >= report_size) { in oa_buffer_check_unlocked()599 if (OA_TAKEN(hw_tail, tail) > report_size && in oa_buffer_check_unlocked()607 pollin = OA_TAKEN(stream->oa_buffer.tail, in oa_buffer_check_unlocked()777 OA_TAKEN(tail, head); in gen8_append_oa_reports()1065 OA_TAKEN(tail, head); in gen7_append_oa_reports()