Searched refs:q_offset (Results 1 – 3 of 3) sorted by relevance
93 static inline void *ipz_qeit_calc(struct ipz_queue *queue, u64 q_offset) in ipz_qeit_calc() argument96 if (q_offset >= queue->queue_length) in ipz_qeit_calc()98 current_page = (queue->queue_pages)[q_offset >> EHCA_PAGESHIFT]; in ipz_qeit_calc()99 return ¤t_page->entries[q_offset & (EHCA_PAGESIZE - 1)]; in ipz_qeit_calc()173 int ipz_queue_abs_to_offset(struct ipz_queue *queue, u64 addr, u64 *q_offset);
80 int ipz_queue_abs_to_offset(struct ipz_queue *queue, u64 addr, u64 *q_offset) in ipz_queue_abs_to_offset() argument86 *q_offset = addr - page + i * queue->pagesize; in ipz_queue_abs_to_offset()
209 static inline void *hw_qeit_calc(struct hw_queue *queue, u64 q_offset) in hw_qeit_calc() argument213 if (q_offset >= queue->queue_length) in hw_qeit_calc()214 q_offset -= queue->queue_length; in hw_qeit_calc()215 current_page = (queue->queue_pages)[q_offset >> EHEA_PAGESHIFT]; in hw_qeit_calc()216 return ¤t_page->entries[q_offset & (EHEA_PAGESIZE - 1)]; in hw_qeit_calc()