Lines Matching refs:hv_ret

122 	unsigned long off, new_head, hv_ret;  in cwq_intr()  local
130 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr()
133 smp_processor_id(), new_head, hv_ret); in cwq_intr()
139 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr()
140 if (hv_ret == HV_EOK) in cwq_intr()
151 unsigned long head, hv_ret; in mau_intr() local
158 hv_ret = sun4v_ncs_gethead(q->qhandle, &head); in mau_intr()
161 smp_processor_id(), head, hv_ret); in mau_intr()
202 unsigned long hv_ret, new_tail; in spu_queue_submit() local
206 hv_ret = sun4v_ncs_settail(q->qhandle, new_tail); in spu_queue_submit()
207 if (hv_ret == HV_EOK) in spu_queue_submit()
209 return hv_ret; in spu_queue_submit()
491 unsigned long head, hv_ret; in wait_for_tail() local
494 hv_ret = sun4v_ncs_gethead(qp->qhandle, &head); in wait_for_tail()
495 if (hv_ret != HV_EOK) { in wait_for_tail()
504 return hv_ret; in wait_for_tail()
510 unsigned long hv_ret = spu_queue_submit(qp, ent); in submit_and_wait_for_tail() local
512 if (hv_ret == HV_EOK) in submit_and_wait_for_tail()
513 hv_ret = wait_for_tail(qp); in submit_and_wait_for_tail()
515 return hv_ret; in submit_and_wait_for_tail()
949 unsigned long flags, hv_ret; in n2_do_ecb() local
971 hv_ret = wait_for_tail(qp); in n2_do_ecb()
972 if (hv_ret != HV_EOK) in n2_do_ecb()
999 unsigned long flags, hv_ret, iv_paddr; in n2_do_chaining() local
1061 hv_ret = wait_for_tail(qp); in n2_do_chaining()
1062 if (hv_ret != HV_EOK) in n2_do_chaining()
1599 unsigned long hv_ret; in spu_queue_register_workfn() local
1601 hv_ret = sun4v_ncs_qconf(q_type, __pa(p->q), in spu_queue_register_workfn()
1603 if (!hv_ret) in spu_queue_register_workfn()
1606 return hv_ret ? -EINVAL : 0; in spu_queue_register_workfn()
1636 unsigned long hv_ret; in spu_queue_destroy() local
1641 hv_ret = sun4v_ncs_qconf(p->q_type, p->qhandle, 0, &p->qhandle); in spu_queue_destroy()
1643 if (!hv_ret) in spu_queue_destroy()