Lines Matching refs:hv_ret
115 unsigned long off, new_head, hv_ret; in cwq_intr() local
123 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr()
126 smp_processor_id(), new_head, hv_ret); in cwq_intr()
132 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr()
133 if (hv_ret == HV_EOK) in cwq_intr()
144 unsigned long head, hv_ret; in mau_intr() local
151 hv_ret = sun4v_ncs_gethead(q->qhandle, &head); in mau_intr()
154 smp_processor_id(), head, hv_ret); in mau_intr()
195 unsigned long hv_ret, new_tail; in spu_queue_submit() local
199 hv_ret = sun4v_ncs_settail(q->qhandle, new_tail); in spu_queue_submit()
200 if (hv_ret == HV_EOK) in spu_queue_submit()
202 return hv_ret; in spu_queue_submit()
479 unsigned long head, hv_ret; in wait_for_tail() local
482 hv_ret = sun4v_ncs_gethead(qp->qhandle, &head); in wait_for_tail()
483 if (hv_ret != HV_EOK) { in wait_for_tail()
492 return hv_ret; in wait_for_tail()
498 unsigned long hv_ret = spu_queue_submit(qp, ent); in submit_and_wait_for_tail() local
500 if (hv_ret == HV_EOK) in submit_and_wait_for_tail()
501 hv_ret = wait_for_tail(qp); in submit_and_wait_for_tail()
503 return hv_ret; in submit_and_wait_for_tail()
977 unsigned long flags, hv_ret; in n2_do_ecb() local
999 hv_ret = wait_for_tail(qp); in n2_do_ecb()
1000 if (hv_ret != HV_EOK) in n2_do_ecb()
1027 unsigned long flags, hv_ret, iv_paddr; in n2_do_chaining() local
1089 hv_ret = wait_for_tail(qp); in n2_do_chaining()
1090 if (hv_ret != HV_EOK) in n2_do_chaining()
1658 unsigned long hv_ret; in spu_queue_register() local
1670 hv_ret = sun4v_ncs_qconf(q_type, __pa(p->q), in spu_queue_register()
1672 if (!hv_ret) in spu_queue_register()
1679 return (hv_ret ? -EINVAL : 0); in spu_queue_register()
1701 unsigned long hv_ret; in spu_queue_destroy() local
1706 hv_ret = sun4v_ncs_qconf(p->q_type, p->qhandle, 0, &p->qhandle); in spu_queue_destroy()
1708 if (!hv_ret) in spu_queue_destroy()