• Home
  • Raw
  • Download

Lines Matching refs:msg

54 	struct i2o_message *msg;	/* pointer to the reply message */  member
122 int i2o_msg_post_wait_mem(struct i2o_controller *c, struct i2o_message *msg, in i2o_msg_post_wait_mem() argument
133 i2o_msg_nop(c, msg); in i2o_msg_post_wait_mem()
148 msg->u.s.icntxt = cpu_to_le32(i2o_exec_driver.context); in i2o_msg_post_wait_mem()
150 msg->u.s.tcntxt = cpu_to_le32(wait->tcntxt); in i2o_msg_post_wait_mem()
163 i2o_msg_post(c, msg); in i2o_msg_post_wait_mem()
172 rc = le32_to_cpu(wait->msg->body[0]) >> 24; in i2o_msg_post_wait_mem()
217 struct i2o_message *msg, u32 context) in i2o_msg_post_wait_complete() argument
237 wait->msg = msg; in i2o_msg_post_wait_complete()
385 struct i2o_message *msg; in i2o_exec_lct_notify() local
395 msg = i2o_msg_get_wait(c, I2O_TIMEOUT_MESSAGE_GET); in i2o_exec_lct_notify()
396 if (IS_ERR(msg)) in i2o_exec_lct_notify()
397 return PTR_ERR(msg); in i2o_exec_lct_notify()
399 msg->u.head[0] = cpu_to_le32(EIGHT_WORD_MSG_SIZE | SGL_OFFSET_6); in i2o_exec_lct_notify()
400 msg->u.head[1] = cpu_to_le32(I2O_CMD_LCT_NOTIFY << 24 | HOST_TID << 12 | in i2o_exec_lct_notify()
402 msg->u.s.icntxt = cpu_to_le32(i2o_exec_driver.context); in i2o_exec_lct_notify()
403 msg->u.s.tcntxt = cpu_to_le32(0x00000000); in i2o_exec_lct_notify()
404 msg->body[0] = cpu_to_le32(0xffffffff); in i2o_exec_lct_notify()
405 msg->body[1] = cpu_to_le32(change_ind); in i2o_exec_lct_notify()
406 msg->body[2] = cpu_to_le32(0xd0000000 | c->dlct.len); in i2o_exec_lct_notify()
407 msg->body[3] = cpu_to_le32(c->dlct.phys); in i2o_exec_lct_notify()
409 i2o_msg_post(c, msg); in i2o_exec_lct_notify()
457 struct i2o_message *msg) in i2o_exec_reply() argument
461 if (le32_to_cpu(msg->u.head[0]) & MSG_FAIL) { in i2o_exec_reply()
470 pm = le32_to_cpu(msg->body[3]); in i2o_exec_reply()
474 i2o_report_status(KERN_INFO, "i2o_core", msg); in i2o_exec_reply()
479 context = le32_to_cpu(msg->u.s.tcntxt); in i2o_exec_reply()
482 return i2o_msg_post_wait_complete(c, m, msg, context); in i2o_exec_reply()
484 if ((le32_to_cpu(msg->u.head[1]) >> 24) == I2O_CMD_LCT_NOTIFY) { in i2o_exec_reply()
508 i2o_dump_message(msg); in i2o_exec_reply()
542 struct i2o_message *msg; in i2o_exec_lct_get() local
547 msg = i2o_msg_get_wait(c, I2O_TIMEOUT_MESSAGE_GET); in i2o_exec_lct_get()
548 if (IS_ERR(msg)) in i2o_exec_lct_get()
549 return PTR_ERR(msg); in i2o_exec_lct_get()
551 msg->u.head[0] = in i2o_exec_lct_get()
553 msg->u.head[1] = in i2o_exec_lct_get()
556 msg->body[0] = cpu_to_le32(0xffffffff); in i2o_exec_lct_get()
557 msg->body[1] = cpu_to_le32(0x00000000); in i2o_exec_lct_get()
558 msg->body[2] = cpu_to_le32(0xd0000000 | c->dlct.len); in i2o_exec_lct_get()
559 msg->body[3] = cpu_to_le32(c->dlct.phys); in i2o_exec_lct_get()
561 rc = i2o_msg_post_wait(c, msg, I2O_TIMEOUT_LCT_GET); in i2o_exec_lct_get()