Lines Matching refs:hv_ret

123 	unsigned long off, new_head, hv_ret;  in cwq_intr()  local
131 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr()
134 smp_processor_id(), new_head, hv_ret); in cwq_intr()
140 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr()
141 if (hv_ret == HV_EOK) in cwq_intr()
152 unsigned long head, hv_ret; in mau_intr() local
159 hv_ret = sun4v_ncs_gethead(q->qhandle, &head); in mau_intr()
162 smp_processor_id(), head, hv_ret); in mau_intr()
203 unsigned long hv_ret, new_tail; in spu_queue_submit() local
207 hv_ret = sun4v_ncs_settail(q->qhandle, new_tail); in spu_queue_submit()
208 if (hv_ret == HV_EOK) in spu_queue_submit()
210 return hv_ret; in spu_queue_submit()
492 unsigned long head, hv_ret; in wait_for_tail() local
495 hv_ret = sun4v_ncs_gethead(qp->qhandle, &head); in wait_for_tail()
496 if (hv_ret != HV_EOK) { in wait_for_tail()
505 return hv_ret; in wait_for_tail()
511 unsigned long hv_ret = spu_queue_submit(qp, ent); in submit_and_wait_for_tail() local
513 if (hv_ret == HV_EOK) in submit_and_wait_for_tail()
514 hv_ret = wait_for_tail(qp); in submit_and_wait_for_tail()
516 return hv_ret; in submit_and_wait_for_tail()
950 unsigned long flags, hv_ret; in n2_do_ecb() local
972 hv_ret = wait_for_tail(qp); in n2_do_ecb()
973 if (hv_ret != HV_EOK) in n2_do_ecb()
1000 unsigned long flags, hv_ret, iv_paddr; in n2_do_chaining() local
1062 hv_ret = wait_for_tail(qp); in n2_do_chaining()
1063 if (hv_ret != HV_EOK) in n2_do_chaining()
1606 unsigned long hv_ret; in spu_queue_register_workfn() local
1608 hv_ret = sun4v_ncs_qconf(q_type, __pa(p->q), in spu_queue_register_workfn()
1610 if (!hv_ret) in spu_queue_register_workfn()
1613 return hv_ret ? -EINVAL : 0; in spu_queue_register_workfn()
1643 unsigned long hv_ret; in spu_queue_destroy() local
1648 hv_ret = sun4v_ncs_qconf(p->q_type, p->qhandle, 0, &p->qhandle); in spu_queue_destroy()
1650 if (!hv_ret) in spu_queue_destroy()