Lines Matching refs:raw_mbox
200 u8 *raw_mbox = (u8 *)&mbox;
217 raw_mbox[0] = FC_NEW_CONFIG; /* i.e. mbox->cmd=0xA1 */
218 raw_mbox[2] = NC_SUBOP_ENQUIRY3; /* i.e. 0x0F */
219 raw_mbox[3] = ENQ3_GET_SOLICITED_FULL; /* i.e. 0x02 */
222 if ((retval = issue_scb_block(adapter, raw_mbox))) {
242 issue_scb_block(adapter, raw_mbox);
269 raw_mbox[0] = FC_NEW_CONFIG; /* i.e. mbox->cmd=0xA1 */
270 raw_mbox[2] = NC_SUBOP_PRODUCT_INFO; /* i.e. 0x0E */
272 if ((retval = issue_scb_block(adapter, raw_mbox)))
647 scb->raw_mbox[0] = MEGA_CLUSTER_CMD;
648 scb->raw_mbox[2] = MEGA_RESERVATION_STATUS;
649 scb->raw_mbox[3] = ldrv_num;
696 mbox = (mbox_t *)scb->raw_mbox;
697 memset(mbox, 0, sizeof(scb->raw_mbox));
736 mbox = (mbox_t *)scb->raw_mbox;
738 memset(mbox, 0, sizeof(scb->raw_mbox));
877 scb->raw_mbox[0] = MEGA_CLUSTER_CMD;
878 scb->raw_mbox[2] = ( *cmd->cmnd == RESERVE ) ?
881 scb->raw_mbox[3] = ldrv_num;
905 mbox = (mbox_t *)scb->raw_mbox;
906 memset(mbox, 0, sizeof(scb->raw_mbox));
1114 memcpy((char *)&mbox->m_out, (char *)scb->raw_mbox,
1172 * @raw_mbox: the mailbox
1177 issue_scb_block(adapter_t *adapter, u_char *raw_mbox)
1188 memcpy((char *) mbox, raw_mbox, sizeof(struct mbox_out));
1192 switch (raw_mbox[0]) {
1505 mbox = (mbox_t *)scb->raw_mbox;
3569 unsigned char *raw_mbox = (u8 *)&mbox;
3577 raw_mbox[0] = IS_BIOS_ENABLED;
3578 raw_mbox[2] = GET_BIOS;
3580 issue_scb_block(adapter, raw_mbox);
3598 unsigned char *raw_mbox = (u8 *)&mbox;
3606 raw_mbox[0] = CHNL_CLASS;
3607 raw_mbox[2] = GET_CHNL_CLASS;
3619 if(!issue_scb_block(adapter, raw_mbox)) {
3651 unsigned char *raw_mbox = (u8 *)&mbox;
3659 raw_mbox[0] = BIOS_PVT_DATA;
3660 raw_mbox[2] = GET_BIOS_PVT_DATA;
3673 if(issue_scb_block(adapter, raw_mbox) == 0) {
3715 unsigned char *raw_mbox = (u8 *)&mbox;
3723 raw_mbox[0] = FC_DEL_LOGDRV;
3724 raw_mbox[2] = OP_SUP_DEL_LOGDRV;
3726 rval = issue_scb_block(adapter, raw_mbox);
3742 unsigned char *raw_mbox = (u8 *)&mbox;
3749 raw_mbox[0] = 0xA4;
3750 raw_mbox[2] = 0x16;
3752 rval = issue_scb_block(adapter, raw_mbox);
3855 unsigned char *raw_mbox = (u8 *)&mbox;
3863 raw_mbox[0] = MAIN_MISC_OPCODE;
3864 raw_mbox[2] = GET_MAX_SG_SUPPORT;
3867 if( issue_scb_block(adapter, raw_mbox) ) {
3898 unsigned char *raw_mbox = (u8 *)&mbox;
3910 raw_mbox[0] = MEGA_GET_TARGET_ID;
3912 if( issue_scb_block(adapter, raw_mbox) == 0 ) {
4067 memcpy(scb->raw_mbox, mc, sizeof(megacmd_t));
4485 u_char raw_mbox[sizeof(struct mbox_out)];
4486 mbox_t *mbox = (mbox_t *)raw_mbox;
4490 memset(&mbox->m_out, 0, sizeof(raw_mbox));
4491 raw_mbox[0] = FLUSH_ADAPTER;
4496 issue_scb_block(adapter, raw_mbox);
4499 memset(&mbox->m_out, 0, sizeof(raw_mbox));
4500 raw_mbox[0] = FLUSH_SYSTEM;
4503 issue_scb_block(adapter, raw_mbox);