m_in 1102 drivers/scsi/megaraid.c if(unlikely(mbox->m_in.busy)) { m_in 1106 drivers/scsi/megaraid.c } while( mbox->m_in.busy && (i < max_mbox_busy_wait) ); m_in 1108 drivers/scsi/megaraid.c if(mbox->m_in.busy) return -1; m_in 1116 drivers/scsi/megaraid.c mbox->m_in.busy = 1; /* Set busy */ m_in 1144 drivers/scsi/megaraid.c mbox->m_in.poll = 0; m_in 1145 drivers/scsi/megaraid.c mbox->m_in.ack = 0; m_in 1162 drivers/scsi/megaraid.c if (adapter->mbox->m_in.busy) m_in 1188 drivers/scsi/megaraid.c mbox->m_in.busy = 1; m_in 1205 drivers/scsi/megaraid.c mbox->m_in.poll = 0; m_in 1206 drivers/scsi/megaraid.c mbox->m_in.ack = 0; m_in 1207 drivers/scsi/megaraid.c mbox->m_in.numstatus = 0xFF; m_in 1208 drivers/scsi/megaraid.c mbox->m_in.status = 0xFF; m_in 1211 drivers/scsi/megaraid.c while((volatile u8)mbox->m_in.numstatus == 0xFF) m_in 1214 drivers/scsi/megaraid.c mbox->m_in.numstatus = 0xFF; m_in 1216 drivers/scsi/megaraid.c while( (volatile u8)mbox->m_in.poll != 0x77 ) m_in 1219 drivers/scsi/megaraid.c mbox->m_in.poll = 0; m_in 1220 drivers/scsi/megaraid.c mbox->m_in.ack = 0x77; m_in 1239 drivers/scsi/megaraid.c return mbox->m_in.status; m_in 1285 drivers/scsi/megaraid.c while((nstatus = (volatile u8)adapter->mbox->m_in.numstatus) m_in 1288 drivers/scsi/megaraid.c adapter->mbox->m_in.numstatus = 0xFF; m_in 1290 drivers/scsi/megaraid.c status = adapter->mbox->m_in.status; m_in 1297 drivers/scsi/megaraid.c memcpy(completed, (void *)adapter->mbox->m_in.completed, m_in 1361 drivers/scsi/megaraid.c while((nstatus = (volatile u8)adapter->mbox->m_in.numstatus) m_in 1365 drivers/scsi/megaraid.c adapter->mbox->m_in.numstatus = 0xFF; m_in 1367 drivers/scsi/megaraid.c status = adapter->mbox->m_in.status; m_in 1374 drivers/scsi/megaraid.c memcpy(completed, (void *)adapter->mbox->m_in.completed, m_in 1705 drivers/scsi/megaraid.c if (!mbox->m_in.busy) m_in 2166 drivers/scsi/megaraid.c seq_printf(m, " Busy = %01x\n", mbox->m_in.busy); m_in 2167 drivers/scsi/megaraid.c seq_printf(m, " Status = 0x%02x\n", mbox->m_in.status); m_in 111 drivers/scsi/megaraid.h struct mbox_in m_in;