Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 8 of 8) sorted by relevance

/arch/um/drivers/
Dmconsole_user.c40 static int mconsole_reply_v0(struct mc_request *req, char *reply) in mconsole_reply_v0() argument
45 iov.iov_base = reply; in mconsole_reply_v0()
46 iov.iov_len = strlen(reply); in mconsole_reply_v0()
134 struct mconsole_reply reply; in mconsole_reply_len() local
138 reply.err = err; in mconsole_reply_len()
145 if (len == total) reply.more = more; in mconsole_reply_len()
146 else reply.more = 1; in mconsole_reply_len()
148 memcpy(reply.data, str, len); in mconsole_reply_len()
149 reply.data[len] = '\0'; in mconsole_reply_len()
152 reply.len = len + 1; in mconsole_reply_len()
[all …]
Dvirtio_uml.c336 struct vhost_user_msg reply = { in vhost_user_reply() local
339 size_t size = sizeof(reply.header) + sizeof(reply.payload.integer); in vhost_user_reply()
342 reply.header = msg->header; in vhost_user_reply()
343 reply.header.flags &= ~VHOST_USER_FLAG_NEED_REPLY; in vhost_user_reply()
344 reply.header.flags |= VHOST_USER_FLAG_REPLY; in vhost_user_reply()
345 reply.header.size = sizeof(reply.payload.integer); in vhost_user_reply()
347 rc = full_sendmsg_fds(vu_dev->req_fd, &reply, size, NULL, 0); in vhost_user_reply()
Dmconsole.h72 extern int mconsole_reply_len(struct mc_request *req, const char *reply,
/arch/m68k/mac/
Diop.c351 msg->iop_num, msg->channel, IOP_MSG_LEN, msg->reply); in iop_complete_message()
356 iop_writeb(iop_base[iop_num], offset, msg->reply[i]); in iop_complete_message()
407 msg->reply[i] = iop_readb(iop, offset); in iop_handle_send()
410 iop_num, chan, IOP_MSG_LEN, msg->reply); in iop_handle_send()
453 memset(msg->reply, 0, IOP_MSG_LEN); in iop_handle_recv()
Dmisc.c50 return req.reply[3]; in cuda_pram_read_byte()
75 return req.reply[0]; in pmu_pram_read_byte()
/arch/m68k/include/asm/
Dmac_iop.h146 __u8 reply[IOP_MSG_LEN]; /* the reply to the message */ member
/arch/powerpc/platforms/powermac/
Dlow_i2c.c718 req->reply[0] = 0xff; in pmu_i2c_xfer()
730 if (req->reply[0] == PMU_I2C_STATUS_OK) in pmu_i2c_xfer()
734 if (req->reply[0] != PMU_I2C_STATUS_OK) in pmu_i2c_xfer()
749 req->reply[0] = 0xff; in pmu_i2c_xfer()
758 if (req->reply[0] == PMU_I2C_STATUS_OK && !read) in pmu_i2c_xfer()
760 if (req->reply[0] == PMU_I2C_STATUS_DATAREAD && read) { in pmu_i2c_xfer()
769 memcpy(data, &req->reply[1], len); in pmu_i2c_xfer()
Dnvram.c207 return req.reply[0]; in pmu_nvram_read_byte()