Lines Matching refs:m_out

709 				mbox->m_out.cmd = MEGA_MBOXCMD_PASSTHRU64;  in mega_build_cmd()
712 mbox->m_out.cmd = MEGA_MBOXCMD_PASSTHRU; in mega_build_cmd()
720 mbox->m_out.xferaddr = scb->pthru_dma_addr; in mega_build_cmd()
739 mbox->m_out.logdrv = ldrv_num; in mega_build_cmd()
746 mbox->m_out.cmd = (*cmd->cmnd & 0x02) ? in mega_build_cmd()
751 mbox->m_out.cmd = (*cmd->cmnd & 0x02) ? in mega_build_cmd()
760 mbox->m_out.numsectors = (u32) cmd->cmnd[4]; in mega_build_cmd()
761 mbox->m_out.lba = in mega_build_cmd()
766 mbox->m_out.lba &= 0x1FFFFF; in mega_build_cmd()
777 mbox->m_out.numsectors; in mega_build_cmd()
781 mbox->m_out.numsectors; in mega_build_cmd()
790 mbox->m_out.numsectors = in mega_build_cmd()
793 mbox->m_out.lba = in mega_build_cmd()
803 mbox->m_out.numsectors; in mega_build_cmd()
807 mbox->m_out.numsectors; in mega_build_cmd()
816 mbox->m_out.lba = in mega_build_cmd()
822 mbox->m_out.numsectors = in mega_build_cmd()
832 mbox->m_out.numsectors; in mega_build_cmd()
836 mbox->m_out.numsectors; in mega_build_cmd()
852 mbox->m_out.numsgelements = mega_build_sglist(adapter, scb, in mega_build_cmd()
853 (u32 *)&mbox->m_out.xferaddr, &seg); in mega_build_cmd()
913 mbox->m_out.cmd = MEGA_MBOXCMD_EXTPTHRU; in mega_build_cmd()
915 mbox->m_out.xferaddr = scb->epthru_dma_addr; in mega_build_cmd()
925 mbox->m_out.cmd = MEGA_MBOXCMD_PASSTHRU64; in mega_build_cmd()
928 mbox->m_out.cmd = MEGA_MBOXCMD_PASSTHRU; in mega_build_cmd()
931 mbox->m_out.xferaddr = scb->pthru_dma_addr; in mega_build_cmd()
1114 memcpy((char *)&mbox->m_out, (char *)scb->raw_mbox, in issue_scb()
1117 mbox->m_out.cmdid = scb->idx; /* Set cmdid */ in issue_scb()
1126 switch (mbox->m_out.cmd) { in issue_scb()
1131 mbox64->xfer_segment_lo = mbox->m_out.xferaddr; in issue_scb()
1133 mbox->m_out.xferaddr = 0xFFFFFFFF; in issue_scb()
1189 mbox->m_out.cmdid = 0xFE; in issue_scb_block()
1197 mbox64->xfer_segment_lo = mbox->m_out.xferaddr; in issue_scb_block()
1199 mbox->m_out.xferaddr = 0xFFFFFFFF; in issue_scb_block()
1510 int logdrv = mbox->m_out.logdrv; in mega_cmd_done()
1578 if( mbox->m_out.cmd == MEGA_MBOXCMD_PASSTHRU || in mega_cmd_done()
1579 mbox->m_out.cmd == MEGA_MBOXCMD_PASSTHRU64 ) { in mega_cmd_done()
1587 if (mbox->m_out.cmd == MEGA_MBOXCMD_EXTPTHRU) { in mega_cmd_done()
2151 seq_printf(m, " Fw Command = 0x%02x\n", mbox->m_out.cmd); in proc_show_mbox()
2152 seq_printf(m, " Cmd Sequence = 0x%02x\n", mbox->m_out.cmdid); in proc_show_mbox()
2153 seq_printf(m, " No of Sectors= %04d\n", mbox->m_out.numsectors); in proc_show_mbox()
2154 seq_printf(m, " LBA = 0x%02x\n", mbox->m_out.lba); in proc_show_mbox()
2155 seq_printf(m, " DTA = 0x%08x\n", mbox->m_out.xferaddr); in proc_show_mbox()
2156 seq_printf(m, " Logical Drive= 0x%02x\n", mbox->m_out.logdrv); in proc_show_mbox()
2157 seq_printf(m, " No of SG Elmt= 0x%02x\n", mbox->m_out.numsgelements); in proc_show_mbox()
4490 memset(&mbox->m_out, 0, sizeof(raw_mbox)); in __megaraid_shutdown()
4499 memset(&mbox->m_out, 0, sizeof(raw_mbox)); in __megaraid_shutdown()