Lines Matching defs:raw_mbox
195 u8 raw_mbox[sizeof(struct mbox_out)];
201 mbox = (mbox_t *)raw_mbox;
204 memset(&mbox->m_out, 0, sizeof(raw_mbox));
215 raw_mbox[0] = FC_NEW_CONFIG; /* i.e. mbox->cmd=0xA1 */
216 raw_mbox[2] = NC_SUBOP_ENQUIRY3; /* i.e. 0x0F */
217 raw_mbox[3] = ENQ3_GET_SOLICITED_FULL; /* i.e. 0x02 */
220 if ((retval = issue_scb_block(adapter, raw_mbox))) {
239 issue_scb_block(adapter, raw_mbox);
264 raw_mbox[0] = FC_NEW_CONFIG; /* i.e. mbox->cmd=0xA1 */
265 raw_mbox[2] = NC_SUBOP_PRODUCT_INFO; /* i.e. 0x0E */
267 if ((retval = issue_scb_block(adapter, raw_mbox)))
648 scb->raw_mbox[0] = MEGA_CLUSTER_CMD;
649 scb->raw_mbox[2] = MEGA_RESERVATION_STATUS;
650 scb->raw_mbox[3] = ldrv_num;
697 mbox = (mbox_t *)scb->raw_mbox;
698 memset(mbox, 0, sizeof(scb->raw_mbox));
737 mbox = (mbox_t *)scb->raw_mbox;
739 memset(mbox, 0, sizeof(scb->raw_mbox));
878 scb->raw_mbox[0] = MEGA_CLUSTER_CMD;
879 scb->raw_mbox[2] = ( *cmd->cmnd == RESERVE ) ?
882 scb->raw_mbox[3] = ldrv_num;
906 mbox = (mbox_t *)scb->raw_mbox;
907 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]) {
1438 mbox = (mbox_t *)scb->raw_mbox;
1503 mbox = (mbox_t *)scb->raw_mbox;
3910 unsigned char raw_mbox[sizeof(struct mbox_out)];
3914 mbox = (mbox_t *)raw_mbox;
3916 memset(&mbox->m_out, 0, sizeof(raw_mbox));
3922 raw_mbox[0] = IS_BIOS_ENABLED;
3923 raw_mbox[2] = GET_BIOS;
3926 ret = issue_scb_block(adapter, raw_mbox);
3943 unsigned char raw_mbox[sizeof(struct mbox_out)];
3947 mbox = (mbox_t *)raw_mbox;
3949 memset(&mbox->m_out, 0, sizeof(raw_mbox));
3954 raw_mbox[0] = CHNL_CLASS;
3955 raw_mbox[2] = GET_CHNL_CLASS;
3967 if(!issue_scb_block(adapter, raw_mbox)) {
3998 unsigned char raw_mbox[sizeof(struct mbox_out)];
4005 mbox = (mbox_t *)raw_mbox;
4007 memset(&mbox->m_out, 0, sizeof(raw_mbox));
4009 raw_mbox[0] = BIOS_PVT_DATA;
4010 raw_mbox[2] = GET_BIOS_PVT_DATA;
4023 if(issue_scb_block(adapter, raw_mbox) == 0) {
4064 unsigned char raw_mbox[sizeof(struct mbox_out)];
4068 mbox = (mbox_t *)raw_mbox;
4070 memset(&mbox->m_out, 0, sizeof(raw_mbox));
4075 raw_mbox[0] = FC_DEL_LOGDRV;
4076 raw_mbox[2] = OP_SUP_DEL_LOGDRV;
4078 rval = issue_scb_block(adapter, raw_mbox);
4093 unsigned char raw_mbox[sizeof(struct mbox_out)];
4097 mbox = (mbox_t *)raw_mbox;
4099 memset(&mbox->m_out, 0, sizeof(raw_mbox));
4103 raw_mbox[0] = 0xA4;
4104 raw_mbox[2] = 0x16;
4106 rval = issue_scb_block(adapter, raw_mbox);
4208 unsigned char raw_mbox[sizeof(struct mbox_out)];
4211 mbox = (mbox_t *)raw_mbox;
4213 memset(mbox, 0, sizeof(raw_mbox));
4219 raw_mbox[0] = MAIN_MISC_OPCODE;
4220 raw_mbox[2] = GET_MAX_SG_SUPPORT;
4223 if( issue_scb_block(adapter, raw_mbox) ) {
4253 unsigned char raw_mbox[sizeof(struct mbox_out)];
4256 mbox = (mbox_t *)raw_mbox;
4258 memset(mbox, 0, sizeof(raw_mbox));
4268 raw_mbox[0] = MEGA_GET_TARGET_ID;
4270 if( issue_scb_block(adapter, raw_mbox) == 0 ) {
4441 memcpy(scb->raw_mbox, mc, sizeof(megacmd_t));
4876 u_char raw_mbox[sizeof(struct mbox_out)];
4877 mbox_t *mbox = (mbox_t *)raw_mbox;
4881 memset(&mbox->m_out, 0, sizeof(raw_mbox));
4882 raw_mbox[0] = FLUSH_ADAPTER;
4887 issue_scb_block(adapter, raw_mbox);
4890 memset(&mbox->m_out, 0, sizeof(raw_mbox));
4891 raw_mbox[0] = FLUSH_SYSTEM;
4894 issue_scb_block(adapter, raw_mbox);