Lines Matching refs:msg

182     struct i2o_bsa_cache_flush_message *msg;
186 msg = (struct i2o_bsa_cache_flush_message *)(psc->iop->ibase + mfa);
187 bzero(msg, sizeof(struct i2o_bsa_cache_flush_message));
188 msg->version_offset = 0x01;
189 msg->message_flags = 0x0;
190 msg->message_size = sizeof(struct i2o_bsa_cache_flush_message) >> 2;
191 msg->target_address = psc->lct->local_tid;
192 msg->initiator_address = I2O_TID_HOST;
193 msg->function = I2O_BSA_CACHE_FLUSH;
194 msg->control_flags = 0x0; /* 0x80 = post progress reports */
195 if (iop_queue_wait_msg(psc->iop, mfa, (struct i2o_basic_message *)msg))
264 struct i2o_bsa_rw_block_message *msg;
267 msg = (struct i2o_bsa_rw_block_message *)
269 bzero(msg, sizeof(struct i2o_bsa_rw_block_message));
270 msg->version_offset = 0x81;
271 msg->message_flags = 0x0;
272 msg->message_size = sizeof(struct i2o_bsa_rw_block_message) >> 2;
273 msg->target_address = request->psc->lct->local_tid;
274 msg->initiator_address = I2O_TID_HOST;
277 msg->function = I2O_BSA_BLOCK_READ;
278 msg->control_flags = 0x0; /* 0x0c = read cache + readahead */
279 msg->fetch_ahead = 0x0; /* 8 Kb */
283 msg->function = I2O_BSA_BLOCK_WRITE;
284 msg->control_flags = 0x0; /* 0x10 = write behind cache */
285 msg->fetch_ahead = 0x0;
292 msg->initiator_context = (u_int32_t)pst_done;
293 msg->transaction_context = (u_int32_t)request;
294 msg->time_multiplier = 1;
295 msg->bytecount = request->bp->bio_bcount;
296 msg->lba = ((u_int64_t)request->bp->bio_pblkno) * (DEV_BSIZE * 1LL);
298 if (!iop_create_sgl((struct i2o_basic_message *)msg, request->bp->bio_data,