Lines Matching refs:m_out
202 memset(&mbox->m_out, 0, sizeof(raw_mbox)); in mega_query_adapter()
209 mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; in mega_query_adapter()
232 mbox->m_out.xferaddr = (u32)dma_handle; in mega_query_adapter()
235 mbox->m_out.cmd = MEGA_MBOXCMD_ADPEXTINQ; in mega_query_adapter()
260 mbox->m_out.xferaddr = prod_info_dma_handle; in mega_query_adapter()
707 mbox->m_out.cmd = MEGA_MBOXCMD_PASSTHRU64; in mega_build_cmd()
710 mbox->m_out.cmd = MEGA_MBOXCMD_PASSTHRU; in mega_build_cmd()
718 mbox->m_out.xferaddr = scb->pthru_dma_addr; in mega_build_cmd()
737 mbox->m_out.logdrv = ldrv_num; in mega_build_cmd()
744 mbox->m_out.cmd = (*cmd->cmnd & 0x02) ? in mega_build_cmd()
749 mbox->m_out.cmd = (*cmd->cmnd & 0x02) ? in mega_build_cmd()
758 mbox->m_out.numsectors = (u32) cmd->cmnd[4]; in mega_build_cmd()
759 mbox->m_out.lba = in mega_build_cmd()
764 mbox->m_out.lba &= 0x1FFFFF; in mega_build_cmd()
775 mbox->m_out.numsectors; in mega_build_cmd()
779 mbox->m_out.numsectors; in mega_build_cmd()
788 mbox->m_out.numsectors = in mega_build_cmd()
791 mbox->m_out.lba = in mega_build_cmd()
801 mbox->m_out.numsectors; in mega_build_cmd()
805 mbox->m_out.numsectors; in mega_build_cmd()
814 mbox->m_out.lba = in mega_build_cmd()
820 mbox->m_out.numsectors = in mega_build_cmd()
830 mbox->m_out.numsectors; in mega_build_cmd()
834 mbox->m_out.numsectors; in mega_build_cmd()
850 mbox->m_out.numsgelements = mega_build_sglist(adapter, scb, in mega_build_cmd()
851 (u32 *)&mbox->m_out.xferaddr, &seg); in mega_build_cmd()
911 mbox->m_out.cmd = MEGA_MBOXCMD_EXTPTHRU; in mega_build_cmd()
913 mbox->m_out.xferaddr = scb->epthru_dma_addr; in mega_build_cmd()
923 mbox->m_out.cmd = MEGA_MBOXCMD_PASSTHRU64; in mega_build_cmd()
926 mbox->m_out.cmd = MEGA_MBOXCMD_PASSTHRU; in mega_build_cmd()
929 mbox->m_out.xferaddr = scb->pthru_dma_addr; in mega_build_cmd()
1112 memcpy((char *)&mbox->m_out, (char *)scb->raw_mbox, in issue_scb()
1115 mbox->m_out.cmdid = scb->idx; /* Set cmdid */ in issue_scb()
1124 switch (mbox->m_out.cmd) { in issue_scb()
1129 mbox64->xfer_segment_lo = mbox->m_out.xferaddr; in issue_scb()
1131 mbox->m_out.xferaddr = 0xFFFFFFFF; in issue_scb()
1187 mbox->m_out.cmdid = 0xFE; in issue_scb_block()
1195 mbox64->xfer_segment_lo = mbox->m_out.xferaddr; in issue_scb_block()
1197 mbox->m_out.xferaddr = 0xFFFFFFFF; in issue_scb_block()
1508 int logdrv = mbox->m_out.logdrv; in mega_cmd_done()
1576 if( mbox->m_out.cmd == MEGA_MBOXCMD_PASSTHRU || in mega_cmd_done()
1577 mbox->m_out.cmd == MEGA_MBOXCMD_PASSTHRU64 ) { in mega_cmd_done()
1587 if (mbox->m_out.cmd == MEGA_MBOXCMD_EXTPTHRU) { in mega_cmd_done()
2159 seq_printf(m, " Fw Command = 0x%02x\n", mbox->m_out.cmd); in proc_show_mbox()
2160 seq_printf(m, " Cmd Sequence = 0x%02x\n", mbox->m_out.cmdid); in proc_show_mbox()
2161 seq_printf(m, " No of Sectors= %04d\n", mbox->m_out.numsectors); in proc_show_mbox()
2162 seq_printf(m, " LBA = 0x%02x\n", mbox->m_out.lba); in proc_show_mbox()
2163 seq_printf(m, " DTA = 0x%08x\n", mbox->m_out.xferaddr); in proc_show_mbox()
2164 seq_printf(m, " Logical Drive= 0x%02x\n", mbox->m_out.logdrv); in proc_show_mbox()
2165 seq_printf(m, " No of SG Elmt= 0x%02x\n", mbox->m_out.numsgelements); in proc_show_mbox()
3590 memset(&mbox->m_out, 0, sizeof(raw_mbox)); in mega_is_bios_enabled()
3594 mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; in mega_is_bios_enabled()
3623 memset(&mbox->m_out, 0, sizeof(raw_mbox)); in mega_enum_raid_scsi()
3633 mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; in mega_enum_raid_scsi()
3681 memset(&mbox->m_out, 0, sizeof(raw_mbox)); in mega_get_boot_drv()
3688 mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; in mega_get_boot_drv()
3744 memset(&mbox->m_out, 0, sizeof(raw_mbox)); in mega_support_random_del()
3773 memset(&mbox->m_out, 0, sizeof(raw_mbox)); in mega_support_ext_cdb()
3891 mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; in mega_get_max_sgl()
3936 mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle; in mega_support_cluster()
4518 memset(&mbox->m_out, 0, sizeof(raw_mbox)); in __megaraid_shutdown()
4527 memset(&mbox->m_out, 0, sizeof(raw_mbox)); in __megaraid_shutdown()