Lines Matching refs:lorb
576 sbp2_login_orb_t *lorb; in sbp2_lun_login() local
597 lorb = (sbp2_login_orb_t *)tp->t_mgt_orb_buf.bb_kaddr; in sbp2_lun_login()
598 bzero(lorb, sizeof (sbp2_login_orb_t)); in sbp2_lun_login()
599 SBP2_ADDR_SET(lorb->lo_resp, tp->t_mgt_login_resp_buf.bb_baddr, 0); in sbp2_lun_login()
600 lorb->lo_params = SBP2_SWAP16(SBP2_ORB_MGT_FUNC_LOGIN | in sbp2_lun_login()
602 lorb->lo_lun = SBP2_SWAP16(lp->l_lun); in sbp2_lun_login()
603 lorb->lo_resp_len = SBP2_SWAP16(tp->t_mgt_login_resp_buf.bb_len); in sbp2_lun_login()
604 SBP2_ADDR_SET(lorb->lo_status_fifo, sp->s_status_fifo_buf.bb_baddr, 0); in sbp2_lun_login()
687 sbp2_logout_orb_t *lorb; in sbp2_lun_logout_orb() local
692 lorb = (sbp2_logout_orb_t *)tp->t_mgt_orb_buf.bb_kaddr; in sbp2_lun_logout_orb()
693 bzero(lorb, sizeof (sbp2_logout_orb_t)); in sbp2_lun_logout_orb()
694 lorb->lo_params = SBP2_SWAP16(SBP2_ORB_MGT_FUNC_LOGOUT | in sbp2_lun_logout_orb()
696 lorb->lo_login_id = SBP2_SWAP16(lp->l_login_resp.lr_login_id); in sbp2_lun_logout_orb()
697 SBP2_ADDR_SET(lorb->lo_status_fifo, tp->t_mgt_status_fifo_buf.bb_baddr, in sbp2_lun_logout_orb()