Searched refs:ipz_queue (Results 1 – 10 of 10) sorted by relevance
/linux-2.6.39/drivers/infiniband/hw/ehca/ |
D | ipz_pt_fn.h | 76 struct ipz_queue { struct 93 static inline void *ipz_qeit_calc(struct ipz_queue *queue, u64 q_offset) in ipz_qeit_calc() argument 106 static inline void *ipz_qeit_get(struct ipz_queue *queue) in ipz_qeit_get() 118 void *ipz_qpageit_get_inc(struct ipz_queue *queue); 126 static inline void *ipz_qeit_get_inc(struct ipz_queue *queue) in ipz_qeit_get_inc() 142 static inline int ipz_qeit_is_valid(struct ipz_queue *queue) in ipz_qeit_is_valid() 155 static inline void *ipz_qeit_get_inc_valid(struct ipz_queue *queue) in ipz_qeit_get_inc_valid() 164 static inline void *ipz_qeit_reset(struct ipz_queue *queue) in ipz_qeit_reset() 173 int ipz_queue_abs_to_offset(struct ipz_queue *queue, u64 addr, u64 *q_offset); 178 static inline u64 ipz_queue_advance_offset(struct ipz_queue *queue, u64 offset) in ipz_queue_advance_offset() [all …]
|
D | ehca_cq.c | 206 ipz_rc = ipz_queue_ctor(NULL, &my_cq->ipz_queue, param.act_pages, in ehca_create_cq() 216 vpage = ipz_qpageit_get_inc(&my_cq->ipz_queue); in ehca_create_cq() 245 vpage = ipz_qpageit_get_inc(&my_cq->ipz_queue); in ehca_create_cq() 267 ipz_qeit_reset(&my_cq->ipz_queue); in ehca_create_cq() 285 struct ipz_queue *ipz_queue = &my_cq->ipz_queue; in ehca_create_cq() local 290 resp.ipz_queue.qe_size = ipz_queue->qe_size; in ehca_create_cq() 291 resp.ipz_queue.act_nr_of_sg = ipz_queue->act_nr_of_sg; in ehca_create_cq() 292 resp.ipz_queue.queue_length = ipz_queue->queue_length; in ehca_create_cq() 293 resp.ipz_queue.pagesize = ipz_queue->pagesize; in ehca_create_cq() 294 resp.ipz_queue.toggle_state = ipz_queue->toggle_state; in ehca_create_cq() [all …]
|
D | ehca_eq.c | 90 ret = ipz_queue_ctor(NULL, &eq->ipz_queue, nr_pages, in ehca_create_eq() 100 vpage = ipz_qpageit_get_inc(&eq->ipz_queue); in ehca_create_eq() 112 vpage = ipz_qpageit_get_inc(&eq->ipz_queue); in ehca_create_eq() 121 ipz_qeit_reset(&eq->ipz_queue); in ehca_create_eq() 147 ipz_queue_dtor(NULL, &eq->ipz_queue); in ehca_create_eq() 161 eqe = ipz_eqit_eq_get_inc_valid(&eq->ipz_queue); in ehca_poll_eq() 186 ipz_queue_dtor(NULL, &eq->ipz_queue); in ehca_destroy_eq()
|
D | ipz_pt_fn.c | 51 void *ipz_qpageit_get_inc(struct ipz_queue *queue) in ipz_qpageit_get_inc() 66 void *ipz_qeit_eq_get_inc(struct ipz_queue *queue) in ipz_qeit_eq_get_inc() 80 int ipz_queue_abs_to_offset(struct ipz_queue *queue, u64 addr, u64 *q_offset) in ipz_queue_abs_to_offset() 102 static int alloc_queue_pages(struct ipz_queue *queue, const u32 nr_of_pages) in alloc_queue_pages() 127 static int alloc_small_queue_page(struct ipz_queue *queue, struct ehca_pd *pd) in alloc_small_queue_page() 172 static void free_small_queue_page(struct ipz_queue *queue, struct ehca_pd *pd) in free_small_queue_page() 204 int ipz_queue_ctor(struct ehca_pd *pd, struct ipz_queue *queue, in ipz_queue_ctor() 255 int ipz_queue_dtor(struct ehca_pd *pd, struct ipz_queue *queue) in ipz_queue_dtor()
|
D | ehca_classes.h | 78 struct ipz_queue ipz_queue; member 193 struct ipz_queue ipz_squeue; 195 struct ipz_queue ipz_rqueue; 239 struct ipz_queue ipz_queue; member 401 struct ipzu_queue_resp ipz_queue; member
|
D | ehca_reqs.c | 71 static inline int ehca_write_rwqe(struct ipz_queue *ipz_rqueue, in ehca_write_rwqe() 638 ipz_qeit_get_inc_valid(&my_cq->ipz_queue); in ehca_poll_cq_one() 801 struct ipz_queue *ipz_queue, int on_sq) in generate_flush_cqes() argument 821 offset = qmap->next_wqe_idx * ipz_queue->qe_size; in generate_flush_cqes() 822 wqe = (struct ehca_wqe *)ipz_qeit_calc(ipz_queue, offset); in generate_flush_cqes() 949 ret = ipz_qeit_is_valid(&my_cq->ipz_queue); in ehca_req_notify_cq()
|
D | ehca_uverbs.c | 135 static int ehca_mmap_queue(struct vm_area_struct *vma, struct ipz_queue *queue, in ehca_mmap_queue() 180 ret = ehca_mmap_queue(vma, &cq->ipz_queue, &cq->mm_count_queue); in ehca_mmap_cq()
|
D | ehca_qp.c | 266 struct ipz_queue *queue) in queue2resp() 282 struct ipz_queue *queue, in init_qp_queue() 1074 struct ipz_queue *squeue; in prepare_sqe_rts() 1127 static int calc_left_cqes(u64 wqe_p, struct ipz_queue *ipz_queue, in calc_left_cqes() argument 1140 if (ipz_queue_abs_to_offset(ipz_queue, wqe_p, &q_ofs)) { in calc_left_cqes() 1147 wqe_idx = q_ofs / ipz_queue->qe_size; in calc_left_cqes()
|
D | ehca_main.c | 964 q_ofs = eq->ipz_queue.current_q_offset; in ehca_poll_eqs() 968 q_ofs2 = eq->ipz_queue.current_q_offset; in ehca_poll_eqs()
|
D | ehca_irq.c | 618 eq_empty = (!ipz_eqit_eq_peek_valid(&shca->eq.ipz_queue)); in ehca_process_eq()
|