Home
last modified time | relevance | path

Searched refs:q_offset (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.h196 static inline void *hw_qeit_calc(struct hw_queue *queue, u64 q_offset) in hw_qeit_calc() argument
200 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 &current_page->entries[q_offset & (EHEA_PAGESIZE - 1)]; in hw_qeit_calc()