Lines Matching refs:hv_ret
120 unsigned long off, new_head, hv_ret; in cwq_intr() local
128 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr()
131 smp_processor_id(), new_head, hv_ret); in cwq_intr()
137 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr()
138 if (hv_ret == HV_EOK) in cwq_intr()
149 unsigned long head, hv_ret; in mau_intr() local
156 hv_ret = sun4v_ncs_gethead(q->qhandle, &head); in mau_intr()
159 smp_processor_id(), head, hv_ret); in mau_intr()
200 unsigned long hv_ret, new_tail; in spu_queue_submit() local
204 hv_ret = sun4v_ncs_settail(q->qhandle, new_tail); in spu_queue_submit()
205 if (hv_ret == HV_EOK) in spu_queue_submit()
207 return hv_ret; in spu_queue_submit()
494 unsigned long head, hv_ret; in wait_for_tail() local
497 hv_ret = sun4v_ncs_gethead(qp->qhandle, &head); in wait_for_tail()
498 if (hv_ret != HV_EOK) { in wait_for_tail()
507 return hv_ret; in wait_for_tail()
513 unsigned long hv_ret = spu_queue_submit(qp, ent); in submit_and_wait_for_tail() local
515 if (hv_ret == HV_EOK) in submit_and_wait_for_tail()
516 hv_ret = wait_for_tail(qp); in submit_and_wait_for_tail()
518 return hv_ret; in submit_and_wait_for_tail()
992 unsigned long flags, hv_ret; in n2_do_ecb() local
1014 hv_ret = wait_for_tail(qp); in n2_do_ecb()
1015 if (hv_ret != HV_EOK) in n2_do_ecb()
1042 unsigned long flags, hv_ret, iv_paddr; in n2_do_chaining() local
1104 hv_ret = wait_for_tail(qp); in n2_do_chaining()
1105 if (hv_ret != HV_EOK) in n2_do_chaining()
1658 unsigned long hv_ret; in spu_queue_register_workfn() local
1660 hv_ret = sun4v_ncs_qconf(q_type, __pa(p->q), in spu_queue_register_workfn()
1662 if (!hv_ret) in spu_queue_register_workfn()
1665 return hv_ret ? -EINVAL : 0; in spu_queue_register_workfn()
1695 unsigned long hv_ret; in spu_queue_destroy() local
1700 hv_ret = sun4v_ncs_qconf(p->q_type, p->qhandle, 0, &p->qhandle); in spu_queue_destroy()
1702 if (!hv_ret) in spu_queue_destroy()