Lines Matching refs:reply

52     struct i2o_single_reply *reply;  member
121 struct i2o_get_param_reply *reply; in iop_attach() local
130 if ((reply = iop_get_util_params(sc, sc->lct[i].local_tid, in iop_attach()
134 (struct i2o_device_identity *)reply->result; in iop_attach()
139 contigfree(reply, PAGE_SIZE, M_PSTIOP); in iop_attach()
169 struct i2o_single_reply *reply; in iop_intr() local
179 reply = (struct i2o_single_reply *)(sc->obase + (mfa - sc->phys_obase)); in iop_intr()
182 if (reply->function == I2O_UTIL_EVENT_REGISTER) { in iop_intr()
184 (struct i2o_util_event_reply_message *)reply; in iop_intr()
192 if (reply->message_flags & I2O_MESSAGE_FLAGS_FAIL) in iop_intr()
193 iop_free_mfa(sc,((struct i2o_fault_reply *)(reply))->preserved_mfa); in iop_intr()
197 (reply->initiator_context))(sc, mfa, reply); in iop_intr()
207 volatile u_int32_t reply = 0; in iop_reset() local
218 msg->status_word_low_addr = vtophys(&reply); in iop_reset()
223 while (--timeout && !reply) in iop_reset()
232 return reply; in iop_reset()
240 volatile u_int32_t reply = 0; in iop_init_outqueue() local
264 msg->sgl[0].count = sizeof(reply); in iop_init_outqueue()
265 msg->sgl[0].phys_addr[0] = vtophys(&reply); in iop_init_outqueue()
273 while (--timeout && reply != I2O_EXEC_OUTBOUND_INIT_COMPLETE) in iop_init_outqueue()
295 struct i2o_get_lct_reply *reply; in iop_get_lct() local
299 if (!(reply = contigmalloc(ALLOCSIZE, M_PSTIOP, M_NOWAIT | M_ZERO, in iop_get_lct()
317 msg->sgl.phys_addr[0] = vtophys(reply); in iop_get_lct()
320 contigfree(reply, ALLOCSIZE, M_PSTIOP); in iop_get_lct()
323 if (!(sc->lct = malloc(reply->table_size * sizeof(struct i2o_lct_entry), in iop_get_lct()
325 contigfree(reply, ALLOCSIZE, M_PSTIOP); in iop_get_lct()
328 bcopy(&reply->entry[0], sc->lct, in iop_get_lct()
329 reply->table_size * sizeof(struct i2o_lct_entry)); in iop_get_lct()
330 sc->lct_count = reply->table_size; in iop_get_lct()
331 contigfree(reply, ALLOCSIZE, M_PSTIOP); in iop_get_lct()
340 struct i2o_get_param_reply *reply; in iop_get_util_params() local
347 if (!(reply = contigmalloc(PAGE_SIZE, M_PSTIOP, M_NOWAIT | M_ZERO, in iop_get_util_params()
373 msg->sgl[1].phys_addr[0] = vtophys(reply); in iop_get_util_params()
376 reply->error_info_size) { in iop_get_util_params()
377 contigfree(reply, PAGE_SIZE, M_PSTIOP); in iop_get_util_params()
378 reply = NULL; in iop_get_util_params()
381 return reply; in iop_get_util_params()
415 iop_done(struct iop_softc *sc, u_int32_t mfa, struct i2o_single_reply *reply) in iop_done() argument
418 (struct iop_request *)reply->transaction_context; in iop_done()
420 request->reply = reply; in iop_done()
428 struct i2o_single_reply *reply; in iop_queue_wait_msg() local
444 status = request.reply->status; in iop_queue_wait_msg()
457 reply = (struct i2o_single_reply *)(sc->obase+(out_mfa-sc->phys_obase)); in iop_queue_wait_msg()
458 status = reply->status; in iop_queue_wait_msg()