Searched refs:q_offset (Results 1 – 1 of 1) sorted by relevance
196 static inline void *hw_qeit_calc(struct hw_queue *queue, u64 q_offset) in hw_qeit_calc() argument200 if (q_offset >= queue->queue_length) in hw_qeit_calc()201 q_offset -= queue->queue_length; in hw_qeit_calc()202 current_page = (queue->queue_pages)[q_offset >> EHEA_PAGESHIFT]; in hw_qeit_calc()203 return ¤t_page->entries[q_offset & (EHEA_PAGESIZE - 1)]; in hw_qeit_calc()